Skip to content

Commit

Permalink
Merge pull request facebookarchive#105 from facebook/nlutsneko.atomic
Browse files Browse the repository at this point in the history
Make observer property on FBKVOController nonatomic.
  • Loading branch information
nlutsenko committed Mar 29, 2016
2 parents 34b03fa + 139efe5 commit ad3bf67
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions FBKVOController/FBKVOController.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,10 @@ typedef void (^FBKVONotificationBlock)(id _Nullable observer, id object, NSDicti
*/
- (instancetype)initWithObserver:(nullable id)observer;

/// The observer notified on key-value change. Specified on initialization.
@property (nullable, atomic, weak, readonly) id observer;
/**
The observer notified on key-value change. Specified on initialization.
*/
@property (nullable, nonatomic, weak, readonly) id observer;

/**
@abstract Registers observer for key-value change notification.
Expand Down

0 comments on commit ad3bf67

Please sign in to comment.