Categories
The following categories are available globally.
-
Undocumented
See moreDeclaration
Objective-C
@interface NSObject (KDIExtensions) /** Convenience property to set and get the custom constraints managed by the receiver. Setting this will deactivate the old custom constraints and active the new custom constraints. */ @property (copy,nonatomic,nullable) NSArray<NSLayoutConstraint *> *KDI_customConstraints; @end
-
Undocumented
See moreDeclaration
Objective-C
@interface NSParagraphStyle (KDIExtensions) /** Calls `[self KDI_paragraphStyleWithTextAlignment:]`, passing NSTextAlignmentCenter. @return The paragraph style with center text alignment */ + (NSParagraphStyle *)KDI_paragraphStyleWithCenterTextAlignment; /** Calls `[self KDI_paragraphStyleWithTextAlignment:]`, passing NSTextAlignmentRight. @return The paragraph style with right text alignment */ + (NSParagraphStyle *)KDI_paragraphStyleWithRightTextAlignment; /** Returns a paragraph style with provided text alignment. @param textAlignment The desired text alignment of the paragraph style @return The paragraph style */ + (NSParagraphStyle *)KDI_paragraphStyleWithTextAlignment:(NSTextAlignment)textAlignment; @end
-
Undocumented
See moreDeclaration
Objective-C
@interface NSURL (KDIExtensions) /** Returns the value associated with the NSURLEffectiveIconKey key or nil if no such value exists. @return The associated image */ @property (readonly,nonatomic,nullable) KDIImage *KDI_effectiveIcon; @end