Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [ios]

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

0
votes
2answers
366 views

How to properly architect app to display long forms with a lot of controls?

Basically, I've been tasked to work on a Xamarin.iOS app (predominantly for tablets only) that would display a long scrollable form that contains ~200 controls (buttons, switches, text fields, etc...)....
6
votes
1answer
1k views

When should an iOS app create a new NSURLSession vs. reusing an existing one?

I'm migrating my team's app to use NSURLSession instead NSURLConnection's because of the numerous now-deprecated APIs in the NSURLConnection family of classes and protocols. As part of that, we need ...
2
votes
0answers
602 views

What are the disadvantages of using a C++ base for cross-platform Android and iOS development? [closed]

I've done some research and one method used for cross-platform mobile application development is to use the lowest common denominator approach, packaging platform-independent functions in a shared C++ ...
2
votes
2answers
190 views

Which one is more efficient; a subclass of UITableViewController for multiple purposes or multiple sub classes each for a purpose?

Say I have two views (Table View for example) that I'd like them to do different stuff; each loads different data but behaviors are similar for most par except what happens when a cell tapped for ...
0
votes
1answer
355 views

How should I divide up classes in an MVC application?

I'm going through Apple's Start Developing iOS Apps (Swift) tutorial and I'm confused on how they are using MVC. They have a custom control (the view, a subclass of UIStackView), it is basically 5 ...
1
vote
0answers
75 views

How to follow MVC in a standard iOS App theoritically?

I want to understand one thing in plain english that how do I actually use an standard MVC design pattern in iOS App. I know about Modal View and Controller and theoretically I know what they do(...
2
votes
1answer
3k views

Can Kalman Filter make GPS data more accurate?

I'm trying to improve indoor gps accuracy in ios application. Do people apply such filters to gps data in different apps which track your position? I have 10-20 meters error indoors when using raw ...
2
votes
1answer
126 views

Correct Design Choice for Maintaining “static” View Across Multiple Controllers?

First, I am not sure if I'm asking this within the correct Stack Exchange community, so if this question belongs somewhere else, please let me know. It didn't seem appropriate for Stack Overflow. I ...
5
votes
1answer
143 views

Framework logs on client application

We are currently building a framework (closed source static library) that will communicate with some Smart home devices via Wi-Fi. This framework will be used by 3rd party developer to build their own ...
1
vote
0answers
409 views

How should one design a modular mobile application?

I'm currently working on a native mobile solution where I need to design a modular application. Imagine a scenario where you have your core application and 3 supporting modules. You can either sell ...
0
votes
2answers
96 views

How does an app send an order to a retailer? What happens under the hood?

I am wondering how the apps that allow a user to choose an item and, once the user has selected an item and checked out, give the retailer information about order that has been placed. For ...
3
votes
1answer
470 views

Testing White label iOS and Android mobile apps

We are in the process of developing white label apps for iOS and Android app. I was thinking about the test strategy for handling white label apps with minimum resources. My company is targeting for ...
0
votes
2answers
898 views

Design for keeping local user profile data in sync with the server

So I'm working on an iOS app and I’m thinking about how to keep user profile data in sync between server and client. The first idea that comes to mind is to create a class called User. It would be a ...
2
votes
2answers
92 views

Should I provide as less optional size app icons as possible?

When submitting an app (especially iOS and android), there are some different size of app icons need to add into the app. Among of them, some sizes are optional, is it a good practice that I just ...
1
vote
1answer
284 views

Design for iOS app backed by API

I was wondering if anyone out there has general tips for how to structure an iOS app backed by a REST api. There are basically two approaches to this that I've thought of API calls placed ad hoc in ...
3
votes
2answers
8k views

Sending push notifications to iOS devices from a Java server

I have a seemingly standard task of sending push notifications to Apple devices from a server written in Java. I have never done that in the past, so I went to tutorials and Apple documentation. 1) ...
-1
votes
2answers
154 views

Relational or non relational database for my described application?

