Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [ios]

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

5
votes
2answers
2k views

Is it safe to trust emulators when developing multi platform/resolution mobile apps?

I'm currently developing some mobile applications using PhoneGap for Android, testing only in 3 different kinds of smartphones, and using emulators to test on the others target phone resolutions. ...
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 ...
34
votes
2answers
41k 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-...
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 ...
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 ...
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 ...
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 ...
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 ...
1
vote
1answer
725 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 ...
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 ...
5
votes
5answers
465 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 ...
2
votes
1answer
391 views

How to avoid repeating a condition in methods that use it differently?

Let's say I have an app that displays details for a person. Each person can have zero or more phone numbers and zero or more notes attached to it. Thus, I have a Core Data entity Person with one-to-...
9
votes
3answers
795 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 ...
4
votes
1answer
305 views

Could Apple and Microsoft allow the GPLv3 on their locked-down devices?

It seems that both Apple and Microsoft prohibit GPLv3-licensed software in the app stores for their locked-down devices (i.e. iOS, Windows Phone and the Metro part of Windows). I have heard various ...
3
votes
2answers
3k views

In iOS, y-axis starts from the top and grows downward. It is the opposite to macOS. What is the rationale and technical advantage behind this change?

In iOS, the coordinate (0, 0) means the top left corner. In macOS it is the bottom left corner. What is the Apple's rationale or technical advantage of this coordinate system?
3
votes
2answers
8k views

iOS version/device statistics - where can I find? [duplicate]

Since I am developing iOS apps I'm trying to find stats on how many iOS devices there are out there. Preferably broken down into versions: Iphone 3G, Iphone 3Gs, Iphone 4 etc. Also I'd like to know ...
2
votes
4answers
578 views

Different feature set in multiple mobile apps from the same code base

I inherited a large code base (iOS / Objective-C) that is used to build multiple mobile apps. The apps have similar, but not identical UI. The apps share a lot of common features, but there are ...
1
vote
2answers
391 views

Good Programming Practice for similar child classes

I am developing an iOS application, in which I have to draw some patterns on a view based on option selected by user. Let me explain you more clearly. User will be shown number of images as options ...
1
vote
1answer
888 views

Using an AGPL 3.0-licensed library for extra functionality in an iOS app

I am building an iOS application, and I am planning to incorporate an AGPL 3.0-licensed library to it to provide some extra (non-essential) functionality. I’ve got a couple of questions regarding this:...
0
votes
1answer
241 views

Where does one draw the line between inspiration and plagiarism? [closed]

Suppose one would like to use in an iOS app only one function from a GPLv3 library that contains a large number of them. One cannot simply link the whole library beacuse otherwise the resulting ...
-1
votes
1answer
870 views

Git Branch Model for iOS projects with one developer [duplicate]

I'm using git for an iOS project, and so far have the following branch model: feature_brach(usually multiple) -> development -> testing -> master Feature-branches are short-lived, just ...