• 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 <email@hidden>
  • Date: Mon, 26 May 2008 19:19:31 -0400

<_< 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!

On May 26, 2008, at 7:13 PM, Nathan Kinsinger wrote:


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

I'm running into problems now....
bool runApp;
[runApp launchApplication: "Interface Builder"];

I get these warnings:

warning: invalid receiver type bool
warning: passing argument 1 of 'launchApplication:' from incompatible pointer type

Objective-c needs an @ before string literals. So you need @"Interface Builder"


--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:
    • calculator design (was Re: running an external app)
      • From: Graham Cox <email@hidden>
    • Re: running an external app
      • From: Nathan Kinsinger <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>)

  • 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