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 *titleSwift
var title: String? { get set } -
Undocumented
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSArray<NSSortDescriptor *> *sortDescriptorsSwift
var sortDescriptors: [NSSortDescriptor]? { get set } -
Undocumented
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *sectionNameKeyPathSwift
var sectionNameKeyPath: String? { get set } -
Undocumented
Declaration
Objective-C
@property (nonatomic, getter=isAscending) BOOL ascendingSwift
var isAscending: Bool { get set } -
Undocumented
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *identifierSwift
var identifier: String? { get set } -
Undocumented
Declaration
Objective-C
- (BOOL)isEqualToSortMode:(PTAnnotationSortMode *)sortMode;Swift
func isEqual(to sortMode: PTAnnotationSortMode) -> Bool
PTAnnotationSortMode Class Reference