OAFCollections
Objective-C
@interface OAFCollections : OAFFeaturesObject
Swift
class OAFCollections : OAFFeaturesObject
Undocumented
-
Collection of links
Declaration
Objective-C
@property (nonatomic, strong) NSMutableArray<OAFLink *> *links;
Swift
var links: NSMutableArray! { get set }
-
Collection of collections
Declaration
Objective-C
@property (nonatomic, strong) NSMutableArray<OAFCollection *> *collections;
Swift
var collections: NSMutableArray! { get set }
-
Initialize
Declaration
Objective-C
- (instancetype)init;
Swift
init!()
Return Value
new collections
-
Initialize
Declaration
Objective-C
- (instancetype)initWithTree:(NSDictionary *)tree;
Swift
init!(tree: [AnyHashable : Any]!)
Parameters
tree
JSON tree
Return Value
new collections
-
Add a link
Parameters
link
link
-
Add a collection
Declaration
Objective-C
- (void)addCollection:(OAFCollection *)collection;
Swift
func addCollection(_ collection: OAFCollection!)
Parameters
collection
collection