Skip to main content

Questions tagged [xcode]

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

4votes
4answers
1kviews

Is updating a macro value in the Xcode preprocessor's macros violating the open–closed principle?

For example, for some Xcode projects, if I have some places that defines a number at some .cpp files: const int PAGE_MAX=5; and a new requirement comes that needs to change PAGE_MAX, I need to modify ...
wcminipgasker2023's user avatar
4votes
2answers
216views

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 ...
Markwin's user avatar
2votes
0answers
2kviews

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. ...
oorst's user avatar
1vote
1answer
490views

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 ...
Runeaway3's user avatar
2votes
5answers
1kviews

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 (...
Mark Ang's user avatar
2votes
1answer
1kviews

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 ...
Dan Beaulieu's user avatar
20votes
3answers
10kviews

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 ...
drekka's user avatar
  • 1,289
5votes
1answer
262views

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 ...
Marcos Griselli's user avatar
1vote
1answer
268views

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 ...
Thomas's user avatar
2votes
2answers
2kviews

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 ...
Kasztan's user avatar
1vote
2answers
1kviews

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 ...
Steve Schwedt's user avatar
0votes
1answer
423views

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 ...
P.Brian.Mackey's user avatar
1vote
3answers
471views

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 ...
Andrew's user avatar
-1votes
1answer
2kviews

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 ...
Michael Stum's user avatar
2votes
2answers
7kviews

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 ...
GBH's user avatar
  • 391

153050per page
close