Post

Replies

Boosts

Views

Activity

Comment on Xcode 13 not accepting key's with small case for "- (nullable ObjectType)valueForKey:(NSString *)key;"
Here you go NSString *appleObj = [self.myAppleDictionary valueForKey:@"apple"]; Here self.myAppleDictionary contains the key "Apple" with its value, in Xcode 13 I am not receiving value for appleObj. Similarly NSString *appleObj = [self.myAppleDictionary valueForKey:@"Apple"]; Here in this case self.myAppleDictionary contains the key "apple" with its value, in Xcode 13 I am not receiving value for appleObj. it's both ways In order to get value for appleObj I have to pass the exact matching key, (if it contains key as "Apple" will have to pass Apple)
Feb ’22