Skip to main content

Questions tagged [ios]

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

1 vote
2 answers
131 views

Is my understanding of the GitFlow release process valid?

We currently use the GitFlow process to manage our releases (or so I think) for a native iOS app. Here are the steps we carried out for context: We created a new repo with the main branch We then ...
Shawn Frank's user avatar
0 votes
1 answer
119 views

Is there any way to have an android or iOS app expose a web-api?

I want to develop a miminal app for iOS and Android. Basically, I want to have a widget (or similar micro-app) that displays how many items I have in a list. If I open the widget, it just opens a ...
Chaos Crafter's user avatar
0 votes
0 answers
71 views

Is it a good idea to have multiple derivations of Presenter (MVP) / View Model (MVVM) of a certain view and supply them externally?

So, I've an iOS project that needed to be revamped and added with a routing / navigation logic between views. We have 3 ways as the entry point of the routing: manually, push notification, and ...
Bawenang Rukmoko Pardian Putra's user avatar
1 vote
1 answer
158 views

SPM: Expose transitive dependency types

I'm developing a Swift Package distributed via Swift Package Manager (SPM). I have other dependencies (Swift packages) that my package depends on. Is it possible to expose types (classes, structs, etc....
Fourth's user avatar
  • 79
1 vote
1 answer
148 views

How do I mock API responses with security in mind?

My team and I are beginning to mock our API responses in our iOS app so we don't have to worry about our backend being up when testing. I have conditional compilation directives based on the ...
Derek's user avatar
  • 121
1 vote
1 answer
246 views

SwiftUI, Core Data/SwiftData and Tight Coupling with the Views

I am starting to work on Core Data applications with SwiftUI. I have a view that looks like this: struct ContentView: View { @FetchRequest(sortDescriptors: []) private var todoItems: ...
john doe's user avatar
  • 141
0 votes
1 answer
947 views

Should I use my View Model to Test my Views in SwiftUI?

I was reading a post about testing in SwiftUI and the author said that don't write unit tests for your View Models that tests the UI of your view. The example he gave was a simple counter app. ...
john doe's user avatar
  • 141
5 votes
1 answer
277 views

Keeping version parity between platforms

I'm in the mobile development domain and I use semantic versioning to version my releases. I keep both versions the same as long as new builds are released for both iOS and Android platforms at the ...
Isuru's user avatar
  • 391
-1 votes
1 answer
257 views

iOS application token auth best practices

I am looking into building an iOS application and using an internally built API to access data. My API has some authentication endpoints that takes in a username and password and, if the login is ...
Trenton's user avatar
  • 17
1 vote
1 answer
372 views

SwiftUI View permissions best practice?

I am currently developing an iOS application where there are options on the screen to edit and delete a list. Only the user who created this list can edit or delete it. I am struggling to determine ...
Trenton's user avatar
  • 17
0 votes
0 answers
485 views

How do I migrate Core Data data to a React Native application?

I have an iOS application that uses the Core Data framework. I'm migrating the application from Objective-C/Swift to TypeScript + React Native. My Core Data configuration uses SQLite as a backend. The ...
moonman239's user avatar
  • 2,063
9 votes
1 answer
9k views

The right place for "app logic" in MVVM context

I hope this is the right place to ask. I'm an experienced developer, and have used MVC for much time. This question is in the context of iOS/macOS development for the most part, (SwiftUI). Using MVC ...
Woodstock's user avatar
  • 201
0 votes
1 answer
332 views

How to set up login pin system

i want to set up basic login page in xamarin.forms. There is no username/password, just a simple pin so far i have 3 pages to do this Sign-up Pin page Sign-up Confirm Pin Page (re-enter pin to ...
Dan's user avatar
  • 101
1 vote
0 answers
39 views

Should I separate a variable that changes often into a different entity although it is contextually should be inside another entity?

So, I have an entity called Consultation that is being used as a member variable of the class VideoCallViewModel that goes like this: struct Consultation: Equatable { enum Status: Int, ...
Bawenang Rukmoko Pardian Putra's user avatar
0 votes
0 answers
496 views

How to maintain and deploy a poc (Proof Of Concept) version of an app?

In our organization we sometimes have to create a poc (proof of concept) to either validate or invalidate the way to go. Currently we're having a discussion around how to embed this within our ...
Baklap4's user avatar
  • 109

15 30 50 per page
1
2 3 4 5
28