Questions tagged [xcode]
Xcode is Apple's IDE for developing Mac and iOS applications.
37
questions
2
votes
2
answers
118
views
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 ...
2
votes
0
answers
1k
views
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.
...
1
vote
1
answer
354
views
What is the best way to load data from DB upon application launch?
I am writing an iOS application in XCode. The data loaded for the multitudes of viewcontrollers is generally loaded from the DB upon the viewDidLoad() or viewDidAppear() for that particular VC, or it ...
2
votes
5
answers
947
views
Is there a better way to debug while avoiding getters/setters?
I'm thinking about how to debug better without using Getters/Setters. If it helps, I program using xcode.
Many answers in Stack Exchange have argued against Getters/Setters for lack of encapsulation (...
2
votes
1
answer
1k
views
How should I handle the fetching of cached data in iOS
I'm developing an app at work, this is my first big application and in my smaller projects I didn't use caching at all.
What's currently happening
When the user logs on for their very first time ...
18
votes
3
answers
7k
views
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 ...
5
votes
1
answer
252
views
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 ...
1
vote
1
answer
267
views
Best architecure approach to develop iOS app
I'm trying to create a calendar app similar to this design: Calendar Design
I'm currently using this calendar framework: CVCalendar and it's working great, but my question is, what do you think is ...
2
votes
2
answers
2k
views
pixel perfect apps techniques [closed]
While doing your iOS app development, do you try to achieve pixel perfect similarity? Is your app identical to provided photoshop designs?
If yes, what techniques are you using to speed this process ...
1
vote
2
answers
1k
views
Workaround for unit testing Core Data in Swift
I am still pretty new to programming, but my first app was recently approved and is now for sale on the App Store. My app uses Core Data and is written in Swift. After some initial difficulties, I ...
0
votes
1
answer
422
views
continuous integration with Xcode [closed]
I'm looking to setup CI. I only own one Mac. I do have a copy of OS X 4.0 Server (free with my Apple Developer Program license). I currently use Git for source control. I would prefer something ...
1
vote
3
answers
466
views
Security in an iOS game?
I'm part of a team building an iOS game which has multiplayer elements.
A concern right now is how to make the game more secure, from user manipulation. I know there's a lot of multiplayer games out ...
-1
votes
1
answer
2k
views
What are guidelines for a Win/Mac/Linux C++ source tree? [closed]
I'm learning C++ (C++11), specifically for cross platform game development using SDL.
on Windows, I use Visual Studio 2012 (Considering buying '14' once it's out), on Mac OS X and iOS I'll be using ...
2
votes
2
answers
7k
views
Can XCode work with TFS?
We have been using Team Foundation Server (TFS) for source code management of our solution which contains components for a number of platforms - asp.net, windows & android so far. We now wish to ...
0
votes
1
answer
140
views
Drawbacks to redefining method in precompiled header
I have a lot of calls to NSLog(...). I need to change all of these calls to CLSNSLog(...).
So I added this to my precompiled header (.pch):
#import <CrashlyticsFramework/Crashlytics.h>
#define ...
-1
votes
1
answer
541
views
Is using non-standard single-line comments fine in C? [closed]
I noticed Visual C++ 2010 (my current environment) and XCode both allow non-standard single-line comments in my C programs. Since these are both my target platforms, I assume it's fine to use it? VC++ ...
1
vote
1
answer
2k
views
Parallel computing using xcode
I'm making mandelbrot fractals in C using Xcode and I want to use parallel computing but everything I've tried so far doesn't work. Such as This Question and other how to guides. Whats the easiest way ...
5
votes
1
answer
1k
views
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 ...
1
vote
1
answer
310
views
Good example of gprof, for iOS project
The GNU profiler gprof, can be used to profile any application right on the device, allowing real world profiling.
As Xcode 4.5 based on LLVM plus it has GNU Debugger, Profiler, and others.
I need ...
1
vote
1
answer
753
views
How to check any undocumented methods provided by apple?
The following tools is provided by Apple
dlopen
dlsym
objc_getClass
sel_registerName
objc_msgSend
Those are listing Objective-C selectors, or strings. Objective-C selectors are stored in a special ...
0
votes
1
answer
215
views
External file (images, sounds) naming convention at Xcode [closed]
What is better naming conventions at Xcode regardng External File
(images, sounds) etc?
Is there any guideline from vendor Apple?
As we store our projects at SVN, is there any complicity from Hosted
...
-1
votes
2
answers
374
views
Was Xcode created with Xcode? [closed]
I don't want to get too philosophical here (like did God create God?), but how did Apple create Xcode? Would it have been possible for them to use Xcode to create Xcode? Or would they have to use ...
7
votes
2
answers
9k
views
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 ...
1
vote
2
answers
3k
views
How to utilize Xcode project & target to manage products?
At first, hopefully following terms project and product won't be confused.
Traditionally, we used to have a code base, which usually was a main project. For our products, we created one project for ...
4
votes
2
answers
12k
views
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:
...
12
votes
1
answer
6k
views
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 ...
5
votes
1
answer
654
views
New to iPhone Development - iOS5 Storyboard [closed]
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'...
-1
votes
1
answer
2k
views
How to estimate effort required to convert a large codebase to another language/platform [duplicate]
Possible Duplicate:
Best way to estimate cost related to porting code from language A to language B?
We have an MFC C++ program with around 200,000 lines of code in it. It's pretty much finished....
1
vote
3
answers
1k
views
What to do with .git folder and data in Xcode?
I am using Hg for my development. Recently, I upgraded to Lion and Xcode 4.2 and I have created a Xcode project in my source tree. The Xcode by default uses Git and created .git folder in the project ...
6
votes
2
answers
2k
views
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 ...
3
votes
1
answer
1k
views
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 ...
26
votes
7
answers
16k
views
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 ...
16
votes
7
answers
21k
views
Why does Microsoft charge a fortune for its developer tools? [closed]
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 ...
1
vote
5
answers
2k
views
One Developer, Two Machines
I currently use a Mac Pro for Xcode development, but am considering buying a MacBook Air when the newer models are released. How should I collaborate with myself when using both machines on the same ...
-2
votes
1
answer
527
views
Can I use Xcode 4.2? [closed]
Can I use the new Xcode 4.2 to make apps for older version of the iOS? Will they work?
I like the new features like the Storyboard and Automatic Reference Counting.
16
votes
6
answers
9k
views
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 (...
5
votes
2
answers
4k
views
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 ...