Stack Exchange Network

Stack Exchange network consists of 174 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).

-2
votes
0answers
25 views

Software architecture of building a set of similar mobile applications at once [on hold]

I would like to build around 500 mobile applications that have same functionality but different design for different 500 clients at once. The applications should be totally different when they ...
1
vote
0answers
15 views

iOS CloudKit - Store NSData representations of classes or create individual records with individual fields?

I have an app that already locally archives user created objects and has for several years. Each archived object can have several nested objects or arrays of objects in it--all of which conform to ...
1
vote
1answer
51 views

Directing user to a specific screen on App after he installs the App

I have a very specific use case. We are working on a Project where user can buy the tickets to an event. In this, we are asking the user to enter an Email id where he can receive the email from where ...
-1
votes
2answers
38 views

Web Services with Android and iOS apps

I have a website which uses REST Api for communication. All data retrieval and save happen through Rest Api calls(polyglot environment). Now I am planning to create an Android and iOS app . I have ...
1
vote
2answers
73 views

Is NSNotification in iOS a good design?

Because of some essential C++ libraries, I have to mix Objective-C and C++ in my code. But the problem is that the callback between C and Objective-C is extremely hard to design and manipulate, so I ...
3
votes
2answers
341 views

Is it a good idea to use Singleton pattern for an API manager?

So basically I am writing a wrapper for a REST API in objective-c so that our customer can easily use them in their iOS development. I am trying to find a good design pattern for this purpose, it ...
0
votes
1answer
24 views

A separate UIViewController for UITextField - iOS

In my iOS project I have a set of custom textfields, e.g. for password entry. As an example, such textfields can contain additional views and logic - for example, show or hide a password with a press ...
0
votes
0answers
19 views

Sending chat messages and push notifications from iOS to watchOS

In major messaging apps like FB Messenger, iMessage, WhatsApp, Twitter, IG etc how are push notifications and chat messages transmitted from iOS to watchOS? Obviously WatchConnectivity is used but ...
0
votes
1answer
56 views

Web designer equivalent in Android and iOS worlds?

When web came, for years designers would create stunning designs in Photoshop, and developers would try to translate those designs to HTML/CSS/JS. This had many problems with itself. Lack of ...
0
votes
0answers
37 views

Mobile app for existing responsive web app?

I have an existing enterprise application that lives on a lamp stack (not single page app). All html is responsive using twitter bootstrap. The question of sending push notifications to mobile devices ...
1
vote
0answers
138 views

Making launch screens with single color background

In iOS App there is something called a “launch screen” (the screen that appear before the app actually launches and is not equivalent to the splash screen), which can be provided by two ways, either ...
1
vote
2answers
58 views

Reusable component with web service

I am trying to create a reusable component / Cocoa Touch Framework in Swift that would display the current weather based on the user’s location. Right now I cannot decide which approach should I take....
-3
votes
1answer
61 views

Creating a multiplatform (IOS, Javascript, and JAVA) linked user account database

I have done weeks researching this question for my App Idea. Background of the APP - Simply a multi crypto currency wallet which users sign up with ONLY username and Password - no email, FB, or ...
0
votes
0answers
33 views

Where would be a good place to handle the networking request cancellation?

The apple's networking cancellation is done in the NSURLSessionTask. Alamofire does the cancellation in its Request object. Now I am building a networking framework that wraps Alamofire and I have ...
0
votes
0answers
34 views

Where to keep the code for new instance of an object in iOS project?

Example: There is a KingDetailViewController class with the following code. // MARK: - New Instance extension KingDetailViewController { class func newInstance() -> ...
3
votes
1answer
548 views

Unit Testing in VIPER Architecture: Possible?

