Skip to content

Instantly share code, notes, and snippets.

@colinta
Created May 1, 2014 23:58
Show Gist options
  • Save colinta/eedb7a3eec5d3a607927 to your computer and use it in GitHub Desktop.
Save colinta/eedb7a3eec5d3a607927 to your computer and use it in GitHub Desktop.
diff --git a/vendor/Parse.framework/Versions/1.2.18/Headers/PFObject.h b/vendor/Parse.framework/Versions/1.2.18/Headers/PFObject.h
index d6e9004..f2153f7 100644
--- a/vendor/Parse.framework/Versions/1.2.18/Headers/PFObject.h
+++ b/vendor/Parse.framework/Versions/1.2.18/Headers/PFObject.h
@@ -114,33 +114,33 @@ NS_REQUIRES_PROPERTY_DEFINITIONS
@param key The key that the object is associated with.
@result The value associated with the given key, or nil if no value is associated with key.
*/
-- (id)objectForKey:(NSString *)key;
+- (id)objectForKey:(id)key;
/*!
Sets the object associated with a given key.
@param object The object.
@param key The key.
*/
-- (void)setObject:(id)object forKey:(NSString *)key;
+- (void)setObject:(id)object forKey:(id)key;
/*!
Unsets a key on the object.
@param key The key.
*/
-- (void)removeObjectForKey:(NSString *)key;
+- (void)removeObjectForKey:(id)key;
/*!
* In LLVM 4.0 (XCode 4.5) or higher allows myPFObject[key].
@param key The key.
*/
-- (id)objectForKeyedSubscript:(NSString *)key;
+- (id)objectForKeyedSubscript:(id)key;
/*!
* In LLVM 4.0 (XCode 4.5) or higher allows myObject[key] = value
@param object The object.
@param key The key.
*/
-- (void)setObject:(id)object forKeyedSubscript:(NSString *)key;
+- (void)setObject:(id)object forKeyedSubscript:(id)key;
/*!
Returns the relation object associated with the given key
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment