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

learn more… | top users | synonyms (2)

6
votes
2answers
2k 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 ...
1
vote
1answer
95 views

Is it bad practice to include two types of views in the same class?

In my app, I use a widget with a loading spinner to signify that a network request is waiting. On failure, there will be another view which contains a failure message and a "Reload" button. My ...
2
votes
0answers
100 views

Why do these iOS and OSX framework structures contain a version called 'A'?

I've been looking at development strategies for frameworks and have found a few good resources. However in the structure of frameworks in iOS and OSX I want to know why inside of the versions folder, ...
0
votes
0answers
38 views

Naming objects and properties clearly without exposing implementation details

I'm re-architecting an iOS mobile app that consumes an API with somewhat haphazard and oftentimes slow performance. The reason for the slowness is because the API is actually a layer on top of a ...
0
votes
0answers
80 views

Unit Testing in iOS — Should I split out my Data Model into it's own class?

I'm attempting to try out using unit test in for the first time in new iOS activity for work. I love the idea of unit testing, but always find the specifics to be... messy. I get the general ...
1
vote
4answers
218 views

Difference between the two enums

I came across an enum definition :- typedef enum NSInteger { kBorderTypeNone = 0, kBorderTypeLeft = 1 << 0, kBorderTypeRight = 1 << 1, kBorderTypeTop = 1 << ...
0
votes
2answers
242 views

Is there a download limit to ios apps?

With reference to iOS 7. I couldn't find any Apple documents with regards to this. Are we able to download any size of documents and manage them ourselves (within our app say < 100MB)? Example, we ...
0
votes
1answer
166 views

detect if a combination of string objects from an array matches against any commands

Please be patient and read my current scenario. My question is below. My application takes in speech input and is successfully able to group words that match together to form either one word or a ...
0
votes
1answer
93 views

Terminalogy “Controller” in MVC and “ViewController” in IOS

While studying IOS, i generally come across viewcontroller. That gives me, confusion, if this "ViewController" has to do something with controller ( in MVC ) ? But how come both "view" and ...
0
votes
1answer
2k views

Mobile development project architecture model/pattern

I would like to hear some improvement suggestions for mobile development (Android/iOS) project architectures. I would like to go for a "safe" design, modular and that can be easily maintained in time. ...
1
vote
1answer
193 views

Create an Objective-C category to route methods depending on a specified type

For one project, I needed to find a solution to avoid code like this: if ([self.desiredColor isEqualToString:@"Red"]) [self constructRedMenu]; else if ([self.desiredColor ...
0
votes
2answers
194 views

Starting point for building an iPhone app [closed]

I have one idea that I want to make an app for iPhone, I have recently bought a mac for the same purpose. I want to make small app and build on it in later versions. I work in in a small company and ...
0
votes
0answers
77 views

How do I get fluid gesture motion in third party maps app on iOS?

There are a couple of apps on the App Store that use external map sources, for various reasons, to display map data. Some even have multiple sources for bike traffic and so on. However some of them ...
4
votes
1answer
287 views

Modelling Login and Authentication on an iOS mobile client

I'm about to start working on a V2 of a mobile application and I'd like to adopt a more object-centric approach. Primarily because I think it makes for more maintainable code, but a secondary ...
0
votes
0answers
584 views

How is MTU determined and can it be changed

I'm developing a multi-part solution that consists of an iOS application and OS X application which communicate over Bluetooth Low Energy. Everything works fine and I can send moderate amounts of text ...
-2
votes
2answers
171 views

iOS7 apps only using iPad only

I would like to develop iOS apps but due to budgetary issues I can only afford an iPad mini gen1 or iPod touch 5th gen. Is it possible for me to make apps for all iPhones and iPads/iPods using just a ...
-2
votes
1answer
1k views

Connecting a native iOS app to backend and database

I have a good amount of experience working with objective-C and making iOS apps that work locally and with BaaS providers (Parse.com). However, I'd like to take my mobile development to the next level ...
-2
votes
1answer
66 views

Turning a problem into a data

OK, I have an app that I'm creating but I'm just really not sure about how to approach the problem. The idea is fairly simple. I'm just not sure how to wrap it in a data model (or even if I should). ...
1
vote
1answer
155 views

Managing large downloadable content on mobile devices

This is a general question of how to best manage large downloadable content on mobile devices. Lets consider a situation whereby a mobile app needs to download a number of very large content items, ...
4
votes
1answer
524 views

Are there any significant advantages to using a native language for mobile app development? [closed]

Forgive me if this question has already been answered but I couldn't quite find the answer I was looking for. What I wanted to know was, is there any significant advantage to using a native language ...
1
vote
3answers
198 views

Which one is better offline method for large scale application

We've a big data management website used by several property. Some of our customers have downtime (they can't access net for an hour or two). We want our site to support offline data viewing and ...
1
vote
0answers
121 views

Designing object oriented programming

Basically, I want to make api calls using an SDK I am writing. I have the following classes: Car CarData (stores input values needed to create a car like model, make, etc) Basically to create a ...
1
vote
0answers
99 views

Objective-C Lesson in Class Design

I have the following classes: Teacher Student Class (like a school class) They all extend from KObject that has the following code: - initWithKey - send - processKey Teacher, Student ...
1
vote
1answer
188 views

Custom animation iOS

I have seen animation, and i can't figure out how to do something like in this video(youtube). I want to discuss how it's made. I don't think that they're using sprites. I have one idea how to do ...
1
vote
1answer
439 views

If I send an IPA over TestFlight, can it be used to deploy to the app store?

I am currently working for a small startup. I was previously under contract, now I am working for equity (no pay). The thing is, there is not yet a signed agreement in place as the details are being ...
0
votes
1answer
302 views

iOS: Multiple images or single scaling image

I have a fiery debate running in the office. We have an app with two buttons of different size. (One is 40 px wide and one is 150 px wide). They have the exact same look in terms of background image. ...
19
votes
10answers
2k 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 ...
9
votes
4answers
365 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 ...
1
vote
5answers
1k views

What are the reasons to create UIView subclass?

I've noticed that there are a lot of UIView subclasses in my legacy project. Mostly the only reason of such a subclass is to split bigger view into custom subviews and provide layout for its subviews ...
7
votes
3answers
282 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 ...
0
votes
1answer
340 views

Upgrading an app to support iOS5, 6 and 7

We are looking at an app that needs an upgrade. Currently it runs on iOS4, 5 & 6. The upgrade will move to iOS5, 6 & 7. It will also involve some UI changes and new features. I've been reading ...
0
votes
0answers
173 views

Do multiple 'helper' classes conflict with the accepted Apple design scheme?

I have a social location based application and I'm in a bit of design conflict that I can't seem to solve or find good information on. Realizing that I have multiple controllers that will similarly ...
2
votes
4answers
405 views

What is the proper way to store an object with many attributes in Objective-C?

I have an object that I am downloading over HTTP, that has approximately 50 attributes. What is the proper way to store this information in Objective-C? Should I have an NSObject with a property for ...
0
votes
1answer
375 views

metro style on windows and android

I want to develop a rather simple app using windows 8 metro style for GUI. But i need this app to have the same appearance, GUI, for both platforms, so that end users that uses it both on PC and a ...
6
votes
2answers
321 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 ...
4
votes
3answers
581 views

Code review if nobody in team has knowledge in some technology?

Sample situation: A team of Java developers starts an iOS project. Only one developer has Objective-C/iOS knowledge, and in the beginning he will work on this project alone. How we can perform code ...
0
votes
1answer
356 views

iOS In-App Purchases with dynamic content

I want to built an app that it will support In-App Purchases. In short, user will download the app (with some basic features), and he will have the ability to download extra layers (delivery ...
0
votes
1answer
397 views

What's the difference between “Add to home screen” safari HTML5 webapp vs HTML5 webapp wrapped in UIWebView?

Someone asked me this. The answer he gave was HTML5 in UIWebView can cache the app data so it can run offline. I thought the same thing can be achieved using safari add to home screen, no?
3
votes
3answers
684 views

Why use protocol, not call the method directly?

I was asked this question in an interview. For eg: UITableviewDelegate protocol has CellForRowAtIndexpath. Why make it a delegate method in a protocol not a method in the UITableView class and call it ...
0
votes
1answer
110 views

How to continue development without the webservice?

We make iOS apps where we often get data in a list from an API, then we select the data and go to the next ViewController. Often it happens that the server is down or some API is not ready. What is ...
1
vote
2answers
452 views

Why do we use networking libraries instead of plain NSURLRequests and NSURLConnection ?

in iOS development, I have often seen people creating a networking module to interact with their APIs. This module generally sits on top of a networking framework like MKNetWorkKit or AFNetWorking. ...
-1
votes
1answer
336 views

Questions to ask to ensure someone understands programming? (and iOS) [closed]

So, I've been tutoring my friend for 2 years. Most people learn programming on their own in 3-6 months, (sans algorithms). It's confusing 'cause he'll run anywhere I tell him to, understands how to ...
2
votes
0answers
1k 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 ...
1
vote
1answer
218 views

PayPal proof of payment - is there a need to store it at our server?

I am developing an iPhone app, which I am integrating with PayPal. I did it successfully using PayPal library. I am testing it on sandbox mode. When I transfer money from one account to the other ...
3
votes
2answers
423 views

Licensing open source controls iOS

I am confused about using licensed open source control in my comercial iOS application. Do I have to include any license in my code or i can just add open source control and push app to app store? ...
0
votes
1answer
186 views

NSException in init when having a custom designated initialiser?

I have a custom View Controller that is a subclass of UIViewController that requires a data object to be set up properly. Without this object, showing the VC doesn't make any sense. So I created a ...
1
vote
2answers
220 views

Can I create and publish an iPhone app by building it in a second hand Mac?

I have never published an app to app store. I have a chance to buy an apple mac from someone. Is it possible to use that to publish to app store? What if the first owner was also a developer? If ...
2
votes
1answer
132 views

Handling Dynamic amount of Strings for persistent and runtime storage in an IOS App

Background I am dynamically building an FQL query statement and because of the nature of the app, I exclude FB family members, this is the base portion of the query and remains fairly static. The ...
0
votes
1answer
151 views

Would this development environment cover the bases for iOS and Windows 8/Windows Phone 8 apps?

I'm an experienced C# developer. I've created a couple Windows Phone apps and a Windows 8 app but have wanted to develop for iOS too. What I'm thinking is adding the following equipment and software ...
0
votes
1answer
336 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 ...