Recently I upgraded my Xcode to version 7 - XCode 7.0. Now I am getting this message to every IBOutlet of mine:
@property (nonatomic, weak, nonnull) IBOutlet UITableView *tableView;
Property attributes 'nonnull' and 'weak' are mutually exclusive
Whant can I do?
The whole point of weak is that the property becomes nil when the object is deallocated. The whole point of nonnull is that the property can never be nil. That's why you can't apply both.
Either make your property strong nonnull or just weak.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With