-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I am writing a program in Objective-C (XCode 3.2, on Snow Leopard) that is capable of either selectively blocking certain sites for a duration or only allow certain sites (and thus block all others) for a duration. The reasoning behind this program is rather simple. I tend to get distracted when I…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi,
I made an Objective-C project for the iPhone. I had only one cpp class, the soundEngine taken from some Apple demo. Now I'm trying to merge OpenFeint which is coded in Objective-C++. As soon as I drop in the code without even referring to it from my code, when I hit Build, my Objective-C code…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Does anyone know of a way to add additional attribute types to the @property keyword without modifying the compiler? Or can anyone think of another way to genericize getter/setter creation?
Basically, I have a lot of cases in a recent project where it's handy for objects to lazily instantiate their…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
SO
I wish to check to see if the item in my array [clientDataArray objectForKey:@"ClientCompany"] is nil.
temp = [clientDataArray objectForKey:@"ClientCompany"];
if (temp != [NSNull null]) infofieldCompany.text = temp;
So far I have been able to achieve this through the above code, but…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Attempting to make a NSObject called 'Person' that will hold the login details for my application (nothing to fancy). The app is made of a navigation controller with multiple table views but I am having issues sharing the Person object around.
Attempted to create a static object like this:
+ (Person…
>>> More