Template used for a specific file type, within Xcode
Questions tagged [xcode-template]
91 questions
0
votes
1 answer
Is there any way to generate code in Interface on implementing it in a class
I want to add all the abstracts of getter and setter of a class to the interface that I am implementing in that particular interface. I also want to generate a final variable that resembles class variable. This variable can be used as string to…

niraj dighe
- 45
- 7
0
votes
1 answer
Can you prevent Xcode from substituting text in a project template?
I have a project template called Foo. Xcode is replacing all the files and tokenizing all the ___PROJECTNAME___ and ___PROJECTNAMEASIDENTIFIER___ inside the files. In one of the source files I have
FooObject *foo = [FooObject…

Chris
- 645
- 1
- 5
- 11
0
votes
1 answer
How can I custom getter templates in AppCode
AppCode can generate getter code like this:
- (UIView *)leftAnchorView {
return _leftAnchorView;
}
In the Preferences -> Editor -> File and Code Templates -> Code Tab, I found the getter templates is
#if ($IVAR_IS_AVAILABLE ==…

S.Captain
- 167
- 1
- 9
0
votes
1 answer
Create a template for iPhone projects in XCode?
How do I create another project template in XCode? I want to make another one which will include all of my libraries and have the correct headers and frameworks added.

Kristina
- 15,859
- 29
- 111
- 181
0
votes
0 answers
Setter/getter code template
Is there a better way to create a "code template" for Eclipse that generates at the same time the property and getter/setter?
I can't find any way to camel the property name in the setter and getter code
private ${propertyType}…

Simone Buzzi
- 76
- 9
0
votes
1 answer
Why doesn't the SplitView iPhone template have a nib file for the RootView?
I'm diving into iPad development and am learning a lot quickly, but everywhere I look, I have questions. After creating a new SplitView app in Xcode using the template, it generates the AppDelegate class, RootViewController class, and…

BeachRunnerFred
- 18,070
- 35
- 139
- 238
0
votes
1 answer
Make a dependent target with an Xcode 6 template
In Xcode 5, the Dependencies key along with an array of integers will indicate to create a dependency from another created target to the current target.
Dependencies
1
…

Paul Beusterien
- 27,542
- 6
- 83
- 139
0
votes
1 answer
Custom template Logo and description in iPhone Application Templates
I am trying to create a custom "Application template".
I tried to learn, "How to create template?" from the sample templates of "Cocos2d iPhone Game development".
The problems that I am facing are as follows.
Cocos2d custom application templates…

sagarkothari
- 24,520
- 50
- 165
- 235
0
votes
1 answer
Selecting xcode project template
I am new to iphone development. I have to develop an iphone application which is basically a questionare. When user runs the application he has to answer around 30 questions, each one at a time. I am planning to use the Navigation template project…

user270520
- 211
- 1
- 2
- 5
0
votes
2 answers
UINavigationController template
When I open the new file dialog I see only 3 Cocoa Touch Classes: Objective-C class, Objective-C test case class, UIViewController subclass. When I last worked with Xcode, before I updated it, I remember there were more than 3 options, which…

treznik
- 7,955
- 13
- 47
- 59
0
votes
1 answer
Xcode project templates: How can I specify a static library dependency?
I am trying to create an Xcode project template that contains two compilable targets, with one target (an app) dependent on the other (a static lib).
Everything works so far, except that I cannot figure out how to specify the actual dependency in…

Bill Hollings
- 2,344
- 17
- 25
0
votes
2 answers
A Leak in Apple's iPhone project template?
Today, I tried to fix a leak in my newly created iPhone app. After some search, I've
discovered that Apple has a leak in it's Tab Bar application template. Have you discovered the same, or am I wrong?

Stefan
- 28,843
- 15
- 64
- 76
0
votes
1 answer
xcode template change framework path
Is it possible in the templateInfo.plist to change where a framework is loaded from?
I can't seem to find how to change it with the framework also being installed to the iPhoneOS#.#SDK and iPhoneSimulatorOS#.#SDK System/Library/Frameworks…

cynistersix
- 1,215
- 1
- 16
- 30
0
votes
1 answer
Which Xcode template should I use?
I want to make an application which shows you the schedule for your school.
It should mainly display the current day and allow you to scroll left and right for switching to the day before or the day after the current selected day.
There should also…

Tyilo
- 28,998
- 40
- 113
- 198
-2
votes
2 answers
how to know iphone applicaton template?
already iphone implemented app running on xcode so how you know, which type of iphone template (view based or window or tab based....)is selected while development?

Pooja
- 2,162
- 5
- 33
- 64