Samond Classes Library 1.2.0-RELEASE build 166
SCNSMutableDictionary.h
Go to the documentation of this file.
1 //
2 // SCNSMutableDictionary.h
3 // scl
4 //
5 // Created by Viacheslav Smolensky on 13.05.12.
6 // Copyright (c) 2007 - 2017 by Samond Development Corporation. All rights reserved.
7 //
8 
23 #import <Foundation/Foundation.h>
24 #import <scl/SCCoding.h>
25 #import <scl/SCDictionaring.h>
26 #import <scl/SCStreaming.h>
27 #import <scl/SCCollectioning.h>
28 #import <scl/SCMutableCollection.h>
29 
30 #pragma mark -
31 #pragma mark Константы класса
32 
36 #define NSMutableDictionaryClass @"NSMutableDictionary"
37 
55 
56 #pragma mark -
57 #pragma mark Создание словарей
58 + (NSMutableDictionary *)dictionaryWithCollection:(id)collection;
59 + (NSMutableDictionary *)dictionaryWithCoder:(NSCoder *)coder;
60 + (NSMutableDictionary *)dictionaryWithContentsOfSerializedFile:(NSString *)path;
61 + (NSMutableDictionary *)dictionaryWithDataDictionary:(NSDictionary *)dictionary;
62 + (NSMutableDictionary *)dictionaryWithDataDictionaryFromFile:(NSString *)path;
63 + (NSMutableDictionary *)dictionaryWithStream:(SCStream *)stream;
64 + (NSMutableDictionary *)dictionaryWithFileStream:(NSString *)path;
65 
66 #pragma mark -
67 #pragma mark Копирование словарей
68 - (void)setCollection:(id)collection;
69 - (void)setObject:(id)object;
70 - (void)setObjects:(id)object, ... NS_REQUIRES_NIL_TERMINATION;
71 
72 #pragma mark -
73 #pragma mark Добавление объектов
74 - (void)addObject:(id)object;
75 - (void)addObjects:(id)object, ... NS_REQUIRES_NIL_TERMINATION;
76 - (void)addCollection:(id)collection;
77 
78 #pragma mark -
79 #pragma mark Удаление объектов
80 - (void)removeObjectsWithClass:(Class)oclass;
81 - (void)removeObjectsWithClassName:(NSString *)name;
82 - (void)removeCollection:(id)collection;
83 - (void)removeObject:(id)object;
84 - (void)removeObjects:(id)object, ... NS_REQUIRES_NIL_TERMINATION;
85 
86 @end
Standard class NSMutableDictionary functionality extending category.
Definition: SCNSMutableDictionary.h:53
Mutable collections protocol.
Definition: SCMutableCollection.h:38
Standard protocol NSCoding extention protocol.
Definition: SCCoding.h:40
Protocol of methods for data exchanging between class instances and classes NSDictionary and NSMutabl...
Definition: SCDictionaring.h:42
Collections communications protocol.
Definition: SCCollectioning.h:78
Streams communications protocol.
Definition: SCStreaming.h:40
Abstract parent class of the stream classes hierarchy.
Definition: SCStream.h:242