Results 1 to 2 of 2
  1. #1
    Xcode Generate Functions from Headers?

    Member Since
    May 12, 2010
    Posts
    4
    Xcode Generate Functions from Headers?
    Hi everyone, I'm new to Objective-C and Xcode. I usually plan out my programs and create my header file first. Is there a way to generate a .m file from the header file I create?

    For example, if I have 4 functions in Xcode, I'd like them to appear in my .m file empty and ready for code. It would also be nice if the .m file contained the synthesized properties already.

    -- Derek

  2. #2
    Xcode Generate Functions from Headers?
    Raz0rEdge's Avatar
    Member Since
    Jul 17, 2009
    Location
    MA
    Posts
    8,189
    Specs:
    27" i7 iMac, 24" iMac, 13" Macbook Air, iPhone 5 & 5S, iPod Nano 7th Gen, iPad 2 16GB WiFi, iPad 3
    No, Xcode will not create stub functions for what you define in the header file. It will create the .m file to accompany the .h and follow it's own template in creating the file.

    Regards

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. I can't generate any new mailboxes on iPhone 6
    By durango in forum iOS and Apps
    Replies: 11
    Last Post: 04-05-2015, 07:47 PM
  2. Twitter: iOS 5 integration will generate more traffic
    By OneMoreThing... in forum Apple Rumors and Reports
    Replies: 0
    Last Post: 09-27-2011, 08:44 PM
  3. How to generate profiling code in xcode 3
    By scamden in forum OS X - Development and Darwin
    Replies: 1
    Last Post: 07-26-2009, 02:44 AM
  4. headers
    By me1303 in forum Switcher Hangout
    Replies: 3
    Last Post: 02-19-2008, 06:52 PM
  5. How do you generate assembler listings in GCC?
    By mmoy in forum Switcher Hangout
    Replies: 0
    Last Post: 03-21-2005, 10:49 PM

Posting Permissions

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