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
0answers
6 views

How does Xcode communicate with an iOS device? [migrated]

I can plug in an iOS device and tell Xcode to run my app on that device or stop it. I can have the app paused at any time and use the debugger to debug the running app. How is this all possible? There ...
-1
votes
0answers
23 views

Developing Native IOS applications. Xamarin or IOS SDK? [on hold]

I'm in the process of doing more IOS development and I'm only interested in using native development sdks more specifically IOS SDK or Xamarin. My question is what are your preferences and why? I'm ...
-2
votes
0answers
39 views

Is it possible to move application logic in to another programming language? [on hold]

I am planning on making a cross platform app that looks as native as possible on iOS, Android and (possibly) Windows Phone. I tried Cordova and Ionic, but achieving what I wanted seemed almost ...
-3
votes
0answers
24 views

How can I transfer my own ipa--hello world— from itunes on Mac to iphone? [on hold]

I'm programming an IOS ipa --Hello World in xcode 6 swift without Apple Developer account. I've saved the app in itunes on my mac, and I want to transfer the app to my iphone6. But after I connect two ...
1
vote
2answers
68 views

What is a good way to organize service layer classes?

I had a Service layer in my app and, for a while, there's just one class for API calls Current Scenario MyAPI Class authenticateApp() authenticateUser() Looking in the future, that class will be ...
0
votes
0answers
4 views

initializing 'CGFloat *' (aka 'float *') with an expression of type 'const CGFloat *' (aka 'const float *') discards qualifiers) [migrated]

when I try to get the components of CGColor with following code: CGFloat *components = CGColorGetComponents(customizedCGColor); I get the warning of "initializing 'CGFloat *' (aka 'float *') with ...
-1
votes
1answer
25 views

Global counter using iOS and Parse? [closed]

I'm very new to Parse and trying to set up what is basically a voting app where I can collect data on how many times all users have pressed a button. I found some information on Atomic Increment ...
-1
votes
0answers
31 views

App is terminated due to memory pressure while taking multiple pictures [migrated]

I have tried a lot of solutions provided on other questions which were same as mine but nothing could help me much. Let me tell you what am I doing. I have a collection view. In that I will display ...
0
votes
0answers
34 views

Design for local text storage (70 000 words) in iOS

I would like to code an interactive story app for iOS devices. There will be a large amount of words locally stored.(70 000, 35 000 for each language as the text will be available in two languages). ...
1
vote
0answers
42 views

How to create calendar events in android (that will work with iPhone later too)

I'm developing an Android app right now with a cloud back-end using Google App Engine + Cloud Endpoints (a RESTFUL service). Eventually, I will find an iPhone developer to make my app for iPhone ...
3
votes
1answer
154 views

Is Apple sample code the “correct” way to go?

I'm in a place were I know how to build apps and have submitted at least 5 for different clients to the app store and wanted to step up my game. So of course I went to Apple resources and analyse the ...
0
votes
2answers
122 views

Testable design in Swift

I've been searching for so long about how to design testable classes in Swift but every information site just describe basic stuff like how to test, how to assert, why is testing good... My current ...
0
votes
1answer
48 views

Api for CMS And Mobile applications either separate or same

I would like to ask an architect based question What is more secure and most standard way to follow.For let's say a mobile application, Should the Api for mobile interaction with server be ...
0
votes
0answers
39 views

Handling image and audio files in iOS

Currently I have an iOS app that downloads image and audio files from a server, but each view controller downloads its own set of image and audio files (This is because each view controller needs a ...
1
vote
1answer
172 views

iOS bluetooth development: mimicking the SPP profile

I need to interface a custom device with bluetooth 2.1 (it has the RN-42 chip), with an iPhone and iPad. The device uses the Bluetooth SPP profile. From my research it appears that iOS supports ...
-3
votes
1answer
75 views

Will adding Swift to my Objective-C project slow down my app or IDE?

I have been working on an iOS app in Objective-C for a few months now, and I'd like to try out Swift. Both languages can be used alongside each other via a briding header. Right now my project is ...
2
votes
2answers
165 views

Example of writing unit test for a method

I am writing unit tests for an iOS application. I clearly understand the benefits of writing unit tests & TDD, but I am confused about what kind of tests you can write for methods like this; ...
-1
votes
2answers
151 views

Hardware for a team of programmers (iOS / Android / Web developers) [closed]

My question is not directly connected to the art of programming but about setting good working conditions for a team of developers, and I hope I can have some feedback here. I am looking for ...
1
vote
1answer
104 views

Best architecure approach to develop iOS app

I'm trying to create a calendar app similar to this design: Calendar Design I'm currently using this calendar framework: CVCalendar and it's working great, but my question is, what do you think is ...
2
votes
1answer
138 views

Upload files from mobile device to Amazon S3 architecture

I have an iOS app that communicates to a REST API I developed. I am using Amazon S3 for storage of image and audio files. Right now I am able to upload/download the files directly from the mobile app ...
1
vote
1answer
108 views

What to test for in a simple form where the value of one input field dictates other fields?

Note:- I have added android and iOS tags to this question but it is not necessarily restricted to those platforms. Consider a simple registration form where the the value of one field dictates what ...
1
vote
2answers
75 views

Is there a detriment to using SQLite over a pList for persistence?

I'm making a fairly simple application and I've got a settings menu that stores times and some boolean values. I have the application storing and retrieving data already but I started to wonder if ...
0
votes
2answers
162 views

Ideal way of updating app's views when data changes [closed]

Okay this is not platform specific question. But any answer related to iOS,Android or Windows Phone will help. So I am building a chat application (yes another one) but I am really confused about how ...
0
votes
0answers
259 views

Hybrid Apps and Storage - how does it work with Native apps and which to use?

I'm using Ionic at the moment. I believe, like many others, that hybrid apps will become more more common/important than they are now simply because the frameworks are getting better and better. ...
-3
votes
1answer
207 views

Physics/Game Engine in C++ for mobile app [closed]

First post so be gentle. I am a junior seeking a Comp Sci major and was looking into making a mobile game. I wanted to use this for my thesis project next year, and possibly a way to pay back college ...
4
votes
4answers
636 views

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

TL;DR Part 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 ...
1
vote
0answers
104 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 ...
1
vote
2answers
117 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 ...
5
votes
1answer
310 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, ...
3
votes
1answer
330 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
86 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
204 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
97 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
38 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 ...
1
vote
1answer
205 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 ...
3
votes
1answer
177 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
2answers
429 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 ...
9
votes
3answers
734 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
89 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 ...
2
votes
2answers
919 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 ...
2
votes
1answer
297 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 ...
1
vote
2answers
92 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 ...
2
votes
1answer
340 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
256 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 ...
3
votes
0answers
127 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 ...
12
votes
1answer
537 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
147 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
1answer
97 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
354 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
214 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 ...