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

Adding one method inside another method for mediation [on hold]

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

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

-(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
17 views

Recommendations for PHP IOS push notifications library [on hold]

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
30 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? [on hold]

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

What are APIs? I'm new to programming and would like to know [closed]

So I've been learning Objective-C for the past weeks and I have heard so much about APIs (Application Programming Interfaces) but I don't exactly know what it is. I know some applications and ...
-3
votes
0answers
41 views

arithmetic operations + connect to DB .. how to code [closed]

Constant A , B Variable AX, YB , ZB , Bx, capB Input Y1 Input Z1 Function { AX=AX+YB If ZB < CapB then Bx=Bx-ZB Not return error } I am using Xcode ...
1
vote
1answer
108 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 - ...
-4
votes
2answers
51 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
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
75 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 ...
0
votes
2answers
96 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
2answers
240 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
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 ...
2
votes
2answers
203 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
107 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
42 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
106 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
80 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
101 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
327 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
111 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
27 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
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 ...
1
vote
4answers
148 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
389 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
86 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
141 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
228 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
118 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
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 ...
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
61 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
122 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 ...
3
votes
4answers
699 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
69 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
118 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
168 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
664 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
197 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
59 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
79 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
685 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
147 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
405 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 ...
0
votes
1answer
98 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
376 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 ...