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

learn more… | top users | synonyms (2)

0
votes
2answers
24 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 ...
6
votes
1answer
111 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 ...
-5
votes
0answers
47 views

What is the common program to make iOS apps? [on hold]

I am interested in developing iOS apps but i don't know what program to use. I have heard of X Code however i am wondering if there is anything else. What programs do you guys use?
-4
votes
0answers
22 views

IOS app with youtube content queston [on hold]

I am currently developing an iOS app whose main functionality will involve streaming video via http live streaming using MPMoviePlayer. Much of he content will be my own, however I would also like to ...
-1
votes
0answers
22 views

Using a push notification to trigger a fetch/pull for realtime updates?

I have a mobile app idea that I am still developing (the idea and how I would implement it, not the app). The current plan is to have data on a service like Parse, and the app would load data from ...
1
vote
1answer
71 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 ...
-1
votes
0answers
10 views

Compare a string by giving two possibilities for each character in Swift [migrated]

I need to compare a string by giving two possibilities for each character in the string in an (if) statement eg: let str = "2 3 1 2" if str == "(1||2) (2||3) (1||2) (1||2)" { //Do Something } I ...
2
votes
1answer
115 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 ...
1
vote
1answer
84 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 ...
0
votes
1answer
26 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
63 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) ...
0
votes
1answer
55 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 ...
1
vote
0answers
98 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 ...
10
votes
1answer
308 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 ...
4
votes
1answer
103 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 ...
0
votes
0answers
20 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 ...
1
vote
4answers
252 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 ...
1
vote
4answers
132 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 ...
2
votes
2answers
236 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
72 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
1answer
139 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 ...
4
votes
1answer
208 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 ...
0
votes
1answer
96 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
78 views

Architecture for application-wide diagnostic-gathering tool?

My product owner wants us to report more information on the state of the product when a user contacts customer service through an in-app form. The form eventually results in an email being sent to a ...
1
vote
0answers
29 views

New project from a third party and documentation [duplicate]

I'm going to become the custodian of an iOS project developed by a third party and my boss just asked me for a list of documentation that I think we should be asking the third party for when they hand ...
0
votes
0answers
56 views

Can PhoneGap and RoboVm work in harmony?

The Goal is to make an iOS app using phonegap and java. When writing phonegap plugins that interact with native code (objective-c) would it be possible instead to make it interact with java when using ...
1
vote
2answers
115 views

Android SDK and Iphone SDK limitations

I have an idea that would require triggering a call or text message simply by pressing or dialing a certain number. Example: Pressing 2324 on the pin code. Despite it not being your pin code to ...
2
votes
4answers
598 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
0answers
63 views

VPN system to analyze users traffic (onavo-like)

I would like to develop a system that is able to analize the network traffic of people using it. I am interested in the URLs that the users request. Let's say the users targeted are on iOS or Android ...
2
votes
3answers
107 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, ...
0
votes
1answer
157 views

Approach to managing multiple services like Evernote, Google drive, dropbox in iOS

I'm trying to think up a scenario when I'd have three different forms of NSData (or whatever) to be sent to three different services like Evernote, Google drive, Dropbox. Granted, each of those has ...
1
vote
2answers
467 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 ...
0
votes
1answer
179 views

Does my use of the strategy pattern violate the fundamental MVC pattern in iOS?

I'm about to use the 'strategy' pattern in my iOS app, but feel like my approach violates the somehow fundamental MVC pattern. My app is displaying visual "stories", and a Story consists (i.e. has ...
2
votes
0answers
57 views

Core Data: is performing NSFetches in transient property code bad? Why?

In Core Data, we can put transient properties in our entity objects (or categories on our entities). These transient properties can calculate transient data based on actual entity properties. Is ...
0
votes
1answer
78 views

Drawbacks to redefining method in precompiled header

I have a lot of calls to NSLog(...). I need to change all of these calls to CLSNSLog(...). So I added this to my precompiled header (.pch): #import <CrashlyticsFramework/Crashlytics.h> #define ...
7
votes
3answers
666 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 ...
0
votes
1answer
140 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. ...
1
vote
0answers
368 views

What are the bad points of using Core Data for iOS like an ORM

I just starting to use Core Data for my iOS app and I am thinking about how use Core Data for my needs. What are the features of my app: The user look for products proposed from a catalog. The user ...
-1
votes
1answer
96 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 ...
0
votes
0answers
38 views

What is the best solution for an API class that could have different end points? (iOS)

What is the best approach for creating a singleton API class, where different requests could call different api providers and how to manage this? For instance you might have a singleton class 'API' ...
0
votes
2answers
356 views

Why does the Mailbox app need their own backend?

I am only coding in Objective-C and I have no experience with backend coding, only a high-level understanding. I understand why a lot of programming projects require backend servers but I'm not ...
3
votes
1answer
205 views

IOS app updates that don't require App Store submission

Some apps, I've noticed that developers are able to update their software without submitting them to the App Store. For example, Game of War will occasionally tell you that an update is available ...
2
votes
0answers
188 views

Are Calls to a WCF Service via JSONP Secure?

I am looking at developing a complete HTML5/JS mobile app that can be deployed to Android, iOS and Windows platforms. I am using DevExtreme tools to help me do that. I already have a WCF service that ...
1
vote
2answers
272 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
641 views

Private apps for iOS and Android

Is it possible to develop private apps for iOS (iPhone/iPad) and Android? With "private apps" I mean apps that do not appear on the public app store, but can be downloaded and used only by selected ...
0
votes
2answers
257 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 ...
4
votes
1answer
296 views

What are the benefits of Android way of “saving memory” - explicitly passing Context objects everywhere?

Turned out, this question is not easy to formulate for me, but let's try. In Android, pretty much any UI object depends on a Context, and has defined lifetime. Android can also destroy and recreate UI ...
0
votes
1answer
96 views

I am developing an app for iPhone - does it matter which iPhone I buy? [closed]

It's a basic application - nothing majorly fancy (i.e. not a game) I have the option to buy iPhone 5 iPhone 5c iPhone 5s Just wondering if it matters which iPhone I buy to test out my App or should I ...
1
vote
3answers
998 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 ...
1
vote
2answers
173 views

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

In iOS, the coordinate (0, 0) means the top left corner. In OSX it is the bottom left corner. What is the Apple's rationale or technical advantage of this coordinate system?