• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Stupid problem in llvm!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Stupid problem in llvm! (From: Laurent Daudelin <email@hidden>)
 >Re: Stupid problem in llvm! (From: Fritz Anderson <email@hidden>)

  • Prev by Date: Re: Stupid problem in llvm!
  • Next by Date: Re: __builtin_expect in clang?
  • Previous by thread: Re: Stupid problem in llvm!
  • Next by thread: Re: Stupid problem in llvm!
  • Index(es):
    • Date
    • Thread