खास जानकारी
ऐसी कैटगरी जो अलग-अलग टाइप की वैल्यू सेट करने और सुरक्षित तरीके से उन्हें खोजने के लिए, NSDictionary के लिए आसान तरीके जोड़ती है.
ये तरीके, खास तौर पर JSON डेटा ऑब्जेक्ट के फ़ील्ड पाने और उन्हें सेट करने में मदद करते हैं.
इंस्टेंस के तरीके के बारे में खास जानकारी | |
(NSString *__nullable) | - gck_stringForKey:withDefaultValue: |
दी गई फ़ॉलबैक वैल्यू वाली कुंजी के लिए, NSString वैल्यू खोजें. ज़्यादा... | |
(NSString *__nullable) | - gck_stringForKey: |
कुंजी के लिए, NSString वैल्यू खोजें, जिसकी फ़ॉलबैक वैल्यू nil हो. ज़्यादा... | |
(NSInteger) | - gck_integerForKey:withDefaultValue: |
दी गई फ़ॉलबैक वैल्यू वाली कुंजी के लिए, NSInteger वैल्यू खोजता है. ज़्यादा... | |
(NSUInteger) | - gck_uintegerForKey:withDefaultValue: |
दी गई फ़ॉलबैक वैल्यू वाली किसी कुंजी के लिए, NSUInteger की वैल्यू खोजता है. ज़्यादा... | |
(NSInteger) | - gck_integerForKey: |
ऐसी कुंजी के लिए NSInteger वैल्यू खोजें, जिसकी फ़ॉलबैक वैल्यू 0 हो. ज़्यादा... | |
(NSUInteger) | - gck_uintegerForKey: |
ऐसी कुंजी के लिए NSUInteger की वैल्यू खोजी जाती है जिसकी फ़ॉलबैक वैल्यू 0 हो. ज़्यादा... | |
(double) | - gck_doubleForKey:withDefaultValue: |
किसी कुंजी के लिए, दी गई फ़ॉलबैक वैल्यू के साथ दोगुना वैल्यू दिखती है. ज़्यादा... | |
(double) | - gck_doubleForKey: |
किसी कुंजी के लिए, डबल वैल्यू दिखती है, जिसकी फ़ॉलबैक वैल्यू 0.0 होती है. ज़्यादा... | |
(BOOL) | - gck_boolForKey:withDefaultValue: |
दी गई फ़ॉलबैक वैल्यू वाली कुंजी के लिए, BOOL वैल्यू देखी जाती है. ज़्यादा... | |
(BOOL) | - gck_boolForKey: |
NO की फ़ॉलबैक वैल्यू वाली कुंजी के लिए, BOOL वैल्यू खोजी जाती है. ज़्यादा... | |
(NSDictionary *__nullable) | - gck_dictionaryForKey: |
कुंजी के लिए, NSDictionary की वैल्यू खोजता है, जिसकी फ़ॉलबैक वैल्यू nil है. ज़्यादा... | |
(NSArray *__nullable) | - gck_arrayForKey: |
कुंजी के लिए, NSArray की वैल्यू खोजता है, जिसकी फ़ॉलबैक वैल्यू nil है. ज़्यादा... | |
(NSURL *__nullable) | - gck_urlForKey: |
कुंजी के लिए NSURL मान खोजता है, जिसकी फ़ॉलबैक वैल्यू nil है. ज़्यादा... | |
(void) | - gck_setStringValue:forKey: |
कुंजी के लिए NSString वैल्यू सेट करता है. ज़्यादा... | |
(void) | - gck_setIntegerValue:forKey: |
कुंजी के लिए NSInteger वैल्यू सेट करता है. ज़्यादा... | |
(void) | - gck_setUIntegerValue:forKey: |
कुंजी के लिए NSUInteger की वैल्यू सेट करता है. ज़्यादा... | |
(void) | - gck_setDoubleValue:forKey: |
कुंजी के लिए डबल वैल्यू सेट करता है. ज़्यादा... | |
(void) | - gck_setBoolValue:forKey: |
कुंजी के लिए BOOL वैल्यू सेट करता है. ज़्यादा... | |
तरीके की जानकारी
- (NSString *__nullable) gck_stringForKey: | (NSString *) | key | |
withDefaultValue: | (NSString *__nullable) | defaultValue | |
- (NSString *__nullable) gck_stringForKey: | (NSString *) | key |
- (NSInteger) gck_integerForKey: | (NSString *) | key | |
withDefaultValue: | (NSInteger) | defaultValue | |
- (NSUInteger) gck_uintegerForKey: | (NSString *) | key | |
withDefaultValue: | (NSUInteger) | defaultValue | |
दी गई फ़ॉलबैक वैल्यू वाली किसी कुंजी के लिए, NSUInteger की वैल्यू खोजता है.
- Parameters
-
key The key. defaultValue The default value to return if the key is not found or if its value is not an NSNumber.
- रिटर्न
- अगर कुंजी मिली है, तो उसकी वैल्यू NSNumber है, नहीं तो डिफ़ॉल्ट वैल्यू है.
- (NSInteger) gck_integerForKey: | (NSString *) | key |
- (NSUInteger) gck_uintegerForKey: | (NSString *) | key |
ऐसी कुंजी के लिए NSUInteger की वैल्यू खोजी जाती है जिसकी फ़ॉलबैक वैल्यू 0
हो.
- Parameters
-
key The key.
- रिटर्न
- कुंजी का मान, अगर वह मिला था और वह NSNumber था, नहीं तो
0
.
- (double) gck_doubleForKey: | (NSString *) | key | |
withDefaultValue: | (double) | defaultValue | |
- (double) gck_doubleForKey: | (NSString *) | key |
किसी कुंजी के लिए, डबल वैल्यू दिखती है, जिसकी फ़ॉलबैक वैल्यू 0.0
होती है.
- Parameters
-
key The key.
- रिटर्न
- कुंजी का मान, अगर वह मिला था और वह NSNumber था, नहीं तो
0.0
.
- (BOOL) gck_boolForKey: | (NSString *) | key | |
withDefaultValue: | (BOOL) | defaultValue | |
- (BOOL) gck_boolForKey: | (NSString *) | key |
NO
की फ़ॉलबैक वैल्यू वाली कुंजी के लिए, BOOL वैल्यू खोजी जाती है.
- Parameters
-
key The key.
- रिटर्न
- कुंजी का मान, अगर वह मिला था और वह NSNumber था, नहीं तो
NO
.
- (NSDictionary *__nullable) gck_dictionaryForKey: | (NSString *) | key |
कुंजी के लिए, NSDictionary की वैल्यू खोजता है, जिसकी फ़ॉलबैक वैल्यू nil
है.
- Parameters
-
key The key.
- रिटर्न
- अगर कुंजी पाई गई थी, तो उसका मान NSDictionary था, नहीं तो उसका मान
nil
था.
- (NSArray *__nullable) gck_arrayForKey: | (NSString *) | key |
- (NSURL *__nullable) gck_urlForKey: | (NSString *) | key |
- (void) gck_setStringValue: | (NSString *) | value | |
forKey: | (NSString *) | key | |
कुंजी के लिए NSString वैल्यू सेट करता है.
- Parameters
-
value The value. key The key.
- (void) gck_setIntegerValue: | (NSInteger) | value | |
forKey: | (NSString *) | key | |
कुंजी के लिए NSInteger वैल्यू सेट करता है.
- Parameters
-
value The value. key The key.
- (void) gck_setUIntegerValue: | (NSUInteger) | value | |
forKey: | (NSString *) | key | |
कुंजी के लिए NSUInteger की वैल्यू सेट करता है.
- Parameters
-
value The value. key The key.
- (void) gck_setDoubleValue: | (double) | value | |
forKey: | (NSString *) | key | |
कुंजी के लिए डबल वैल्यू सेट करता है.
- Parameters
-
value The value. key The key.
- (void) gck_setBoolValue: | (BOOL) | value | |
forKey: | (NSString *) | key | |
कुंजी के लिए BOOL वैल्यू सेट करता है.
- Parameters
-
value The value. key The key.