Questions tagged [xcode-template]

Template used for a specific file type, within Xcode

91 questions
2
votes
0 answers

Switch from "Tabbed Application" template to "Page Based Application"

I've been building my app with the "Tabbed Application" template, but I have decided that I no longer want to use tabs to switch my views and that I would rather use the "Page Based Application" style with the tiny dots on the bottom of the screen…
dcbenji
  • 4,598
  • 5
  • 21
  • 23
2
votes
0 answers

Xcode Project Template: Only add file to filesystem

I want my custom Xcode template to add a .gitignore file to the project directory (on the filesystem), but I don't want the .gitignore file to be added to the project, e.g., the Project Navigator, at all. How do I do that?
ma11hew28
  • 121,420
  • 116
  • 450
  • 651
2
votes
2 answers

How to edit an default Xcode template?

When I create an NSObject subclass, I always get an empty implementation. There are some things I always put in my code like pragma marks and -dealloc methods. I prefer to just delete stuff that I don't need over writing it with typos from scratch…
HelloMoon
1
vote
1 answer

What kind of template for ios application

im trying to build an application like a book, with so many custom views and intensive animations. i want to know what is the best template for this kind of app? single view, view based? thanks
returnvoid
  • 434
  • 1
  • 7
  • 19
1
vote
3 answers

Can't find UIView Subclass Template in XCode 4

Did it disappear ? In XCode 3 it did exist. How to create a subview class in XCode 4 ?
user310291
  • 36,946
  • 82
  • 271
  • 487
1
vote
2 answers

How can I edit the automatic prefix generation for each new created file in Xcode?

How can I edit the automatic prefix generation that is generated when I create a new file? I mean a prefix like this one: // someViewController.h // someAppName // // Created by someProgrammer on 11/6/11. // Copyright (c) 2011 __MyCompanyName__.…
Nikita
  • 1,811
  • 1
  • 20
  • 41
1
vote
1 answer

How to support Xcode Templates for SwiftPM?

I have Xcode Template that generate a bunch of files (not project) with some predefined repetitive code (for example classes for MVVM pattern). When I try to create these files in Xcode Project all works fine (I can find and create my templates in…
pacification
  • 5,838
  • 4
  • 29
  • 51
1
vote
1 answer

Xcode template doesn't pick the variable from popup

I'm writing an XCode template. Everything works perfectly fine if I use text value for the variable: Identifier appName Required true
laechoppe
  • 232
  • 3
  • 14
1
vote
3 answers

Core Data Project template questions in XCode 4

I've created a Window based iPhone application in XCode 4 with Core Data. Regarding the core data bits I have some questions: In the application delegate header file there are no the 3 core data properties do not appear as instance variables? …
Greg
  • 34,042
  • 79
  • 253
  • 454
1
vote
1 answer

How to change the header comment for swift file

Custom the header comment for every project. I created a plist file called IDETemplateMacros.plist and it's custom the header comment for all project but I need custom header for specific project, not for all the project and revert the custom text…
Swetha Lakshmi
  • 259
  • 5
  • 12
1
vote
1 answer

How to build a sample Ogre / Xcode template for iphone?

Hi I have installed Ogre 1.7 , Copied iphone dependencies and the project is running in simulator with around 25 sample projects. I need to build a template with only one sample example. Can you please guide me to do so...
pradeepa
  • 4,104
  • 5
  • 31
  • 41
1
vote
0 answers

How to customise a template

I have a very specific question so I hope someone here can answer. I have been working on making my own templates on Xcode and objective C so that I can start my projects a bit faster for iOS. Thanks to people in this forum and also mostly…
Paul
  • 1,277
  • 5
  • 28
  • 56
1
vote
5 answers

Can't compile Three20 template on iOS4

I pulled the latest version of three20 from github and installed their template. I opened it up in XCode, built it, ran it, then I realized the template isn't iOS4 ready. The first issue I found was "Base SDK not found". I solved it in Edit Project…
kayue
  • 2,546
  • 3
  • 20
  • 16
1
vote
1 answer

iPhone OpenGL Template is cheating?

XCode's OpenGL template seems to be cheating to solve this "stretched" viewport problem I've been trying to understand for the last 3 hours. In the iphone "OpenGL ES Application" template, the colorful square that bounces up and down on the screen…
user360092
  • 87
  • 8
1
vote
3 answers

Iphone sdk - How to setup a 'template'

I've been working on a Cook Book App and I've been making each page individually which takes a really long time to do, I asked a question similar to this and it was brought to my attention that you can setup a way to automate the design process so…
Dave
  • 348
  • 1
  • 6
  • 23