Skip to content

Commit 2e30290

Browse files
committed
Merge pull request #571 from ParsePlatform/nlutsenko.installations.generics
Specialize generic type on 'channels' key of PFInstallation.
2 parents 3b5bd2e + 81c5ee9 commit 2e30290

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Parse/PFInstallation.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ PF_TV_UNAVAILABLE PF_WATCH_UNAVAILABLE @interface PFInstallation : PFObject<PFSu
8484
/*!
8585
@abstract The channels for the `PFInstallation`.
8686
*/
87-
@property (nullable, nonatomic, copy) NSArray *channels;
87+
@property (nullable, nonatomic, copy) NSArray PF_GENERIC(NSString *)*channels;
8888

8989
/*!
9090
@abstract Sets the device token string property from an `NSData`-encoded token.

Parse/PFInstallation.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ - (void)setLocaleIdentifier:(NSString *)localeIdentifier {
210210
onlyIfDifferent:YES];
211211
}
212212

213-
- (void)setChannels:(NSArray *)channels {
213+
- (void)setChannels:(NSArray PF_GENERIC(NSString *)*)channels {
214214
[self _setObject:channels forKey:PFInstallationKeyChannels onlyIfDifferent:YES];
215215
}
216216

0 commit comments

Comments
 (0)