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

learn more… | top users | synonyms (2)

1
vote
4answers
104 views
+100

What architecture/design to adopt when consuming a RESTful API? (iOS App)

TL;DR 1) I want to refactor the biggest part of the app on which I work - and it is pretty much spaghetti. It's a single class that makes the requests to the server, parses the JSON and saves the ...
1
vote
4answers
1k views

iOS chat application design, sending/relaying the message over to the end user

I have a design question. Let us say you were tasked with building a chat application, specifically for iOS (iOS Chat Application). For simplicity let us say you can only chat with one person at a ...
-3
votes
0answers
64 views

Chess program with NO ai [on hold]

Just looking for a resource with people more familiar with programming than I am. I am working on developing a HUMAN chess ANALYSIS program (not a game). When I look online for resources, everything ...
-1
votes
0answers
18 views

embedded dylibs/frameworks only run on iOS 8 or later [on hold]

I am developing framework which min-target is iOS 5 and above. It is throwing this warning: embedded dylibs/frameworks only run on iOS 8 or later Does this means I should not use cocoa touch ...
-1
votes
0answers
23 views

one project for many clients [on hold]

What do you call an iOS project that I can export into a .a or library and reuse it with different projects. For example, I have the base project that will have geolocation and twitter feed from a ...
10
votes
2answers
385 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 ...
0
votes
2answers
37 views

Best Way To Store Images For Mobile Synchronization

The scenario is, I have a Web Dashboard (Developed using PHP + MySQL) and have Android and iOS Apps synchronizing data from the Web Dashboard (only one way i.e. Dashboard to Mobile Apps) Now the ...
0
votes
0answers
24 views

Can I use only Delphi to create cross-platform apps? [on hold]

I'm an Android developer working for a small start-up that wants to create a mobile app for iOs, Android and Windows phones. The start up is small and cannot afford to hire that many developers. As a ...
0
votes
2answers
206 views

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 ...
-1
votes
0answers
21 views

My UITableView is NOT responding to first touch in my UIScrollView? [closed]

I understand that a tableView inherits from a UIScrollView and apple doesn't recommend nesting a tableView in a scrollView because it can cause inconsistent touch events. Having said that, I still ...
0
votes
0answers
39 views

What classes should be part of Business Logic Layer? [closed]

I am very new to software architecture.I am developing an iPhone app. I have read that iOS follows MVC architecture, but one of my previous projects had busies logic layer, helper folder too in its ...
-2
votes
0answers
46 views

Posting to Facebook without asking for permission? [closed]

I'm trying to implement a method to post to Facebook from a game I'm developing. I just noticed that some games are posting to the Facebook without requesting for permission. I noticed this with ...
0
votes
0answers
7 views

iOS iPhone release: full size background image resolutions [migrated]

I have a simple, single view app. I have an image which is to be used as the full background. Currently, i have edited the image for both portrait & landscape, in standard (414 X 736) & retina ...
0
votes
1answer
40 views

Do iOS frameworks require the same internal versioning as OSX frameworks?

I have been reading through the apple documentation for creating frameworks for OSX and iOS. Reading about the structure of frameworks, I began to wonder if there is really any need to create the ...
0
votes
1answer
53 views

How to test android apps that depend on telecom provider connection?

I am planning to write an app that needs phone number and contact list. Is there any way that I can test my app without buying a telecom provider connection for my android phone. Without a sim the ...
0
votes
0answers
35 views

Should I use enums or arrays for a dynamic data source?

I've inherited an iOS project that uses NS_Enum to store the number of rows and sections in a UITableView At the moment, the UITableView is static; no rows are being added to it. However, that is what ...
0
votes
1answer
153 views

Manage the persistence of entities on iOS in several places: CoreData on the device, iCloud and on a REST API

For the needs of a project, I would persist the datas contained in Core Data in several places depending on the state of the user. If the user is logged to my API -> Persist the datas on my API. ...
3
votes
1answer
95 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, ...
0
votes
0answers
10 views

iOS: Writing tests for blocks [migrated]

