Questions tagged [xcode]

Xcode is Apple's IDE for developing Mac and iOS applications.

Xcode is Apple's IDE for developing Mac and iOS applications. It's found on the Mac App Store and at http://developer.apple.com/. The most recent version, released in 2011 is Xcode 4. In addition to Objective-C (and some other languages) code editing and project/build management, it can edit XIBs (XML Interface Builder files, somewhat akin to XAML files in Silverlight) and Core Data managed object models.

37 questions
26
votes
7 answers

Is there a technical reason why you can't develop iOS apps on a Linux computer?

I understand why you can't develop OS X apps on a Linux computer, but is there a good technical reason why you can't develop iPhone and iPad apps on Linux? Why isn't it possible to compile iOS source code into an iOS executable and run it in an iOS…
dan
  • 2,283
  • 3
  • 22
  • 23
18
votes
3 answers

Managing code: Unit tests with source or separate?

The standard practice in the Objective C world has been to follow that laid down in the Java world when it comes to code management. i.e. Your application source code goes in one directory, and your unit test code goes in another. I've always found…
drekka
  • 1,269
  • 1
  • 9
  • 20
16
votes
7 answers

Why does Microsoft charge a fortune for its developer tools?

Microsoft charges thousands of dollars for most versions of Visual Studio. Compare this with companies like Apple and Google and with organizations like GNU and Eclipse that give away developer tools for free, it makes me wonder where the difference…
Kyle Cronin
  • 399
  • 1
  • 4
  • 8
16
votes
6 answers

Vim key mappings / plugin XCode?

I'm a developer who mostly does web stuff in ruby and C#. I'd like to start tinkering with iOS and Mac development. Over the last few month i've been trying to get fluent in one set of key bindings (vi / vim because it just feels right). I have the…
Daniel Upton
  • 987
  • 8
  • 15
12
votes
1 answer

Organizing code for iOS app development

I've been developing an app for the iOS platform, and as I've been going along, I've noticed that I've done a terrible job of keeping my files (.h, .m, .mm) organized. Is there any industry standards or best practices when it comes to organizing…
7
votes
2 answers

Best Way To Bring C++ Into Objective-C Project

For an upcoming XCode iOS project I'm planning on writing my views and view controllers in Objective-C. My model will be provided to me in C++. I am aware of 2 ways of using C++ in an objective-c project. They are described below. What are the pros…
Ben Boral
  • 193
  • 1
  • 5
6
votes
2 answers

If I have two developer license accounts with Apple, can I easily switch between the two for app development and publishing?

I've been interested in iPhone development since the release of the iPhone, however, I am on a limited personal budget. I've never been willing/able to fork out the money necessary for an iPhone and a Macbook. I know, some may argue that it's not…
RLH
  • 533
  • 4
  • 16
5
votes
2 answers

How to set up a multi-developer iOS environment?

Let me explain my need: I'm having a networked environment with 3 computers connected to a server which will be running full-time. The server also runs a FTP server. I would like to create an environment where 3 developers will be able to work on…
Mithun John Jacob
  • 123
  • 1
  • 2
  • 7
5
votes
1 answer

Is Apple sample code the "correct" way to go?

I'm in a place were I know how to build apps and have submitted at least 5 for different clients to the app store and wanted to step up my game. So of course I went to Apple resources and analyse the code deeply (I've used Apple code resources…
5
votes
1 answer

Why does XCode convert PNGs to CgBI format?

According to the research done here http://imageoptim.com/tweetbot.html, Xcode's conversion of PNGs to the proprietary Apple CgBI format does not create a noticeable performance improvement. Their claim is that the conversion only reduces PNG…
Gdeglin
  • 159
  • 3
5
votes
1 answer

New to iPhone Development - iOS5 Storyboard

I'm new here and pretty new to iOS development. My question is basically, should I learn the old school development methods or just learn how to do things using the latest tools (i.e. Storyboard)? I've had a go with the Storyboard feature of XCode…
Peter
  • 153
  • 4
4
votes
2 answers

IOS Variable vs Property

Just started diving into Objective-C and IOS development and was wondering when and the correct location I should be declaring variables/properties. The main piece of code i need explaining is below: Why and when should i be declaring variables…
William
  • 141
  • 1
  • 1
  • 2
3
votes
1 answer

Risks in giving out distribution cert/private key/provisioning profile to freelancer

Are there any risks in giving out distribution certification/private key/provisioning profile to a freelancer? The freelancer needs to build the binary for me to submit (I am okay with this because I don't own the source code of the app), I just…
user34401
  • 741
  • 2
  • 11
  • 13
2
votes
2 answers

Swift, creating views with table view controller

Im not sure if this is the right place to post this kind of question, but, I heard from a colleage that he creates all his views in a table view and for each item creates a separate cell. e.g. A title would be a different cell, image a different…
Markwin
  • 21
  • 3
2
votes
0 answers

Unit testing C++ in XCode

I'm working on a plugin for some drafting software. The plugin takes the form of a dynamically loaded mach-o bundle. The software vendor provides a template plugin in the form of an XCode project. The whole thing is written in C++, but XCode doesn't…
oorst
  • 139
  • 5
1
2 3