Re: [XCode] Generating method stubs
Re: [XCode] Generating method stubs
- Subject: Re: [XCode] Generating method stubs
- From: Emmanuel Pinault <email@hidden>
- Date: Tue, 20 Jan 2009 13:57:49 -0800
Maybe code generation? Look at Manning book about code generation.
Easy to write simple one in Ruby and get your stubs :)
On Jan 9, 2009, at 4:57 AM, Graham Cox wrote:
On 9 Jan 2009, at 11:10 pm, Martijn van Exel wrote:
Hi all,
Coming from a .NET/Visual Studio environment, I got used to some
conveniences that I do not find in XCode. For example, when you
define a
class that should conform to a certain protocol, isn't there a way to
generate stubs for all the methods defined in that protocol?
One easy way I use is just cut and paste the method definitions from
the .h to the .m file, then find and replace ';' with an empty body.
You might be able to write a script that can do this but it's simple
enough without.
--Graham
_______________________________________________
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
_______________________________________________
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