• 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: Why? Why? Why?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why? Why? Why?


  • Subject: Re: Why? Why? Why?
  • From: Peter Teeson <email@hidden>
  • Date: Sun, 26 Aug 2012 09:42:58 -0400

What version of OS X are you on?

On 2012-08-26, at 9:36 AM, Luca Ciciriello wrote:
> Hi All.
>
> Statement 1): Compiler is always right.
>
> Xcode 4.4
> file .m
>
> @interface MyClass
> {
> 	int page;
> }
>
> end
>
> @implementation MyClass
>
> - (void)viewWillAppear:(BOOL)animated
> {
> 	[super viewWillAppear:animated];
>
> 	…
>
> 	page = 0;
> }
>
> - (void) myMethod
> {
> 	page++;
> 	if(page > 2)
> 	{
> 		page = 0;
> 	}
> }
>
> ...
>
> No problem at all building this code.
>
> Then
>
> Xcode 4.4.1
>
> Same file, same code.
>
> Xcode hanging building this file!!!
>
> Removing page = 0 in MyMethod all builds fine.
>
> Is "Statement 1)" correct?
>
>
> Luca.
>
>
>
>
> _______________________________________________
> 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


 _______________________________________________
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: 
 >Why? Why? Why? (From: Luca Ciciriello <email@hidden>)

  • Prev by Date: Why? Why? Why?
  • Next by Date: Re: Code editing - pane splitters
  • Previous by thread: Why? Why? Why?
  • Next by thread: Re: Why? Why? Why?
  • Index(es):
    • Date
    • Thread