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.

Can XCode automatically stub out methods?


Post Reply New Thread Subscribe

 
Thread Tools
mjparme

 
Member Since: Dec 31, 2008
Posts: 14
mjparme is on a distinguished road

mjparme is offline
If I type several method definitions in an Objective-C header file (.h) is there a way to get XCode to stub those methods out in a implementation file (.m)? I suppose I could just cut and paste, but surely it can do it on its own.
QUOTE Thanks
Del

 
Member Since: Dec 24, 2006
Location: N. Ireland
Posts: 901
Del has a spectacular aura about
Mac Specs: Mac Pro 2xQuad core 2.8GHZ

Del is offline
Anyone? I too would like a solution to this code completion
QUOTE Thanks
mystic_fm

 
Member Since: Mar 15, 2007
Posts: 161
mystic_fm will become famous soon enough
Mac Specs: 17" MacBook Pro, 2.33GHz C2D, 2GB RAM

mystic_fm is offline
I don't believe there is anything built into Xcode to do this particular task. I agree with you that it would be a nice enhancement.

Perhaps a user script could be created to analyze the current file or selection, open the corresponding source file, and add stubs for any items that aren't found. But I doubt this would be a simple undertaking.
QUOTE Thanks
mjparme

 
Member Since: Dec 31, 2008
Posts: 14
mjparme is on a distinguished road

mjparme is offline
I think I am just spoiled by IntelliJ when doing Java development. It takes care of stuff like that for me (interface implementation, method overriding, live templates, file templates, etc).

Another nice one would be if it would provide empty implementations for delegate methods.
QUOTE Thanks

Post Reply New Thread Subscribe


« XCode and VI | boost member function problem »
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
Carbon framework on XCode Rafi Shalom OS X - Development and Darwin 1 04-17-2008 02:14 PM
AIRPORT, macbook not automatically selecting network.. SpliCer261 Internet, Networking, and Wireless 0 08-20-2006 10:05 PM
Xcode 1.5 alejandrico OS X - Development and Darwin 0 06-03-2006 06:56 PM
XCode Include path problem Jove OS X - Development and Darwin 0 03-18-2005 10:41 AM
New Xcode plug-in helps developers reuse code Murlyn OS X - Development and Darwin 0 11-10-2003 01:16 PM

All times are GMT -4. The time now is 03:22 PM.

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?