Diffusion Apple API
5.9.24
Unified Client Library for iOS, OS X and tvOS
|
The protocol to which paged string topic details builders conform.
Instance Methods | |
(void) | - order |
(void) | - orderWithDuplicatesPolicy:order:rules: |
Instance Methods inherited from <PTDiffusionPagedTopicDetailsBuilder> | |
(void) | - orderWithComparatorName: |
(void) | - orderWithDuplicatesPolicy:comparatorName: |
(void) | - unordered |
Instance Methods inherited from <PTDiffusionTopicDetailsBuilder> | |
(void) | - setPropertyValue:forKey: |
(BOOL) | - removePropertyForKey: |
(nullable NSString *) | - propertyValueForKey: |
Additional Inherited Members | |
Properties inherited from <PTDiffusionTopicDetailsBuilder> | |
NSString * | reference |
BOOL | tidiesOnUnsubscribe |
NSDictionary< NSString *, NSString * > * | properties |
- (void) order |
Specifies that the topic should be ordered by policy.
The policy would be ascending order with default collation and a duplicates policy of 'not allowed'.
Calling this method replaces any previously declared ordering policy.
- (void) orderWithDuplicatesPolicy: | (PTDiffusionPagedTopicDuplicates *) | duplicatesPolicy | |
order: | (PTDiffusionPagedTopicOrder *) | order | |
rules: | (nullable PTDiffusionPagedTopicRules *) | rules | |
Specifies that the topic should be ordered by policy.
The order and collation rules may be specified.
Calling this method replaces any previously declared ordering policy.
duplicatesPolicy | Specifies the policy to be applied when two lines are determined equal according to the policy. |
order | The order. |
rules | The collation rules to apply. If nil then 'no rules' is assumed. |
NSInvalidArgumentException | if duplicatesPolicy or order are nil . |