New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

Beginner...Please Help!!


Post Reply New Thread Subscribe

 
Thread Tools
meskue
Guest
 
Posts: n/a

Ok very beginner question here,

I have a unix executable file on my computer, I can't figure out how to put it into an application with an icon and file associations. I understand that you can create applications and bundles using XCode but how do i create one that simply just runs the executable when you click on the icon? Please Help.
QUOTE Thanks
xstep

 
xstep's Avatar
 
Member Since: Jun 25, 2005
Location: On the road
Posts: 3,231
xstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to all
Mac Specs: 2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid

xstep is offline
I've noticed you've asked several newbie questions. From what I can tell you need to buy a book. A highly praised one is "Cocoa Programming for Mac OS X". Get the second edition which is the current printing. Page 161 answers your question if your building a standard Cocoa app. The answer is a bit lengthy to post here, and dated for how one gets to the appropriate panel. I'm half way through this book so am (re)learning too.

If your building a command line app, I'm not sure you can associate a custom icon for it. But you can double click them and they will open in a Teminal window.

The shortest answer I can give for a Cocoa type app is; Click on the target program name in Xcode, under the Project menu select Edit Active Target <your program name>". Under the Info.plist Entries select Document Types. Name seems to be your program's name. And extension is what your looking for. Now you just need the code to write/read your file.
QUOTE Thanks

Post Reply New Thread Subscribe


« majflt field | How Do I Get Finder to Execute a Bash Script? »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
beginner jdpfeil iPod Hardware and Accessories 2 03-23-2006 12:42 AM
Beginner Mac Developer mh10190 OS X - Development and Darwin 1 12-04-2005 04:02 PM
dreamweaver beginner brianwithan eye Web Design and Hosting 4 07-26-2005 02:20 PM

All times are GMT -4. The time now is 06:14 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?