Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [ios]

Questions about issues that are specifically related to Apple's iOS operating systems (whether directly or indirectly).

Filter by
Sorted by
Tagged with
74
votes
15answers
8k views

How should a developer reject impossible requirements? [closed]

Here's the problem I'm facing: Quote From Project Manager: Hey Spark, I'm assigning you the task of developing a framework that could be used for many different iOS applications. Here are the ...
36
votes
6answers
38k views

How to avoid big and clumsy UITableViewController on iOS?

I have a problem when implementing the MVC-pattern on iOS. I have searched the Internet but seems not to find any nice solution to this problem. Many UITableViewController implementations seems to ...
35
votes
2answers
42k views

MVCS - Model View Controller Store

I recently decided to start learning iOS Development, and to this end I’ve been reading iOS Programming: The Big Nerd Ranch Guide. In the book the authors describe a design pattern MVCS - Model-View-...
25
votes
1answer
1k views

Rest APIs - mobile specific challenges

I'm working on a new iOS app project, on the mobile side. Some architecture changes are happening and it turns out we will have to rely on a custom built private API that will be used by the app we ...
25
votes
4answers
6k views

The perfect crossfade

I find it hard to describe this problem in words, which is why I made a video (45 seconds) to illustrate it. Here's a preview of the questions, please have a look at it on Vimeo: http://vimeo.com/...
23
votes
11answers
4k views

Why it is necessary to to test my iPhone app on actual iPhone device

I developed one application for iPhone and now I want it on App Store. So many my iOS geek friends told me to test it on actual device i.e. on iPhone. So I wonder that why it is necessary to to test ...
23
votes
7answers
11k 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 ...
21
votes
10answers
4k views

What is the benefit of 64 bit A7 in iPhone

I'm trying to figure out why going to 64 bit processors is such a big deal in an iPhone. I understand that there will be twice as many registers so the processor can work with twice as much data which ...
16
votes
3answers
4k views

Massive View Controller - IOS - Solutions

I'm sure every new iOS developer has the following problem: The View Controllers get very fast crowded with code for various purposes, easily getting to 500 + lines of code. This is how it looks like ...
15
votes
2answers
4k views

I'm porting my app from iOS to Android: what do I need to know? [closed]

What pitfalls should I avoid? What Java language paradigms do Objective-C developers consistently misunderstand? I learned to program in Java, but I have worked in nothing but Objective-C for years ...
14
votes
3answers
6k views

Safe iPhone app ↔ server communication

What would be the best approach to achieving private communication between my iOS app and its server component? Is having a single unchanging “secret key” baked into the app source enough, or do I ...
12
votes
7answers
1k views

Developers inheriting code. What to ask the old developer to better help the new developer? [duplicate]

We've had our old iOS developer drop out and we're looking for a new developer or a team to pick up where he has left off. I'm aware there can be issues with developers inheriting code etc. What are ...
12
votes
1answer
1k views

Naming convention for iOS/OSX open-source projects

Not always but most of the time, you will find iOS or Mac OS X open-source projects with names starting with the initial letters of the author first and last names. If a project were to be authored by ...
12
votes
1answer
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 ...
11
votes
2answers
6k views

Why does Apple only allow for Static Frameworks on iOS?

Clearly Apple has the ability to create dynamically loaded libraries (known as frameworks) for iOS, as they ship several with XCode (such as UIKit). App developers only have the ability to create ...
11
votes
2answers
22k views

What is Delegation and why is it important in iOS programming?

At the moment I am teaching myself iOS programming, and one concept I find really hard to wrap my head around is delegation. What is it? Why and how is it used? What is the advantage? The technical ...
11
votes
1answer
467 views

Besides the IDE, libraries, and language, what are the main differences between iOS and Android development? [closed]

I'm coming from the iOS side. I'm particularly interested in knowing if there are similar hurdles on the Android side on these points: developer fee -- do you have to pay $99 a year to build for ...
10
votes
3answers
6k views

Continuous integration (with iOS and Android projects) [closed]

I'm trying to make some positive changes in my company and one of the changes is implementing continuous integration. We do mobile development (iOS/Android) so I need a CI that supports both types of ...
10
votes
1answer
11k views

What are the differences between AppMobi and PhoneGap?

I am new to the cross platform application development. I came across the very similar cross platform frameworks AppMobi and PhoneGap. I want to know Is there any differences between apk/ipa created ...
10
votes
1answer
32k views

Current iOS version/device statistics?

The answer to this SO question has become stale: iOS version/device statistics - where can I find? because time currency wasn't part of that question, and iOS version updates have been release since ...
10
votes
1answer
5k views

Why do Core Data sqlite table columns start with 'Z'?

I was looking at the sqlite table that Core Data generates and noticed that all table columns start with 'Z'. I realize this is an implementation detail, but I was curious as to why that's the case ...
10
votes
2answers
2k views

How to Release to the App Store as an Individual

I've written an iOS app, and I'd like to release it on to the App Store. I'm an individual so it's not being released via a company or anything, just me. Is it typical to just release a free app ...
10
votes
3answers
1k views

What is the most cross-browser/system compatible option for 3d graphics on a web page?

I would like to develop a bit of functionality for a web site that involves a bit of 3D - the user can move around objects, rotate them and texture them. So far I've looked into: WebGL (in ...
9
votes
4answers
393 views

Why do development devices give you more resources than a typical device?

I have created an app that works on my 4th generation iPod Touch and my company's 5th generation iPod touch. We were about to release, when we found a crash that occurs after any non-developer ...
9
votes
3answers
804 views

Is it unethical to track app usage through REST API calls?

I am building an app that communicates with my website with ASIHTTPRequest to a PHP-based REST API on the server side. Naturally, in my app I have different endpoints on the server side, and usually ...
9
votes
2answers
1k views

