mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
For the most part this was just "check isInstanceProperty"; the one feature not yet implemented is the emission of ObjC metadata for class properties. rdar://problem/16830785
17 lines
581 B
Objective-C
17 lines
581 B
Objective-C
@import Foundation;
|
|
|
|
@interface Test : NSObject
|
|
@property (nonnull, readonly) NSArray *nonnullArray;
|
|
@property (nullable, readonly) NSArray *nullableArray;
|
|
@property (null_unspecified, readonly) NSArray *nullUnspecifiedArray;
|
|
|
|
@property (nonnull, readonly) NSDictionary *nonnullDictionary;
|
|
@property (nonnull, readonly) NSSet *nonnullSet;
|
|
@property (nonnull, readonly) NSString *nonnullString;
|
|
|
|
@property (class, nonnull, readonly) NSString *nonnullSharedString;
|
|
|
|
// Subscripts still have thunks wrapped around them.
|
|
- (nonnull NSArray *)objectAtIndexedSubscript:(long)index;
|
|
@end
|