Questions tagged [xcode-template]

Template used for a specific file type, within Xcode

91 questions
1
vote
1 answer

Does Xcode have resolve imports functionality?

In Eclipse, I rarely have to manually import a file due to its ability to automatically resolve imports using a keyboard shortcut. Is this available in Xcode?
Casebash
  • 114,675
  • 90
  • 247
  • 350
1
vote
1 answer

How can I delete "Save as" dialog from my Xcode template?

I've done my custom Xcode template. It creates 2 implementation and 3 header files. I input only 1 name and others are chosen automatically. But when I save these files "Save as" dialog appears. When I create usual Obj-C class using Xcode template…
eilas
  • 373
  • 6
  • 17
1
vote
1 answer

How to add "Class Prefix" field while creating xcode project template

I am using a custom template that was defined already by some one. When I use that template, Xcode is not asking for "Class Prefix". Because of this, what ever the classes that are created using this template are having a class name as project name…
Sravan
  • 1,891
  • 4
  • 23
  • 28
1
vote
1 answer

Split View-based template for iPad in horizontal?

I´ve been reading different questions in StackOverFlow ( What application template should I use for my geolocation application? or main Differenece Between View-Based and Window-Based Application template?, for example) in order to understand which…
AlvaroSantisteban
  • 5,256
  • 4
  • 41
  • 62
1
vote
1 answer

On iOS and Xcode, how can initWithCoder be automatically be included?

It is said that when a UIView object is created with programmer's code, then initWithFrame is the method to use for initialization, but when the UIView object is created with a NIB, then initWithCoder is used for initialization. When a new subclass…
nonopolarity
  • 146,324
  • 131
  • 460
  • 740
0
votes
1 answer

How can I add LevelHelper template on xcode?

Currently I am using xCode 3.2.5 and I have already installed cocos2d template "cocos2d 1.0.1" but and I am trying to install levelHelper Templates as per instruction but I am unable to get level helper templates in XCode. Can you please tell what…
Raj
  • 1,213
  • 2
  • 16
  • 34
0
votes
1 answer

Xcode file templates aren't created correctly

I'm having an issue with custom file templates in Xcode 4. For example, with the cocos2d templates, when I try to make a new CCLayer file called GameLayer at my project root, it generates the files at .xctemplate/CCLayer/Gamelayer.h and…
Christian Schlensker
  • 21,708
  • 19
  • 73
  • 121
0
votes
3 answers

Which template for my iOS project?

I'm about to create a new application and wanted to know what template to start with for the following functionality and any key pointers you can provide for a beginner would be really appreciated! Starts with splash screen and goes to first…
Justine4601
  • 29
  • 1
  • 5
0
votes
1 answer

How to create custom SwiftUI View playground template in Xcode?

I want to create a custom Xcode playground template for SwiftUI View. What file formats are used? How can I find examples? Where should I put those files?
DanSkeel
  • 3,853
  • 35
  • 54
0
votes
2 answers

What type of iOS project template should I start with?

I'm building a project similar in design/scope to Invoice2Go and was wondering what the appropriate iOS project type would be to start with in XCode.
cstrouse
  • 288
  • 1
  • 3
  • 17
0
votes
1 answer

UIViews not showing in my window based template?

UIView not shown on my window based template? I am creating an app for this a was use the window based template and a view controller and for checking drop label but after execution it appears like clean white window. in delegate header file i do…
M Faheem Rajput
  • 768
  • 2
  • 9
  • 27
0
votes
1 answer

Creating a new document with UIDocumentBrowserViewControllerDelegate (from Document Based App template)

I created a new app in Xcode 11.2 based off the iOS Document Based app template. I then modified the document type to a custom type, and made a small change to use a file in the bundle as a template when making a new document. I left the rest of the…
Garrett Motzner
  • 3,021
  • 1
  • 13
  • 30
0
votes
1 answer

XCode utility template crashes

following the next exact steps i get a SIGKILL from xcode : creating a new Utility Based iOS template for the iphone building and launching it with the emulator pressing the home button double pressing home and closing my application relaunching…
Matan
  • 581
  • 2
  • 4
  • 13
0
votes
2 answers

What application template should I use for my geolocation application?

I have read this question about the differences in the window- and view-based iOS application templates in Xcode, but I'm still confused about what template to use in my iPhone app. I am developing a geolocation app for service stations. What…
Malloc
  • 15,434
  • 34
  • 105
  • 192
0
votes
0 answers

How to add the xcconfig file in plist for custom Xcode template?

I am trying to write my own Xcode template, now I have a problem for pointing Xcode to my custom xcconfig file. I already add the config files in the project, now I am not sure what's the key for setting it so Xcode knows, any ideas? This is what I…
Anna
  • 443
  • 9
  • 29