PTAnnotationSortMode
@interface PTAnnotationSortMode : NSObject
- (instancetype)init NS_DESIGNATED_INITIALIZER;
- (instancetype)initWithTitle:(nullable NSString *)title sortDescriptors:(nullable NSArray<NSSortDescriptor *> *)sortDescriptors identifier:(nullable NSString *)identifier ascending:(BOOL)ascending NS_DESIGNATED_INITIALIZER;
- (instancetype)initWithTitle:(nullable NSString *)title identifier:(nullable NSString *)identifier;
+ (instancetype)sortModeWithTitle:(nullable NSString *)title sortDescriptors:(nullable NSArray<NSSortDescriptor *> *)sortDescriptors identifier:(nullable NSString *)identifier ascending:(BOOL)ascending;
+ (instancetype)sortModeWithTitle:(nullable NSString *)title identifier:(nullable NSString *)identifier;
@property (nonatomic, copy, nullable) NSString *title;
@property (nonatomic, copy, nullable) NSArray<NSSortDescriptor *> *sortDescriptors;
@property (nonatomic, copy, nullable) NSString *sectionNameKeyPath;
@property (nonatomic, assign, getter=isAscending) BOOL ascending;
@property (nonatomic, copy, nullable) NSString *identifier;
- (BOOL)isEqualToSortMode:(PTAnnotationSortMode *)sortMode;
@end
Undocumented
-
Undocumented
Declaration
Objective-C
- (instancetype)init NS_DESIGNATED_INITIALIZER;
Swift
init()
-
Undocumented
Declaration
Objective-C
- (instancetype)initWithTitle:(nullable NSString *)title sortDescriptors:(nullable NSArray<NSSortDescriptor *> *)sortDescriptors identifier:(nullable NSString *)identifier ascending:(BOOL)ascending NS_DESIGNATED_INITIALIZER;
Swift
init(title: String?, sortDescriptors: [NSSortDescriptor]?, identifier: String?, ascending: Bool)
-
Undocumented
Declaration
Objective-C
- (instancetype)initWithTitle:(nullable NSString *)title identifier:(nullable NSString *)identifier;
Swift
convenience init(title: String?, identifier: String?)
-
Undocumented
Declaration
Objective-C
+ (instancetype)sortModeWithTitle:(nullable NSString *)title sortDescriptors:(nullable NSArray<NSSortDescriptor *> *)sortDescriptors identifier:(nullable NSString *)identifier ascending:(BOOL)ascending;
-
Undocumented
Declaration
Objective-C
+ (instancetype)sortModeWithTitle:(nullable NSString *)title identifier:(nullable NSString *)identifier;
-
Undocumented
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *title
Swift
var title: String? { get set }
-
Undocumented
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSArray<NSSortDescriptor *> *sortDescriptors
Swift
var sortDescriptors: [NSSortDescriptor]? { get set }
-
Undocumented
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *sectionNameKeyPath
Swift
var sectionNameKeyPath: String? { get set }
-
Undocumented
Declaration
Objective-C
@property (nonatomic, getter=isAscending) BOOL ascending
Swift
var isAscending: Bool { get set }
-
Undocumented
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *identifier
Swift
var identifier: String? { get set }
-
Undocumented
Declaration
Objective-C
- (BOOL)isEqualToSortMode:(PTAnnotationSortMode *)sortMode;
Swift
func isEqual(to sortMode: PTAnnotationSortMode) -> Bool