I have a var declared in a class like so:
@NSManaged var isFavorite: Bool
I would like to declare a property observer, very similar to the one below.
var organization: String {
didSet { postNotificationWithName( "newData" ) }
}
However, Swift tells me that having property observers on NSManaged
vars is not allowed. Is there any way I can implement such a feature or something similar for my isFavorite
variable?