• 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: running an external app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: running an external app


  • Subject: Re: running an external app
  • From: Nathan Kinsinger <email@hidden>
  • Date: Mon, 26 May 2008 17:28:23 -0600


On May 26, 2008, at 5:19 PM, Nathan wrote:

<_< I still have the problem of invalid receiver type bool. The program compiled but pressing the button did nothing. Please note that the color of the word "bool" is not pink like it should be.

bool runApp;

whereas:

float firstNumber;

is pink.

I'm also having another problem.... how do I append a single digit to an int like a calculator does? Again, I checked the documentation and online but no luck. Am I missing some secret to searching the documentation? Thanks!


First, bool should be BOOL. Read the documentation that Kyle linked to.

Second, multiply the int by 10 then add the number.
Note that this is not a question of how to use Cocoa (which is what this list is for) but a more general "how to program" question (which is not what this list is for). There are many books and web sites that will help you learn to program, I suggest you google for some.


--Nathan
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: running an external app
      • From: Nathan <email@hidden>
References: 
 >running an external app (From: Nathan <email@hidden>)
 >Re: running an external app (From: Jens Alfke <email@hidden>)
 >Re: running an external app (From: Nathan <email@hidden>)
 >Re: running an external app (From: Nathan Kinsinger <email@hidden>)
 >Re: running an external app (From: Nathan <email@hidden>)

  • Prev by Date: Re: running an external app
  • Next by Date: Re: running an external app
  • Previous by thread: Re: running an external app
  • Next by thread: Re: running an external app
  • Index(es):
    • Date
    • Thread