Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

property

  1. M

    macOS Set property in LLDB

    Hi, I have an NSObject, and I'm trying to set one of its properties at runtime. I've tried this (note: I'm using fictional names instead of actual ones): expr -- object.theProperty = 3 but at runtime, LLDB says even though there is a property by that name. Well, turns out the solution...
  2. M

    iOS Objective-C: Attempt to set category property results in "unrecognized selector sent to instance"

    I have a category on UIView (because there are multiple UIViews of different classes that I want having the same property), and all the category does is define a property in the .h file. And, as it turns out, that's exactly why I'm having an error.
  3. M

    iOS Objective-C NSManagedObject subclass property: Unrecognized selector sent to instance

    I can't figure out why, but my app seems to be having trouble accessing a property of my NSManagedObject singleton. The property is declared in a category is @dynamic'd in the category's .m file; it has the same name as a corresponding attribute in my model. Edit: And yes, the name of my...