• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [XCode] Generating method stubs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [XCode] Generating method stubs


  • Subject: Re: [XCode] Generating method stubs
  • From: Graham Cox <email@hidden>
  • Date: Fri, 9 Jan 2009 23:57:03 +1100


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


  • Follow-Ups:
    • Re: [XCode] Generating method stubs
      • From: Emmanuel Pinault <email@hidden>
References: 
 >[XCode] Generating method stubs (From: "Martijn van Exel" <email@hidden>)

  • Prev by Date: Re: PDF Problem
  • Next by Date: NSOperation and NSOperationQueue cancellation and ordering questions
  • Previous by thread: Re: [XCode] Generating method stubs
  • Next by thread: Re: [XCode] Generating method stubs
  • Index(es):
    • Date
    • Thread