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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/seatmanu%40gmail.com

This email sent to [email protected]

_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to