Questions tagged [ios]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
49 views

Building native iOS app that runs on iPhone, iPad and Mac

Since Apple introduced Catalyst ealier this year during WWDC '19 it becomes possible to have a single codebase for an app that runs on iPads and Macs. Already for a long time it was possible to ...
1
vote
1answer
20 views

Transaction management on mobile applications

While there are prescribed methodologies for the middle layer when it comes to transaction management like Saga pattern etc. I want to know what's the advice on handling such on a mobile application ...
-2
votes
0answers
18 views

Relay IOS Events to a server

So, a friend of mine has asked me to assist in creating an application to create a Discord Rich Presence (Information displayed on the Discord users profile from things like Video Games, and other ...
2
votes
3answers
56 views

Best practice for feature flagging in mobile apps while avoiding incomplete functionality?

I'm wondering how best to handle the scenario of releasing a mobile app that includes an incomplete feature behind a feature flag in one version and then the completed feature behind the flag in a ...
-4
votes
1answer
53 views

Can iOS App Process Location Info while it's not running?

I want to ask about iOS application characteristic/behavior regarding processing location information. My previous wording isn't straightforward and seems to make it look unclear (which is my problem ...
0
votes
2answers
38 views

Swift, creating views with table view controller

Im not sure if this is the right place to post this kind of question, but, I heard from a colleage that he creates all his views in a table view and for each item creates a separate cell. e.g. A ...
1
vote
1answer
86 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 ...
0
votes
1answer
57 views

Deploying Multiple Versions in One App Package

This is a question about Android, and iOS apps. The technology is Xamarin (C#) but this is not really important. The app will be deployed to the stores. The client app must be compatible with the ...
1
vote
3answers
161 views

How do I architect an iOS app when multiple view models must know when the model has changed?

I'm using MVVM and I have an app with a UITabBarController, the Main tab of which is a list of publications and the other is a Search screen where they can search for publications. Searching returns a ...
1
vote
1answer
146 views

What is a good approach for saving a Swift model that's a struct containing structs to Core Data?

I'm new to Core Data, and am not sure how to reconcile the need to inherit from NSManagedObject with the fact that my model is a Swift struct composed of structs. I chose to make my a model value type ...
1
vote
2answers
79 views

How to make sure the file is uploaded from my application

Imagine the following scenario: I wish to build a photo-sharing social network app similar to Instagram (iOS only for the sake of conversation), and I want to make sure that users are using only my ...
36
votes
6answers
38k views

How to avoid big and clumsy UITableViewController on iOS?

I have a problem when implementing the MVC-pattern on iOS. I have searched the Internet but seems not to find any nice solution to this problem. Many UITableViewController implementations seems to ...
0
votes
0answers
39 views

Would it be reasonable to use the HTML Canvas as a render solution for a app on mobile?

This is my first post on this community, so let me know if I need to elaborate. I am making a motion graphics app on mobile (think After Effects for iOS), and was wondering if it would be viable to ...
5
votes
2answers
16k views

Can python and php work together?

I am having a mobile app created for ios. The developers built the app in php. The app requires an algorithm so I found another programmer to develop it. The algorithm programmer built the algorithm ...
1
vote
2answers
154 views

who is responsible to define the algorithms, the class and data structures in a scrum team?

We developed our app for iOS and Android in native code. Before using scrum we had the following development logic: We define the overall product requirements (for iOS and Android app) The iOS ...
3
votes
2answers
3k views

In iOS, y-axis starts from the top and grows downward. It is the opposite to macOS. What is the rationale and technical advantage behind this change?

In iOS, the coordinate (0, 0) means the top left corner. In macOS it is the bottom left corner. What is the Apple's rationale or technical advantage of this coordinate system?
-1
votes
1answer
159 views

Did Apple violate OCP back when they released iOS 7

If I remember correctly, back when iOS 7 was released, there were a couple of issues regarding the public API of certain classes which implementation was completely changed. The following is an ...
0
votes
1answer
36 views

Only be able to sign into app after existing user send invitation [closed]

I am looking to build an app where the only way a new user can enter the app is if they have been invited by an existing user. Are there any API's, tutorials or resources that can help me achieve this....
3
votes
1answer
138 views

Why are cloud services needed for push notifications?

We currently have a customer that wants us to implement push notifications to our app. The problem is that for this customer, security is really, really important... I am not able to find any official ...
1
vote
1answer
32 views

Review: Technique for building a timeline to trigger events at points on that timeline

I am thinking through some techniques where by I have an application with a timeline. The timeline plays in real time and at points on that timeline I would like to trigger some actions. There are no ...
1
vote
3answers
94 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/...
-1
votes
1answer
43 views

Is a localized Mobile App considered bad and prone to removal from Apple/Google's perspective?

For the occasions that I've been offering SaaS, I've been asked to develop Apps that are pretty much a clone of regular e-commerce webpages, but with a few features like notifications and, well, being ...
-2
votes
1answer
46 views

IOS/Android Push notifications

I am planning some app as a part of our product. One part of the app will be to receive push messages. Sometimes it's months between uses of the app and, by experience with other apps I've used, it ...
3
votes
1answer
654 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 ...
0
votes
4answers
3k views

How can test users access an unpublished iOS app?

I am considering outsourcing the development of an iOS app to various independent developers. I will have have various testers of the app. We all work for separate companies. Some of these testers ...
8
votes
8answers
699 views

Unit test which asserts that current thread is the main thread

The question is does it make sense to write a unit test which asserts that the current thread is the main thread? Pros/cons? Recently I've seen the unit test which asserts the current thread for the ...
1
vote
2answers
152 views

What is better approach to implement dependency injection using MVVM Architecture?

I need to use DispatchQueue within controller and pass it as dependency. This is what I have tried so far and worked out two solutions. Need to ask what is better and in common use by other developers:...
1
vote
0answers
32 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 ...
3
votes
1answer
1k 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 (...
3
votes
4answers
4k 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 ...
0
votes
2answers
42 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 ...
4
votes
2answers
1k 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
54 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 ...
1
vote
2answers
166 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 ...
0
votes
1answer
59 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 ...
1
vote
0answers
411 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
171 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....
0
votes
1answer
4k 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 ...
2
votes
1answer
989 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 @...
-3
votes
1answer
68 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 ...
5
votes
1answer
1k 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 (...
5
votes
2answers
2k views

Is it safe to trust emulators when developing multi platform/resolution mobile apps?

I'm currently developing some mobile applications using PhoneGap for Android, testing only in 3 different kinds of smartphones, and using emulators to test on the others target phone resolutions. ...
0
votes
2answers
378 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...)....
4
votes
2answers
120 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 ...
25
votes
1answer
1k views

Rest APIs - mobile specific challenges

I'm working on a new iOS app project, on the mobile side. Some architecture changes are happening and it turns out we will have to rely on a custom built private API that will be used by the app we ...
9
votes
1answer
600 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
0answers
173 views

Designing object oriented programming

Basically, I want to make api calls using an SDK I am writing. I have the following classes: Car CarData (stores input values needed to create a car like model, make, etc) Basically to create a ...
0
votes
2answers
82 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 ...
3
votes
0answers
51 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
2answers
996 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 ...