Objective-CclassHealthKit
HKQuerySortConstraint
@interface HKQuerySortConstraint : NSObject <NSCopying, NSSecureCoding>
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- classNSObject
- protocolNSCopying
- protocolNSSecureCoding
Members 20
- method
+ (id)sortConstraintByRelaxingSortConstraint:(id)arg0 error:(id *)arg1; - method
+ (id)sortConstraintWithSortDescriptor:(id)arg0 predicate:(id)arg1; - method
+ (BOOL)supportsSecureCoding; - property
@property(class, readonly) BOOL supportsSecureCoding; - ivar
NSComparisonPredicate *_predicate;+0x10 - ivar
NSSortDescriptor *_sortDescriptor;+0x8 - method
- (void).cxx_destruct; - method
- (BOOL)canRelax; - method
- (id)copyWithZone:(struct _NSZone *)arg0; - method
- (id)description; - method
- (void)encodeWithCoder:(id)arg0; - method
- (unsigned long long)hash; - method
- (id)init; - method
- (id)initWithCoder:(id)arg0; - method
- (id)initWithSortDescriptor:(id)arg0 predicate:(id)arg1; - method
- (BOOL)isEqual:(id)arg0; - method
- (id)predicate; - method
- (id)sortDescriptor; - property
@property(readonly, copy, nonatomic) NSComparisonPredicate *predicate; - property
@property(readonly, copy, nonatomic) NSSortDescriptor *sortDescriptor;
Header
@interface HKQuerySortConstraint : NSObject <NSCopying, NSSecureCoding> { NSSortDescriptor *_sortDescriptor; NSComparisonPredicate *_predicate; } @property (class, readonly) BOOL supportsSecureCoding; @property (nonatomic, copy, readonly) NSSortDescriptor *sortDescriptor; @property (nonatomic, copy, readonly) NSComparisonPredicate *predicate; + (BOOL)supportsSecureCoding; + (id)sortConstraintByRelaxingSortConstraint:(id)relaxingSortConstraint error:(id *)error; + (id)sortConstraintWithSortDescriptor:(id)sortDescriptor predicate:(id)predicate; - (id)description; - (id)copyWithZone:(struct _NSZone *)zone; - (id)predicate; - (BOOL)isEqual:(id)isEqual; - (void).cxx_destruct; - (void)encodeWithCoder:(id)coder; - (id)init; - (unsigned long long)hash; - (id)initWithCoder:(id)coder; - (BOOL)canRelax; - (id)initWithSortDescriptor:(id)sortDescriptor predicate:(id)predicate; - (id)sortDescriptor; @end