Samond Classes Library 1.2.6-STABLE build 219
NSIndexSet+SCIndexSet.h
Go to the documentation of this file.
1 //
2 // NSIndexSet+SCIndexSet.h
3 // scl
4 //
5 // Created by Viacheslav Smolensky on 23.05.17.
6 // Copyright (c) 2007 - 2018 by Samond Development Corporation. All rights reserved.
7 //
8 
24 #import <Foundation/Foundation.h>
25 #import <scl/NSArray+SCArray.h>
26 
27 @class SCStream;
28 
29 #pragma mark -
30 #pragma mark Class Constants
31 
40 #define NSIndexSetClass @"NSIndexSet"
41 
46 #define NSMutableIndexSetClass @"NSMutableIndexSet"
47 
48 
63 
64 #pragma mark -
65 #pragma mark Creating Index Sets
66 
70 + (instancetype)indexSetWithCoder:(NSCoder *)coder;
71 + (instancetype)indexSetWithContentsOfSerializedFile:(NSString *)path;
72 + (instancetype)indexSetWithDataDictionary:(NSDictionary *)dictionary;
73 + (instancetype)indexSetWithDataDictionaryFromFile:(NSString *)path;
74 + (instancetype)indexSetWithStream:(SCStream *)stream;
75 + (instancetype)indexSetWithFileStream:(NSString *)path;
76 + (instancetype)indexSetWithData:(NSData *)data;
77 + (instancetype)indexSetWithContentsOfFile:(NSString *)path;
78 + (instancetype)indexSetWithContentsOfURL:(NSURL *)url;
79 + (instancetype)indexSetWithContentsOfURLString:(NSString *)urlString;
80 + (instancetype)indexSetWithIndexSet:(NSIndexSet *)indexSet;
81 
82 #pragma mark -
83 #pragma mark Converting Index Sets
84 
97 @property (nonatomic, readonly, copy) NSString *string;
98 
99 @end
100 
101 /*
102  @sdk{@b macOS 10.6+, @b iOS 7.0+, @b GNUstep}
103  @category NSMutableIndexSet(SCMutableIndexSet)
104  @since version 1.2.3
105  @brief Standard class NSMutableIndexSet functionality extending category
106  @details Implements the additional methods for add into the standard class NSMutableIndexSet
107  the enhanced functionality.
108  */
109 @interface NSMutableIndexSet(SCMutableIndexSet)
110 
111 @end
Caregory NSArray(SCArray) header file.
Standard class NSIndexSet functionality extending category.
Definition: NSIndexSet+SCIndexSet.h:62
Abstract parent class of the stream classes hierarchy.
Definition: SCStream.h:224