ObjFW  Diff

Differences From Artifact [22f9803439]:

  • File src/OFTimer+Private.h — part of check-in [0a73af49f0] at 2017-04-30 13:35:16 on branch trunk — Use nonatomic for properties and clean up

    This changes retaining behavior, meaning properties are not returned
    retained and autoreleased anymore, so a property returned from a getter
    now needs to be manually retained and autoreleased before calling the
    setter. However, this is rarely the case and not using atomic improves
    performance. (user: js, size: 782) [annotate] [blame] [check-ins using]

To Artifact [315f62b4c1]:


15
16
17
18
19
20
21
22
23
24
25
26
 */

#import "OFTimer.h"

OF_ASSUME_NONNULL_BEGIN

@interface OFTimer ()
@property OF_NULLABLE_PROPERTY (nonatomic, retain, setter=OF_setInRunLoop:)
    OFRunLoop *OF_inRunLoop;
@end

OF_ASSUME_NONNULL_END







|
|



15
16
17
18
19
20
21
22
23
24
25
26
 */

#import "OFTimer.h"

OF_ASSUME_NONNULL_BEGIN

@interface OFTimer ()
@property OF_NULLABLE_PROPERTY (nonatomic, retain, setter=of_setInRunLoop:)
    OFRunLoop *of_inRunLoop;
@end

OF_ASSUME_NONNULL_END