Fix NSArray and NSOrderedSet KVC method types to not use generic type.

These methods set/return properties of the elements, not the elements themselves.
This commit is contained in:
Frederik Seiffert 2019-07-10 11:39:43 +02:00
parent 4be70d0802
commit ba7a9c0a8e
3 changed files with 11 additions and 4 deletions

View file

@ -125,8 +125,8 @@ extern "C" {
range: (NSRange)aRange;
// Key value coding support
- (void) setValue: (GS_GENERIC_TYPE(ElementT))value forKey: (NSString*)key;
- (GS_GENERIC_TYPE(ElementT)) valueForKey: (NSString*)key;
- (void) setValue: (id)value forKey: (NSString*)key;
- (id) valueForKey: (NSString*)key;
// Comparing Sets
- (BOOL) isEqualToOrderedSet: (NSOrderedSet *)aSet;