Results 1 to 4 of 4
  1. #1

    Member Since
    Dec 31, 2008
    Can XCode automatically stub out methods?
    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.

  2. #2

    Member Since
    Dec 24, 2006
    N. Ireland
    Mac Pro 2xQuad core 2.8GHZ
    Anyone? I too would like a solution to this code completion

  3. #3

    Member Since
    Mar 15, 2007
    17" MacBook Pro, 2.33GHz C2D, 2GB RAM
    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.

  4. #4

    Member Since
    Dec 31, 2008
    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Objective-C methods
    By Yodda_Hunter in forum OS X - Development and Darwin
    Replies: 0
    Last Post: 08-28-2013, 12:51 PM
  2. Confused by methods of communication
    By petersmall in forum Internet, Networking, and Wireless
    Replies: 5
    Last Post: 04-29-2013, 03:52 PM
  3. Fastest Copy Methods ?
    By bluemoon222 in forum OS X - Operating System
    Replies: 5
    Last Post: 01-15-2012, 03:05 PM
  4. Methods and Class issues.
    By brad35309 in forum iOS Development
    Replies: 17
    Last Post: 05-12-2011, 12:03 PM
  5. Custom application methods
    By MrPotatoes in forum OS X - Operating System
    Replies: 3
    Last Post: 03-03-2008, 10:20 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts