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

learn more… | top users | synonyms (2)

-1
votes
0answers
7 views

AdMob singleton class method import

For iAd i coded my own singleton iAd class however, for AdMob I found a tutorial from Google developers... http://googleadsdeveloper.blogspot.de/2012/04/creating-gadbannerview-singleton-in.html I ...
-4
votes
0answers
26 views

Open source editor [on hold]

I want a simple, highlighted source code editor for iOS, Mac and PC. What's my best bet? Can you recommend some portable open source editor? Or is it easier to just build it from scratch on all three ...
0
votes
1answer
59 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
0answers
129 views

Univerisity iPhone assignment - Without an Apple Mac [on hold]

I am a student in my final year of studying for a degree in Software Engineering. One of the core modules on my degree scheme is mobile development. I have some interest in learning Android ...
1
vote
2answers
60 views

pixel perfect apps techniques

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

Best way to implement in app purchases [on hold]

Whats the best way implement in app purchases? It's not just any kind of in app purchases. For that I can follow this tutorial. I'm trying to make something like what uber has. Someone posts ...
-3
votes
0answers
30 views

Making Looney Tunes Dash styled game. Starting advices? [on hold]

I'm new on this website. I have experience in iOS apps, but never got into game development. So, I'm new in this field. I was interested to know how they make a 3D character running game style like ...
0
votes
2answers
117 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 ...
-2
votes
0answers
28 views

Adding one method inside another method for mediation [closed]

-(void)bannerViewDidLoadAd:(ADBannerView *)banner{ [UIView beginAnimations:nil context:nil]; [UIView setAnimationDuration:0]; [iAdBanner setAlpha:1]; iAdBanner.hidden=NO; [UIView commitAnimations]; ...
-4
votes
0answers
26 views

Can I place one method inside of another method in iOS [closed]

-(void)bannerView:(ADBannerView *)banner didFailToReceiveAdWithError:(NSError *)error{} All the code inside the above method is programmatically added in app. Everything added in my -(void)GameOver ...
-2
votes
0answers
8 views

How to make iAd/AdMob mediation work in multiple methods [migrated]

for iOS, iAd/AdMob mediation only works in viewDidLoad method. It completely ignores every other method. Since iAd is added through storyboards and AdMob is added programmatically, AdMob doesn't ...
-1
votes
0answers
21 views

Recommendations for PHP IOS push notifications library [closed]

What is the best library to use for iOS push notifications from a PHP server? So far I found two: https://code.google.com/p/apns-php/ https://github.com/adobkin/php-apn Any recommendations?
0
votes
0answers
31 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
28 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 ...
0
votes
1answer
29 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
44 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
1answer
148 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. ...
9
votes
2answers
250 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
114 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 ...
-1
votes
0answers
8 views

Quartz2d and Instance Method [migrated]

I try to write my own custom class to do some 2d stuff. (TwoDOperations.h and TwoDOperations.m). Below are my files. --------TwoDOperations.h------ @interface TwoDOperations : UIView - ...
2
votes
2answers
210 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
57 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
3answers
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 ...
-1
votes
0answers
21 views

Uploading test build To iTunes Connect before integrating GameCenter confusion [migrated]

Before I upload my xcode project for testing purposes so far, do I have to integrate Game Center's Leaderboards and iAd first for my game app or can I upload my xcode build for sandbox testing and ...
1
vote
0answers
76 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
72 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
83 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
112 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
109 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
142 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
119 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
102 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
510 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
114 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 ...
10
votes
1answer
336 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 ...
1
vote
4answers
263 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
230 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
151 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
261 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
433 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
88 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
219 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
720 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
119 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
706 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 ...
1
vote
2answers
79 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 ...
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 ...
4
votes
1answer
305 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 ...