Developing professionally for iOS, Android and web - an insight

This is not really a question on how to develop all three, I know various cross platform ways and so on. But I more want to know from developer standpoint how hard it is to basically develop iOS, ...
9
votes
3answers
370 views

Where should I put methods that make an Http Request to get data from a web service in iOS development?

I have a Model Car in my iOS application where it's parameters like name, year, value etc are fetched from a web service in order to fill a list with cars data. Where should I put the method that ...
9
votes
1answer
600 views

Design for an application framework that will allow each implementation to customize parts of the UI

I am tasked with designing an application framework that will allow each implementation to customize parts of the user interface. One such example would be that the implementation (let's call it ...
8
votes
8answers
705 views

Unit test which asserts that current thread is the main thread

The question is does it make sense to write a unit test which asserts that the current thread is the main thread? Pros/cons? Recently I've seen the unit test which asserts the current thread for the ...
8
votes
9answers
6k views

Should I require users to register to use my app?

So I'm very close to releasing an app I've been working on, and the server I integrate with allows me to register users. So I was wondering if I should require users to register with the app before ...
8
votes
4answers
2k views

Where does Objective-C come from? C++ or C?

I am very confused about this programming language, Objective-C, which I heard is used to develop iOS applications. I know that it uses the principles of OOP. Would it be easier to learn if I already ...
8
votes
3answers
2k views

How much C/C++ knowledge is needed for Objective-C/iPhone development?

First, a little background. I'm a .Net developer (C#) and have over 5 years experience in both web development and desktop applications. I've been wanting to look into iPhone development for some time ...
7
votes
2answers
16k views

Pure C++ for iOS apps [closed]

Is it possible to use only C++ to create iOS apps? Is there any downside to that? I read somewhere that you have to use a mix of objective C and C++ if you want to use C++ that bad.
6
votes
4answers
1k views

Why does iPhone and iPad apps have a Free version and a full version, instead of “unlocking” it through in-app purchase?

Many apps have a Free version and a Full version. How is it compared to, installing a single version, and use an in-app purchase of $0.99 or $1.99 to unlock to the program to make it a full version? ...
6
votes
3answers
6k views

Is it better to target iOS 5 and ARC or an earlier version with MRC?

I personally don't know much about iOS 5, but it seems like with automatic reference counting (ARC), you get rid of much of the memory management issues of the previous operating systems. So is it ...
6
votes
2answers
915 views

Keeping third-party source code up to date

What is the best way to keep third-party source code up to date? For instance in my app, I'm using third-party source code from an open GitHub repository. What I've done is that I have downloaded the ...
6
votes
4answers
3k views

JSON API or Plain JSON

There is a debate in my company on whether we should use the JSON API specification or stick to plain JSON for developing APIs that will be consumed by mobile apps, mainly iOS and Android. One ...
6
votes
2answers
2k views

Are there bots that download new iOS apps without being asked? [closed]

I noticed on the first day my iOS app hit the app store I got a download from Albania and another one from China. The app is only useful to a specific group, all of which are in a certain U.S. city. ...
6
votes
1answer
2k views

iOS and Server: OAuth strategy

I'm trying to working how to handle authentication when I have iOS clients accessing a Node.js server and want to use services such as Google, Facebook etc to provide basic authentication for my ...
6
votes
3answers
8k views

How and when to use UNIT testing properly

I am an iOS developer. I have read about unit testing and how it is used to test specific pieces of your code. A very quick example has to do with processing JSON data onto a database. The unit ...
6
votes
2answers
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 ...
6
votes
1answer
2k views

How do you write tests for methods that interact with data in system files?

I'm trying to be proactive about writing an iOS app in a test-driven manner. However, I'm stumped as to how to test a method that is to interact with real system files. For those familiar with iOS, I'...
6
votes
2answers
463 views

Data structures for storing finger/stylus movements in drawing application?

I have a general question about creating a drawing application, the language could be C++ or ObjectiveC with OpenGL. I would like to hear what are the best methods and practices for storing strokes ...
6
votes
1answer
1k views

When should an iOS app create a new NSURLSession vs. reusing an existing one?

I'm migrating my team's app to use NSURLSession instead NSURLConnection's because of the numerous now-deprecated APIs in the NSURLConnection family of classes and protocols. As part of that, we need ...
6
votes
2answers
3k views

Copyright Laws for Apps

For my app that I'm about to release, I have used a bunch of 3rd party classes found for free online. I checked all the liscenses before using the code and each one said I could use the code ...
6
votes
3answers
1k views

How exactly to use the MVC design pattern

I have read the documentation on the apple's developer website which refer following guidelines A view class shouldn't depend on a model class (although this may be unavoidable with some custom ...
6
votes
1answer
2k views

Solutions for iOS collaborative sync (iCloud CoreData, CouchDB)?

I'm developing an iOS app where one of the features will be allowing users to share and collaborate on data (e.g. lists). From everything I've read and based on the way that iCloud CoreData sync works ...
6
votes
1answer
398 views

What's the proper way to organize ViewControllers and XIB?

I am developing a very simple iPhone game with this view hierarchy: Main Menu View └> New Game View | └> Player vs Computer Game View | | └> Pause View | | └> End ...
5
votes
1answer
2k views

Which mobile development platform is easiest to develop? [closed]

From your experience in developing mobile apps, which mobile development platform is easiest to develop? iOS, Android or WinPhone 7? And why would do you think it is the easiest? If you can order it ...
5
votes
5answers
466 views

The reason to make some code open source

I have a library that makes architecture to load data from server and display all controls in table layout. It works great but it have a lot of TODOs there. Also, this library in 99% created by me. I ...