Xcode Generate Functions from Headers?

Joined
May 12, 2010
Messages
4
Reaction score
0
Points
1
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
 

Raz0rEdge

Well-known member
Staff member
Moderator
Joined
Jul 17, 2009
Messages
15,762
Reaction score
2,100
Points
113
Location
MA
Your Mac's Specs
2022 Mac Studio M1 Max, 2023 M2 MBA
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
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top