I am trying to write a test for a function that takes in a success and failure block. Here was my first attempt at a test: - (void)testThatValidSearchProducesSearchResults { __block NSArray ...
2
votes
1answer
80 views

Would I rather use Core Data or save files to the system?

I'm developing an iOS app which basically fetches a JSON from a remote location, parses it and instantiates classes for a couple of its elements. For some visualization, this should give you a basic ...
0
votes
1answer
77 views

Is it ok for a for a View to dismiss itself?

Currently, I'm working on a project in which a view is dismissing itself. While talking to another programmer on the team for this project, he said that it's fine (in that it behaves correctly), but ...
2
votes
2answers
87 views

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 ...
0
votes
0answers
40 views

What could possibly be a Mysql database structure for an web app say like Flurry?

Simply say, I'm working on a web App say like Flurry (http://www.flurry.com/), that would communicate with a Smartphone App trough API. Right now I'm designing the database structure, and I guess ...
-3
votes
1answer
34 views

which are the features that make difference between mobile application which work for ios 6 and ios7 & 8? [closed]

please , I need to find the libraries and the packages which are diifrent in developing for ios 6 and ios 7 & 8 . I have a mobile application which works for ios 6 and it is not shure that it will ...
9
votes
2answers
331 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 ...
1
vote
1answer
133 views

Does key-value observing between model and view violate MVC?

In MVC the Controller is the go-between for the View and the Model. So the Controller should be the one that observes or receives changes from the Model and View and updates the other accordingly. I ...
2
votes
2answers
307 views

PHP MVC as backend for iOS app

So, essentially, the question is, to develop a PHP back-end to an iOS application, would you implement an MVC architecture on the PHP side? Or no, since the client side (iOS) already has an MVC ...
-4
votes
2answers
77 views

Converting Web Apps to Smartphone Apps [closed]

Suppose I have an open source web app like this one (it's an IRC web chat client written entirely in javascript). Would it generally be an easy process to convert this into an iOS/android app without ...
1
vote
0answers
87 views

Ways to do callback, when and where

I've recently started to do some more complicated programming with network-related work on iOS with Swift. This introduced a lot of asynchronous code not only in networking but also some exchange of ...
1
vote
1answer
81 views

More than 20 Records Inserted in a Span of 1 Sec

Well, this is not specific to any programming languages. I came across this situation in Android, iOS, PHP and .NET. The problem is many times I come across a situation while building IoT apps, where ...
0
votes
1answer
119 views

offline application development for mobile devices

I am looking to develop an application whereby field staff can complete forms in an offline capacity (when onsite I`m assuming no internet connection) on an Apple or Android device and post the ...
2
votes
1answer
140 views

Performance of Class methods vs singleton instance methods

In my app, I'm using both strategies: I have a Utils class, it only has class methods that I call for doing common global methods, like NSString validation, etc. I have an app-wide singleton class ...
7
votes
1answer
2k 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 ...
0
votes
0answers
137 views

Usage of MVVM in iOS

I'm an iOS developer and I'm guilty of having Massive View Controllers in my projects so I've been searching for a better way to structure my projects and came across the MVVM (Model-View-ViewModel) ...
17
votes
7answers
5k 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 ...
0
votes
1answer
148 views

The ViewController design in iOS vs MVC in tradiational web apps design

As I came from the background of webapps and move to iOS programming, I am wondering why we can't just apply the MVC design approach to native apps, i.e. in iOS, the view and controller are tightly ...
2
votes
3answers
124 views

Reliable secure data exchange between service written on .NET and an iOS client app

I have a service written on .NET working on a company server. It designed to do a very simple thing, to receive a request via WCF named pipes from another service working locally on the same server, ...
1
vote
0answers
105 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 ...
1
vote
1answer
536 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 ...
4
votes
1answer
124 views

Register user in mobile app without e-mail

We are currently developing an app for Android and iOS which requires the user to perform a registration. However we don't want the user to go through all this e-mail and password activation link ...
1
vote
4answers
276 views

How to ensure multiple clients don't poll the server at the same time?

I am making an android app which will talk to a web service to get data. The web service has a rate limit of 100 calls per minute. Is there a way, recommended method to ensure that the app across ...
4
votes
1answer
246 views

“Middle ground” architecture for client-server iOS apps?

I see two obvious approaches to the architecture for an iOS app which needs to talk to a server to do its job. Pretend to be a web browser Under this approach, the app fetches a chunk of data ...
1
vote
4answers
164 views

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 ...
0
votes
2answers
268 views

Snapchat clone: How do I secure pre-downloaded notifications so that they cannot be opened outside of the app?

Say I'm making a snapchat clone app for Android and iOS. Let's say that I get a snapchat from Baz. I want to pre-download the audio for this snapchat. However, as the developer, I want to secure this ...
2
votes
2answers
726 views

What is a good design pattern to implement REST services on mobile?

It is easy to implement calls to API endpoints, then to parse JSON and handle the data - but what is a good design pattern for this? Here are some ways I have tried but I feel like there should be a ...
0
votes
1answer
101 views

What effect does using multiple childViewControllers views inside a ContainerViewController have on memory?

I have three childViewController views inside my ContainerViewController and these three views are inside a horizontal scroll view. My intention is to build an app that has a custom camera on one ...
0
votes
0answers
232 views

How to add document directory path in javascript file in iOS -MetaIO SDK

I am working on a project using MetaIO SDK (AREL). It works fine with all the files in the package (ipa), but I'm trying to download an animation automatically using a web service. It will be ...
3
votes
4answers
799 views

How to develop cross platform mobile applications with native UI and Javascript backend?

I want to build a cross platform(Android, iOS, Windows) mobile application. I want the UX of the application to be different on the different platforms so that it will be more platform specific and ...
0
votes
1answer
123 views

Lazy-initialization vs preprocessing in image-based iOS app

I am making an iOS app which contains museum gallery: user can look through exhibits and then select info about it, etc. On the exhibit screen I have two ScrollViews that are different, but are being ...
1
vote
2answers
1k views

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 ...