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

learn more… | top users | synonyms (2)

2
votes
5answers
2k 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
314 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
354 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
208 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
477 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
446 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
441 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
624 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
426 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
495 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
1k 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
113 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
522 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
354 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 ...
3
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
247 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
647 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
235 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
230 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
154 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
162 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
411 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 ...
2
votes
1answer
2k views

Why is it impossible for Google to port V8 along with Chrome's codebase in C/Obj-C on iOS?

Google has given a reason that All apps on iOS have to run in the sandbox environment except for special apps by apple that get to tap into some private APIs. So Chrome on iOS uses whatever the ...
1
vote
1answer
1k views

How to implement a Theme for View Controllers in an iOS app?

I have an application, where font size, font type, color, background color, image and a lot of things change based on theme. I realised in the beginning itself that using enums to denote themes and ...
4
votes
3answers
513 views

How To Become More Comfortable with the Technical Terms

I have been working freelance for a few years, and before that I worked as an entry-level coder for a non-technical company. I "understand" how delegates, and MVC, and how to make an app and make it ...
-4
votes
2answers
281 views

iPhone development - Which model to test? [duplicate]

I am about to start my own venture in App development. I need some sort of advice or tips on which iPhone model should I test to? My budget is quite tight so I am thinking should I buy 4GS over 3GS or ...
3
votes
3answers
483 views

Separation of concerns: Whose concern is this?

My senior reviewer colleague wants me to do the following. We have (on iOS, iPhone) a hierarchy of views in one of our screens. There is a simple rectangle that represents a Business card of a person ...
3
votes
3answers
688 views

Why did Apple choose to design its programming language with future and past tense method names?

There are a lot of methods like this in iOS/Objective C: - viewDidLoad - viewWillAppear: - applicationDidFinishLaunching I've just been having a discussion with some colleagues about this design ...
1
vote
1answer
107 views

Is it better to have file stored as a zip in cloud service?

I am developing enterprise iPad application which contained large amount of different bundle data in terms of group of images. Is it worth to stored as a compressed file format or normal set of ...
1
vote
1answer
653 views

Possible to Comment on a storyboard?

I recently started working for a company that has me making mockups for an app they'd like to see converted to an iPhone app. I have not been informed as to how all the boards fit together, but I do ...
1
vote
1answer
407 views

Implement a file system for ios devices

I've read that ios apps can communicate via unique urls. An online tutorial on tutsplus says Communication between apps provides your application with an opportunity to take advantage of other ...
0
votes
1answer
1k views

Which iOS developer account should I sign up for [closed]

I am currently working on an app for a local hospital. The hospital wants a rough version of my app to test on their employees before committing to full application development. I am currently ...
0
votes
1answer
74 views

Program Structure for Table Cells Representing Objects

So I have a program with "cue" objects and each have their own table cell. The thing is that the table cells have loading bars on them that represent the progress of the cues. This presents the ...
1
vote
3answers
543 views

Checking if my app is using any undocumented parts of the API

I just read through this question, but I am still confused. How can I know if my app is using undocumented API calls before submitting to it to the app store? Are there any tools I can use?
1
vote
1answer
466 views

Is it possible to offer an affiliate program for your iOS or Android app? [closed]

Independent of the App Store or Google Play, is there a way to track where new downloads or paying customers came from? For example, if an app advertises my app in theirs - is there a way for me to ...
-3
votes
3answers
1k views

Why Apple doesn't “force” the user to update by installing the needed API updates when the user downloads a new app? [closed]

I was here programming in iOS with a class that's available only for iOS 6, and I was wondering: why should I implement my app to handle multiple operating systems when my app will be distributed by ...
7
votes
2answers
11k 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 ...
1
vote
2answers
315 views

In an event-driven environment, how should a “cancel” function abort all further events?

In my iOS app, things are mostly driven by events. The user presses a button The app listens for an external device to be connected to the iOS device Once the device is detected (is connected), an ...
3
votes
2answers
104 views

Is every page a new view?

I just started building an iOS app and wanted to get some feedback regarding views. I've got specs for Activity Page Activity Recording Activity Create Activity Save Each of the specs show a ...
2
votes
3answers
480 views

iOS App Signing and Certificates

In order to sign an application for the Apple App Store, we need to create a certificate by saving a certificate request file from keychain and then upload it to the Apple store. I was wondering, ...
5
votes
2answers
2k views

Why Android created emulator rather simulator?

From http://stackoverflow.com/questions/4544588/difference-between-iphone-simulator-and-android-emulator The difference between emulators and simulators is that emulators mimic the software and ...
0
votes
2answers
154 views

Setting up a development standardization guide for in-house/vendor programmers

I was recently hired by a large multi-national corporation to head up mobile development for their sales operation/support team. In a company of close to 10,000 people I am, at least in the America's, ...
3
votes
2answers
396 views

A better workflow between designer and developer on iOS XIB files development

We're working on an iOS project and right now, and whenever the designer has some feedback about fonts, colors, positions of elements, what images should go where etc., I have to go back and go ...
10
votes
3answers
988 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 ...
23
votes
2answers
14k 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 - ...
11
votes
2answers
1k 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 ...
0
votes
1answer
1k views

Pictures from iPhone to clients FTP server - Directly (iPhone->FTP) or Cloud (iPhone->Amazon->FTP)

My clients wants to take pictures with their iPhone's and place them collectible on their server, suggested by FTP. I can see there is two solutions: Directly upload from the iPhone to the FTP ...
3
votes
3answers
5k views

Multi-platform Mobile Development? [closed]

So my question is this: Is there any easy way for a single developer to release an app on iOS and Android? I am a web developer that primarily plays in PHP, Node, Ruby, AS, and JS. I have dabbled a ...
0
votes
2answers
256 views

Testing UI for azure web app on iPad

I am working on debugging my mobile application. There is a specific requirement/issue that I am having related to a drag and drop touch interface on an iPad. I am at the trial and error phase of ...
5
votes
3answers
1k views

Where do the parser and service objects fit in MVC?

Do NSURLConnection service objects and XML/JSON parser objects fall within the controller layer or the model layer? Why? Is it OK to have business logic in the controller? Or should it be in the ...