Questions about issues that are specifically related to Apple's iOS operating systems (whether directly or indirectly).
0
votes
0answers
8 views
Parsing a UITextDocumentProxy in Swift 3
I'm currently developing a custom keyboard app and am having trouble parsing what the keyboard has outputted onto the text document proxy. How does one go about this? I feel like I'm losing my mind. ...
-2
votes
0answers
18 views
Advice on Server Setup for a Mobile App
I am writing a simple event-management app for iOS, and was planning to use Firebase as my back-end (my experience with servers is lacking). However, since I'm planning to add advanced search, and ...
1
vote
1answer
61 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 ...
0
votes
2answers
415 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) ...
0
votes
0answers
19 views
Using MQTT broker for an E-commerce mobile application
We have made a decision to use a MQTT broker (for example emqtt) which connects mobile applications to the business logic server using MQTT protocol. In fact, all operations such as loading products, ...
-1
votes
2answers
114 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 ...
1
vote
0answers
86 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-...
0
votes
1answer
36 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
58 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 ...
2
votes
1answer
181 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
70 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 ...
0
votes
0answers
23 views
Signing a third-party vendor's iOS app for enterprise distribution
How do you guys manage this when you don't want to provide the signing credentials to the third party vendor? Re-signing iOS apps has become more of a challenge since app extensions. Is there an ...
5
votes
1answer
252 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
28 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 ...
0
votes
1answer
133 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 ...
0
votes
0answers
93 views
Using Firebase dynamic database and a server with a static database for an iOS app?
Say I want to make an app that is going to allow users to post pictures of their dogs with Instagram like functionality. Imagine that it also is going to have a massive Wikipedia like library of ...
1
vote
2answers
74 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
50 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
104 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 ...
-1
votes
1answer
107 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 ...
0
votes
1answer
84 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 ...
0
votes
0answers
235 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
0answers
38 views
App store presence that can install variants of the app
We make an enterprise application which has a mobile component, an app for android and IOS, which provides functions for distributed workforces. For a variety of reasons, we build the app for each ...
0
votes
0answers
16 views
RubyMotion deployments
I would like to start an application for iOS and Android and I'm considering the option of using RubyMotion for that. I know that you can write Ruby and then deploy to the desired platform.
After ...
0
votes
1answer
141 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
263 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,...
4
votes
4answers
416 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 ...
-1
votes
1answer
110 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
227 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 ...
0
votes
0answers
206 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
92 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 (...
0
votes
1answer
43 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/Chrome ...
2
votes
3answers
92 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
39 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
87 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
0answers
15 views
How would I go about creating a dequeing system annotation system like Mapkit
I simply can't do anything animation based in Android maps. You can't animate markers as custom views like you can with Mapkit.
How would I go about creating an overlay projection that dequeues ...
0
votes
0answers
19 views
Using NSUUIDs as a unique handler registration token
I'm writing a class that allows you to register handler closures. For example, the handler I'm using is of type (APIError) -> Void.
I also need to allow unregistration, so I need to give the ...
0
votes
0answers
16 views
Approach for efficiently working on view controllers in iOS app
When working on a specific view controller within an app, my approach has always been to make some changes to the code, launch the app, navigate to the view controller and see if everything is working....
0
votes
1answer
74 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 ...
1
vote
0answers
24 views
How should I manage updates for a this document object?
I have a object model like Document->Section->Value but Value can also be a table type so I then have Value->Row->Column->Value.
The problem is that the object graph for a single document can be ...
2
votes
1answer
152 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
172 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
183 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
29 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 ...
0
votes
1answer
434 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
98 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 ...
0
votes
0answers
34 views
Design solution for currentUser object behavior in the SDK
Background
Our team working on the SDK to give third-parties access to our service. The basic functional is moving around the current logged-in user.
Basically we have a User class with static ...
0
votes
0answers
51 views
How to get dual UI for an ionic app?
I would like to get some suggestions for building a new app. This app has two faces/UI to it, buyer/seller.
Users would have same account, and it would be seller and buyer. Its something similar to ...
0
votes
2answers
148 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 ...
4
votes
3answers
176 views
How narrow should my unit tests be?
Here's an example:
I have a chat module in my app, and there's a ChatService class that is responsible for networking, and there's a ChatNotificationService helper class that is responsible for ...