• 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: Just starting off in obj C
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Just starting off in obj C


  • Subject: Re: Just starting off in obj C
  • From: Michael <email@hidden>
  • Date: Fri, 24 Oct 2008 15:11:42 -0700


On Oct 24, 2008, at 3:07 PM, Alexander von Below wrote:

Please, for your next question don't make us guess what is not working. Is the code not compiling? Is it not returning the expected output? Is it crashing, etc?

Point taken...apologies.




Am 25.10.2008 um 00:03 schrieb Michael:

NSLog(@"This is %@", mytest);

You are passing the address of a method, rather than calling the method and passing its output


The correct statement would be:

NSLog(@"This is %@", mytest());


Thanks Alex.  That, ashamedly, I should have figured out!!!  :-)
_______________________________________________
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: 
 >Just starting off in obj C (From: Michael <email@hidden>)
 >Re: Just starting off in obj C (From: Alexander von Below <email@hidden>)

  • Prev by Date: Re: Just starting off in obj C
  • Next by Date: Re: Just starting off in obj C
  • Previous by thread: Re: Just starting off in obj C
  • Next by thread: Re: Just starting off in obj C
  • Index(es):
    • Date
    • Thread