Template used for a specific file type, within Xcode
Questions tagged [xcode-template]
91 questions
7
votes
0 answers
Creating sub-groups in Xcode for FILE Template
I am trying to create a custom FILE template (not Project Template). where i need to create the file in a new group (new folder) which should also be created along with the File. i have searched the net but there is no reference for File Template…

DragonDay
- 71
- 5
7
votes
1 answer
Xcode Project Template: Add file to the project group
How do I make my custom Xcode project template add a file, e.g., README.md, to the project group (in the Project Navigator)?
The following steps puts the README.md file in the root project directory (on the filesystem) but in the group named after…

ma11hew28
- 121,420
- 116
- 450
- 651
7
votes
2 answers
How and why should I use the 'In-App Purchase Content' template within Xcode?
I'm wanting to develop an application that will have in-app purchasing ability for non-consumable features/upgrades. After reading through a few documents today, this looks pretty easy.
While looking through the available Xcode iOS templates, I saw…

RLH
- 15,230
- 22
- 98
- 182
6
votes
1 answer
Xcode 4.2 Template Changes - UIApplication & MainWindow.xib
Background: Up until Xcode 4.2, new projects created using any of the templates would contain a MainWindow.xib and therefore pass nil as the fourth argument of UIApplicationMain(). Starting in Xcode 4.2 all the templates instantiate the application…

edelaney05
- 6,822
- 6
- 41
- 65
6
votes
2 answers
What are the build setting modifiers in Xcode called?
I've seen some build settings being used like
$(PRODUCT_NAME:identifier)
Using :upper also makes the setting value uppercase, but I don't know what those are called and can't find any documentation. Does anyone know their name or where the…

Javier C
- 726
- 5
- 15
6
votes
3 answers
Xcode template <> format
I'm working up a custom Xcode template, and I'd like to change the way <> is formatted.
For example:
// Created by «FULLUSERNAME» on «DATE».
// Copyright «YEAR» «ORGANIZATIONNAME». All rights reserved.
if the file was created today would…

SooDesuNe
- 9,880
- 10
- 57
- 91
5
votes
2 answers
why there is no "Use Core Data" check box with Tabbed Application template
I need a tabbed application with core data persistence. when i create a new project with Tabbed Application template, i can not find the "Use Core Data" check box. Is it okey to manually add a core data to a project created with Tabbed Application…

lu yuan
- 7,207
- 9
- 44
- 78
5
votes
1 answer
How to create a new XCode project from an existing c/c++ code space
How to create a new XCode project from an existing c/c++ code space?
What type of project I should pick from XCode project template?
Thank you.

lucius
- 2,179
- 7
- 28
- 26
5
votes
4 answers
Replacement for Navigation-based application template in Xcode 4.2?
Xcode 4.2 no longer has the Navigation-based Application template.
What should I use in replacement when starting a project?

pdenlinger
- 3,897
- 10
- 60
- 92
5
votes
3 answers
"Cocoa Touch Application" Template from Xcode 3.1.1
Just installed the latest SDK for iPhone 2.1. When I go to File -> New Project in Xcode, under the iPhone OS Application selection, I don't see a template icon for "Cocoa Touch Application". Am I missing something? Anything else I need to download…

Mac
- 2,693
- 7
- 36
- 44
4
votes
1 answer
Xcode 4 template, create empty group
I'm trying to create a xcode 4 template. Everything works fine except for the fact that I can't create an empty group.
I would like to have this project structure:
ProjectName
-Models
-Controllers
-Views
-Services
Definitions
…

user785589
- 41
- 4
4
votes
2 answers
What's the code template workflow of these presenters?
Short introduction
Working on my first commercial iOS app, XCode 3.2 has proven to be far more challenging of an environment than I anticipated. Features I've grown fond of in other environments (For example Eclipse for Java, or FDT for…

epologee
- 11,229
- 11
- 68
- 104
4
votes
1 answer
View-based iOS application template
I've read Apple's "Your first iOS application" guide and everything there seems crystal clear to me. However, when I try to understand how View-based iOS application template provided in XCode works, I run into some interesting conundrums.
I…

itim
- 312
- 2
- 11
4
votes
0 answers
Create "physical" folder for Xcode custom template
Want to create my custom template for Xcode. Idea - to create simple template with predefined structure of folders.
I found this and this resourses
This approach only create groups but not folders.
For example i want to create something like…

hbk
- 10,908
- 11
- 91
- 124
3
votes
2 answers
How do I add files to the Copy Bundle Resources build phase with an Xcode4 Project Template
I'm working on an Xcode 4 project template and I'm struggling with controlling the files that get added to the Copy Bundle Resources build phase--header files get added that I do not want to be copied into the project bundle and a file that I do…

Daniel
- 872
- 1
- 11
- 20