Re: Stupid problem in llvm!
Re: Stupid problem in llvm!
- Subject: Re: Stupid problem in llvm!
- From: Fritz Anderson <email@hidden>
- Date: Fri, 11 Nov 2011 22:31:12 -0600
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.
— F
_______________________________________________
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