We can actually use retain as an equivalent property when not using ARC

This commit is contained in:
Riccardo Mottola 2017-07-28 10:01:25 +02:00
parent 9bb07ba461
commit 47c09aaedb
2 changed files with 6 additions and 1 deletions

View file

@ -63,7 +63,7 @@ enum {
@property (readonly) pid_t processIdentifier;
@property (readonly) NSInteger executableArchitecture;
@property (readonly, copy) NSDate *launchDate;
@property (readonly) NSImage *icon;
@property (readonly, retain) NSImage *icon;
#if OS_API_VERSION(MAC_OS_X_VERSION_10_7, GS_API_LATEST)
@property (readonly) BOOL ownsMenuBar;