I want to design and implement a mobile application in which: Every user who have already registered is able to add new news (including title: text plus a picture, and content: long text, pictures or ...
2
votes
1answer
391 views

How to avoid repeating a condition in methods that use it differently?

Let's say I have an app that displays details for a person. Each person can have zero or more phone numbers and zero or more notes attached to it. Thus, I have a Core Data entity Person with one-to-...
1
vote
1answer
104 views

What's the answer to my Unit Testing dilemma when setting up mock dependencies?

I am trying to implement VIPER architecture on iOS in Swift. The problem I have is how to set up the object graph. Please ignore the Router and the Entity as it is not relevant to my problem. That ...
0
votes
2answers
1k views

Solving slow but successful server response on iOS

I am trying to solve two situations here related to making POST requests and handling responses. Making a request and having request timed out due to no server response, as well as assuming that in ...
3
votes
1answer
525 views

Class depends on too many classes

I am developing an iOS app and I am moving to a VIPER-like architecture. It looks like this: View--ViewModel--Router--ViewModel--View The difference from the VIPER is that I have have one global ...
-2
votes
1answer
75 views

How do apps restrict photo library uploads to photos?

Sometimes we cannot use videos on a social platform. The platform only allows the selection of photos and not videos from the camera roll. How are they doing this and would it be possible to create ...
5
votes
1answer
436 views

Concept of push notifications - why is it only on mobile platforms? OSX/Windows/Linux?

At an operating system level, mobile operating systems support the notion of push notifications or a socket level 'persistent' communication with an app, whenever it is online. Why have the major ...
1
vote
0answers
43 views

How to handle an api with severe technical debt? [duplicate]

Our company uses another companys api. This api is written using IBM domino. This api is horrifically inconsistent and outdated. E.g. sometimes returning JSON, sometimes html. Inconsistent naming and ...
4
votes
3answers
463 views

How do I refactor massive view controller

I have a view controller which has 5 different subviews, these subviews are changed according to some conditions, then there are functions which apply background color and add some minor aesthetics to ...
1
vote
2answers
162 views

RESTful Api for Mobile Clients

I am mobile developer and always have one particular fight with my web-service/backend developer which believe in designing restful api. Issue: As per Restful design,every api should be atomic in ...
2
votes
1answer
59 views

Access Code Structuring For Enterprise Software

I have just finished an iOS application for a company that will be sold commercially to schools and other organizations for a flat rate with an access code. I was wondering if anyone has had any ...
0
votes
2answers
139 views

Are there any formalised minimum quality standards for software development?

I've joined a very large new company who have very different ideas about what constitutes quality in development. In trying to convince managers about what should change, are there any well accepted ...
0
votes
1answer
4k views

Making profit using OpenCV?

I was looking to use OpenCV to program an image recognition app for iOS. One thing I wanted to check is if I were to charge $0.99 or $1.99 for the app, would I be breaking OpenCV's license? I didn't ...
1
vote
1answer
256 views

Can iOS Apps receive and play burst audio in the background like a walkie talkie?

I'm digging into background audio playing for iOS Apps. I do see a bunch of examples for doing continuous audio playing for background Apps. I wanted to add walkie-talkie like features to my current ...
1
vote
0answers
2k views

Sockets (SignalR) vs Push notifications

I'm developing a Xamarin.Forms app with a .Net Web API backend. I definitely don't want to do long polls on my app to the server, but I need the app to remain updated with the server information. I ...
0
votes
2answers
604 views

How can I integrate Python into an OSX program?

I'm very comfortable with Swift, Obj-C, and Javascript but for a new project I need to use a library that is only available in Python. How do I integrate python or python scripts into an OSX project? ...
1
vote
1answer
351 views

Why are there no cross-platform mobile applications?

As a part of my master's thesis, I am carrying a research topic on why there are no cross platform mobile applications. As applications developed in Java can run on any operating system using the JVM,...
6
votes
4answers
3k views

JSON API or Plain JSON

There is a debate in my company on whether we should use the JSON API specification or stick to plain JSON for developing APIs that will be consumed by mobile apps, mainly iOS and Android. One ...
0
votes
1answer
1k views

TestFlight version numbers

If I update an iOS app as a result of tester feedback during TestFlight, should I be updating the "marketing" version number, or just the build number? My current (initial) version number is X.Y.Z ...
1
vote
3answers
240 views

Why do successive iOS versions take longer to run the same task on the same hardware?

Updating the iOS version on an old iPhone tends to make basic operations like startup, placing calls, and checking settings take longer. The change from eg iOS 7 to 8 on an iPhone 4S has a very ...
1
vote
0answers
656 views

Swizzling of app Delegate method in Universal framework

I have created a universal framework in which i want to swizzle the App delegate's method so that i can get the device token directly in my framework Here is the code + (void)load { Method ...
0
votes
1answer
165 views

Can I use some GitHub control/Framework with MIT / BSD / Apache Licence to distribute my iOS Enterprise App?

I develop iOS app with some GitHub controls and Framework as like FMDB,AFNetworking,OpenCV,RadioButton,CheckBoX etc... but now my worry is I want to distribute this app with Apple Enterprise account (...
1
vote
3answers
93 views

Caching and website performance on iOS vs PC

I have a website that pulls from a database to display images/names/misc info. The pages are used on both iOS Devices (iPhones, iPads, iPods so far) and on PCs using internet explorer and Safari/...
3
votes
3answers
185 views

GPLv2 code as a separate process in a closed-source iOS app?

I'd like my (currently) closed-source iOS app to use some GPLv2 licensed code. The code I want to use is simply a converter from one file format to another — nothing too complex or proprietary. Given ...
0
votes
1answer
66 views

multitouch application, creating custom UI elements, and stacking oscillators with audio kit

An App I'm working on is kinda like an appear-as-you-touch piano. Using AudioKit and the gesture recognizing I have my app set up to: make a new button appear when the user touches the screen (...
1
vote
1answer
140 views

How to comply to Disability Discrimination Act of 1995 while developing an iOS app [closed]

We have a requirement from our UK client in which he wants us to comply to Disability Discrimination Act of 1995 while developing the iOS app. I tried to search about it on Internet but most of the ...
0
votes
1answer
410 views

iOS: How to switch between prod and non prod REST end points

A noob iOS dev question: How do iOS developers develop their app with non prod REST URL endpoints while then using a prod REST URL endpoint for actual use by customers? I'm not aware of a way you ...
3
votes
1answer
239 views

How to deprecate an entire mobile application? [closed]

Six months ago I launched a free app that I developed and self-funded. From peak usage of a few thousand users, it has now bottomed out at a few hundred. It was an interesting project, from which I ...
0
votes
1answer
243 views

Do I require an external server for my new mobile app? Only minimal text content to change within my app every couple of weeks

I am about to submit my new app to the iOS App Store. It's very simple. The app generates a random motivational quote and displays it onscreen. I have a database of 500 quotes now, stored in a plist ...
1
vote
2answers
194 views

Is this an appropriate code structure, or is there a better one?

This is an iOS app but I will try to make it as general as possible because I think a wide audience could have good feedback. I have a application I am making for iOS. It has 4 main tabs in a tab bar ...
2
votes
0answers
40 views

Launching iPhone App - Do I need separate names for the App and the Landing Page/website or can I use the same name? [closed]

I am launching a iPhone App. Do I need two separate domain names for the app and the landing page website or can I use the same name for both. The website will solely be used to advertise the app ...
2
votes
1answer
2k views

Can Qt desktop programs be recompiled for Android/iOS as-is?

One of the advantages of open-source programs is that they can be ported easily to any platform simply by recompiling. Qt is also a cross-platform toolkit that can work on several platforms simply by ...
0
votes
1answer
195 views

Calling closed source library from LGPL library

I am integrating an LGPL application to my iOS application. As I am modifying the LGPL application, I am planning to open the modifications I make to the LGPL library. I am modifying the LGPL ...
1
vote
2answers
585 views

Which design pattern to choose when supporting multiple analytic tools?

I have spent quite some time learning all possible design patterns but I cannot find the ideal one for the following case. I am developing an iOS app where we are using multiple analytics tools like ...