Re: running an external app
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