Reputation: 86097
When I add a new file in Xcode 6.3.2 I see templates for the .m and .h file but how do you add both at once?
I'm sure there used to be a way of adding both at once.
Upvotes: 4
Views: 3170
Reputation: 56059
The option has been moved into the more generic "Cocoa Touch Class" template, which allows you to make the class in either Objective-C or Swift.
Complete the name of your pair of files with the default prefix filled-in for you. Choose the superclass such as NSObject
. Choose the Objective-C
language. Click the Next
button, then choose the folder location where to save your pair of new .h
and .m
files.
Upvotes: 8