Package apple.uikit

Class UILayoutGuide

    • Constructor Detail

      • UILayoutGuide

        protected UILayoutGuide​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static UILayoutGuide allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(@NotNull
                                                                   @NotNull java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(@NotNull
                                                                   @NotNull java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(@NotNull
                                                                                 @NotNull java.lang.Object aTarget,
                                                                                 @NotNull
                                                                                 @NotNull org.moe.natj.objc.SEL aSelector,
                                                                                 @Nullable
                                                                                 @Nullable java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        @NotNull
        public static @NotNull NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        @NotNull
        public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • description_static

        public static java.lang.String description_static()
      • hash_static

        public static long hash_static()
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
      • keyPathsForValuesAffectingValueForKey

        @NotNull
        public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(@NotNull
                                                                                             @NotNull java.lang.String key)
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • version_static

        public static long version_static()
      • constraintsAffectingLayoutForAxis

        @NotNull
        public @NotNull NSArray<? extends NSLayoutConstraint> constraintsAffectingLayoutForAxis​(long axis)
        This returns a list of all the constraints that are affecting the current location of the receiver. The constraints do not necessarily involve the receiver, they may affect the frame indirectly. Pass UILayoutConstraintAxisHorizontal for the constraints affecting [self center].x and CGRectGetWidth([self bounds]), and UILayoutConstraintAxisVertical for the constraints affecting[self center].y and CGRectGetHeight([self bounds]). API-Since: 10.0
      • hasAmbiguousLayout

        public boolean hasAmbiguousLayout()
        If there aren't enough constraints in the system to uniquely determine layout, we say the layout is ambiguous. For example, if the only constraint in the system was x = y + 100, then there are lots of different possible values for x and y. This situation is not automatically detected by UIKit, due to performance considerations and details of the algorithm used for layout. The symptom of ambiguity is that views sometimes jump from place to place, or possibly are just in the wrong place. -hasAmbiguousLayout runs a check for whether there is another center and bounds the receiver could have that could also satisfy the constraints. API-Since: 10.0
      • identifier

        @NotNull
        public @NotNull java.lang.String identifier()
        For ease of debugging. 'UI' prefix is reserved for UIKit-created layout guides.
      • layoutFrame

        public CGRect layoutFrame()
        The frame of the UILayoutGuide in its owningView's coordinate system. Valid by the time the owningView receives -layoutSubviews.
      • leadingAnchor

        @NotNull
        public @NotNull NSLayoutXAxisAnchor leadingAnchor()
        Constraint creation conveniences. See NSLayoutAnchor.h for details.
      • owningView

        @Nullable
        public @Nullable UIView owningView()
        The guide must be added to a view with -[UIView addLayoutGuide:] before being used in a constraint. Do not use this property directly to change the owningView of a layout guide. Instead, use -[UIView addLayoutGuide:] and -[UIView removeLayoutGuide:], which will use this property to change the owningView.
      • setIdentifier

        public void setIdentifier​(@NotNull
                                  @NotNull java.lang.String value)
        For ease of debugging. 'UI' prefix is reserved for UIKit-created layout guides.
      • setOwningView_unsafe

        public void setOwningView_unsafe​(@Nullable
                                         @Nullable UIView value)
        The guide must be added to a view with -[UIView addLayoutGuide:] before being used in a constraint. Do not use this property directly to change the owningView of a layout guide. Instead, use -[UIView addLayoutGuide:] and -[UIView removeLayoutGuide:], which will use this property to change the owningView.
      • setOwningView

        public void setOwningView​(@Nullable
                                  @Nullable UIView value)
        The guide must be added to a view with -[UIView addLayoutGuide:] before being used in a constraint. Do not use this property directly to change the owningView of a layout guide. Instead, use -[UIView addLayoutGuide:] and -[UIView removeLayoutGuide:], which will use this property to change the owningView.
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.