I'm trying to observe Bool
value in swift using KVO and add dynamic
modifier like this :
dynamic var isRestricted:Bool?
and the compiler say
Property cannot be marked dynamic because its type canot be represented in Objective-C
then what should I do? should I change to NSNumber for this? and What is the best practice for observing value then?
im using xcode 7 beta 2