TL;DR There are no methods in VIPER which are returning any value so how to test them? Reasoning: In VIPER, each layer is communicating with other layer by holding an abstract reference to it (...
2
votes
2answers
78 views

How to separate construction and runtime logic in iOS?

I've been reading Robert Martin's Clean Code book where it suggests we should separate a programs startup/construction process from its run time logic. In Java (the language the book uses) this ...
0
votes
2answers
79 views

Justifications for developing applications that work on beta versions of iOS?

I'm a participant of the Apple Developer Program and have been downloading and testing beta versions of iOS for a number of years now. When updating to a new iOS version I sometimes notice that a ...
5
votes
1answer
921 views

React Native vs. “Real” native

I am working for the consumer oriented company which has mobile app as main product. Our mobile app has 100K monthly active users and is developed using Cordova + Kendo Mobile + Telerik Appbuilder (...
3
votes
0answers
25 views

Layer below Service and NetworkingManager to handle received data

I'm in the early stages of building a cryptocurrency tracking app for iOS and looking for a scalable design. My question specifically relates to the element of the app which retrieves data from an API ...
0
votes
1answer
2k views

Best Practice for handling data sync with React Native, MobX and REST?

We're developing an app using React Native and MobX for the state stores, and also using a Web API REST service for the GETs and POSTs. All is going well, so far we're able to use FETCH to get the ...
-1
votes
1answer
51 views

Avoiding extra parameters through API or device (Android, iOS)

What is the best practice for REST API call from and device (Android, iOS). I am getting extra parameters/fields in JSON response, while calling an API. Throughout the the application there are ...
3
votes
1answer
459 views

Push notification from web application to my mobile app

I want to create a mobile app(iOS and Android) for business need, ex: the business is Health and Beauty. So I need a mobile app for sale some goods and service. However, I need push notification to ...
3
votes
1answer
58 views

What's the best way to efficiently build an iOS App with thousands of small resource files?

I have an iOS app that currently has over 2500 images. These are generated into an asset catalog to make use of thinning (2500 x 5 variants = lots of files). The files are largely accessed at random. ...
1
vote
2answers
881 views

Build a realtime chat app which stores messages in a MySQL database

I'm thinking of making a realtime chat app that would allow me to store user messages into a MySQL database. So far these are the two ideas I have. 1) Create and API which the message is sent to and ...
2
votes
1answer
87 views

Why JS MVC frameworks prefer data binding to UI element reference?

When you are using frameworks like Angular, Angular2+, and React, the way you put data in the UI is by binding a property to an attribute of a UI element. On the other hand, when you're doing ...
1
vote
0answers
47 views

iOS Push Notifications Certificate Sync Cert to Servers

I'm not sure if this is the correct form to be posting this on Stack Exchange. If not I apologize in advance and hope someone can point me in the right direction of where to post. I have a AWS Load ...
3
votes
1answer
56 views

How can I track who invited who to install?

After a user invites their contacts from within my app, I want to send the first user a notification "so and so installed the app, you can now connect with them." So when a user invites someone, I ...
2
votes
1answer
876 views

Battery Impact: Idle vs Busy Websocket on iOS [closed]

I’m wondering whether a busy websocket connection uses significantly more battery on iOS than a sparsely utilized one - or if there is a constant overhead simply for maintaining the connection that ...
1
vote
1answer
564 views

How to handle the server side push notifications when an Apple device token refreshes?

Each time an iOS app is installed a new device token is generated. When the app asks the user for permission to push notifications one can get the new device token value. How can I know that this ...
3
votes
4answers
405 views

Different feature set in multiple mobile apps from the same code base

I inherited a large code base (iOS / Objective-C) that is used to build multiple mobile apps. The apps have similar, but not identical UI. The apps share a lot of common features, but there are ...
1
vote
0answers
43 views

Parse: Managing inventory with subclasses

I'm working on a system which manages inventory in a warehouse setting. All of the inventory items share some common traits, such as name, description, photo etc... However, there are about 6 very ...
0
votes
1answer
201 views

iOS VIPER - Should a screen that returns a result be a different module?

I have a module, e.g module A, and after doing some work and clicking on a button of viewControllerA, I should receive a custom "alert" that the request I tried was successful. The "alert" should have ...
1
vote
2answers
367 views

Architecture of mobile backend

I would like some input on some refactoring I am to do on a mobile backend (API). I have been tossed a mobile API which I need to refactor and improve upon, especially in the area of performance. ...
0
votes
1answer
228 views

How to add formatting/validation rules to UITextfield on Xamarin.iOS

This looks like another network's question, but I think it fits better on here rather than StackOverflow, since it's not gonna have one basic answer. We are in the context of iOS development, I'm ...
-5
votes
2answers
117 views

Which applications are developer environments and operating systems coded in?

I have been wondering about this for a while. What applications is programs like visual studio programmed in? But also, where is operating systems like android, ios and windows written in? I just ...
-4
votes
1answer
123 views

Trying to understand singleton objects in Swift [duplicate]

In Swift, if I have a class with only type properties and methods (everything declared static) would that be considered a singleton object? If not, why?
3
votes
4answers
2k views

What should a rest api return for an empty guid?

I have a .net api backend for mobile apps and the question came up (in conversation with the iOS develper) if a JSON response for an empty GUID should return: 00000000-0000-0000-0000-000000000000 ...
1
vote
1answer
109 views

Do iOS view controllers and their viewDidLoad method violate the single responsibility priniciple?

I am learning about OOP principles and realized that on iOS view controllers become massive because we tend to stuff all the view responder methods in them. A lot of stuff happens in the viewDidLoad ...
3
votes
2answers
266 views

How to handover an iOS project that creates views in code?

I'm training the new iOS developer who will replace me. However, the majority of views in the project is created with code (using a library to make Autolayout more concise). There is no storyboard in ...
-1
votes
1answer
137 views

How to prove a certain app uses my library? [closed]

I am the author of an iOS framework and I know for sure that an app uses it, but the app's author is not attributing it. How can I prove this in a way that also a judge would accept it?
1
vote
1answer
35 views

MVC: In iOS how to pick a view and then apply a suitable controller to it?

Per MVC design pattern as in GOF, "a view can be disabled so that it doesn't accept input simply by giving it a controller that ignores input events". That means, we decide a view first and then pick ...
2
votes
1answer
245 views

MVVM, example of use in iOS

I have a view controller with a mapview (Apple Map), on top of that there is a view with a button and a textfield. The view is compacted around the search button, when I touch it it expands revealing ...
5
votes
2answers
157 views

What would cause a company to need to move their app on the iOS App Store to different “app”?

I'm not sure what SE site to ask this on, but I figure this is something somebody in the SE community has the answer. Feel free to move this question if this is the wrong place. Recently I launched ...
0
votes
2answers
342 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...)....
7
votes
1answer
948 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
510 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
134 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
299 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
60 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(...