my issue is that I am defining transaction in model file and then using it in js script but it throws an error " Error: Could not find any functions t ...
my issue is that I am defining transaction in model file and then using it in js script but it throws an error " Error: Could not find any functions t ...
I have a controller which has properties defined like this in .m file: Then because I want to access swaipView and cateItem in other controller so ...
I'm defining an Objective-C class: How do I make commConfig a static variable? When I use the 'class' keyword, the compiler gives me the following ...
I'm trying to figure out at runtime whether a property of a class is nullable. For example: nullableProperties should in this case return an NSSet ...
I've been perusing an open source project that uses a storyboard that contains a few view controllers. For some reason, the UI elements do not use @pr ...
EDIT: This question applies to normal declared properties as well (not only to class properties)! Original Post: Lets say I have the public class me ...
I want to know how the getter and setter for an Objective-C property are implemented as part of learning the concept of memory management. I have no ...
Suppose I have a property defined as @property (copy) NSString *name. Suppose I have a init method defined as below. Do I need the copy in the com ...
Consider a C++ API like const T* foo(). This clearly documents the supported mutability and use of the API: OK, we'll let you look at T, but please do ...
My understanding so far is that (retain) increases the reference count of a property and is essentially the exact same as (strong). Since all properti ...
So I have a protocol, which requires a property to be declared: and an object who conforms to it: However, if I declare the property (specified ...
If I have a property like this: redefined in the implementation file to be read/write: I used weak in .h, but I said nothing in the extension, w ...
Reading some Objective-C manuals about properties and instance variables, I came across a lot of sentences like a readwrite property will be backe ...
I have a very large class that I am trying to create a category from. In the original class' .m file, I have 2 objects (defined in the category .h fil ...
About Objective-c blocks, the document I am reading said: You can't refer to self in Independent block objects. if you need to, you must pass self ...
When I to append a string to an NSMutableString using appendString: I get the following error: My code is: And in my header file: I don't und ...
I always see people debating whether or not to use a property's setter in the -init method. My problem is how to create a default value in a subclass ...
Suppose I declare a property like so Then I create a custom setter method Does the compiler interpret the copy keyword so that this setter funct ...
I'm developing for iOS 7 but I still have to manually write getters otherwise my properties just don't get initialized. I tried to manually synthesize ...
My understanding is that instance variables should be accessed directly from inside the init method. For example: I am wondering about the _nam ...