Re: Stupid problem in llvm!
Re: Stupid problem in llvm!
- Subject: Re: Stupid problem in llvm!
- From: Laurent Daudelin <email@hidden>
- Date: Fri, 11 Nov 2011 23:05:40 -0800
On Nov 11, 2011, at 20:31, Fritz Anderson wrote:
> On 11 Nov 2011, at 9:12 PM, Laurent Daudelin wrote:
>
>> - (NSDictionary *)infoPListDict
>> {
>> if (self.infoPListDict == NULL)
>> {
> ...
>> return self.infoPListDict;
>> }
>
> You do understand that if you have @property infoPListDict, and method -infoPListDict, that every rvalue reference to self.infoPListDict will invoke your -infoPListDict method? So your if clause starts an infinite loop?
>
>> @property (nonatomic, strong, getter=infoPListDict) NSDictionary *infoPListDict; // used by ECXNavigationController
>
> getter={propertyName} is the default. You don't need to specify it.
>
Thanks Fritz, I finally realized that after posting my question. I should keep that in mind next time I want do keep working late a Friday night after a long week :-/
-Laurent.
--
Laurent Daudelin
AIM/iChat/Skype:LaurentDaudelin http://www.nemesys-soft.com/
Logiciels Nemesys Software email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden