How to set up offline vector tile maps with CapacitorJS Mapbox GL JS [closed]
Stack Exchange Forum » iOS Development
by Felix Olszewski
1M ago
I think the Mapbox Maps are best in terms of UX. The option to have a world when the eastern end of the map is reached, modulo to the western end of the world map is great too. And pins etc. automatically decrease in size. I would want to use vector maps offline with mapbox in a CapacitorJS Hybrid Native app that uses mapbox-gl-js. That this works in True Native Apps was already mentioned in this stackoverflow post, but do note that it's from 7 years ago: https://stackoverflow.com/a/43484182/20009330 So the native version for sure supports offline maps in some way: https://docs.mapbox.com/help ..read more
Visit website
Is React Native suited for a text notes editor app like Notion
Stack Exchange Forum » iOS Development
by Chef Lax
8M ago
Some info ahead of time: I do already have some experience in mobile app devving. I would like this question to be answered only if you have quite some experience with react native UI-building, especially for custom features like mentioned below and preferably also know the limitations that react native has when comparing to native apps in regard of building good UI-interactivity. I am trying to build sth like Notion for fun. I saw Obsidian, their mobile app is a web app built with Capacitor where I am seeing some issues with drag and drop of images on mobile, the UX is kind of bad (you don’t ..read more
Visit website
Macro the device on [closed]
Stack Exchange Forum » iOS Development
by Karthik Balaji
8M ago
Best practices for upgrading user data when updating versions of software In my code I check the current version of the software on launch and compare it to the version stored in the user's data file(s). If the version is newer, then I call different methods to update the old data to the newer data version, if necessary. I usually have to make a new ..read more
Visit website
How do I mock API responses with security in mind?
Stack Exchange Forum » iOS Development
by Derek
9M ago
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 SWIFT_ACTIVE_COMPILATION_CONDITIONS flag, specifically DEBUG MOCK_SYSTEM. This flag controls whether my code uses mock data or sends real network requests. While it works, I'm concerned about the security of exposing confidential non-production API keys in the development and testing process. #if MOCK_SYSTEM DispatchQueue.main.asyncAfter(deadline: .now() + mockRequestDelay) { completio ..read more
Visit website
How to plan architecture of a mobile app?
Stack Exchange Forum » iOS Development
by Achyutha Gnanashekar
9M ago
I am trying to make a blog app like medium where users can write blogs. The frontend is ready. But I am confused in the backend part. Please guide me ..read more
Visit website
SwiftUI, Core Data/SwiftData and Tight Coupling with the Views
Stack Exchange Forum » iOS Development
by john doe
10M ago
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: FetchedResults<TodoItem> enter code here var body: some View { List(todoItems) { todoItem in Text(todoItem.title) } } } This works and I can display all the todo items on the screen. But now my view is tightly coupled with Core Data. What if in the future, the client decides that they want to use Realm or GRDB? Should I separate out my data access layer comple ..read more
Visit website
Keeping version parity between platforms
Stack Exchange Forum » iOS Development
by Isuru
10M ago
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 same time. But imagine I fix a bug that appeared only on iOS. Now I have to release a new iOS build so I increase the build number only for the iOS version. Now the versions between the platforms are out of sync. Do you, Release a "placeholder" build for Android with the bumped up version just to keep the versions in sync? Accept the fact that version numbers on separate platforms can and will b ..read more
Visit website
IOS application token auth best practices
Stack Exchange Forum » iOS Development
by Trenton
10M ago
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 successful, it spits out a JWT. My question is, what are best practices for iOS logins such as this? I've been doing some research and have not been able to find anything that answers this particular question ..read more
Visit website
What is the lib/ or library/ directory for? [closed]
Stack Exchange Forum » iOS Development
by david_adler
10M ago
I'm considering having a lib/ directory in my source code. From what I understand it's basically a junk draw where all the code lives which isn't view related? It seems like a very generic name to me. Could it refer to an internal library created by the project which could be then open sourced and used in any project? I've seen it in iOS development and ruby development too. Ideally somebody could layout what lib/ means in a number of frameworks / languages / platforms so I could get a sense of what it generally means. eg Ruby on rails: ... Unix: ... iOS ..read more
Visit website
The right place for "app logic" in MVVM context
Stack Exchange Forum » iOS Development
by Woodstock
10M ago
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 in iOS I always found the paradigm and architecture simple. Views contained view related code (layout and reactive code) Models were just stores Controllers populated models, did all the business/app logic, held references to the the objects that did work (network handlers, data parsers, business logic) In MVVM, (used in SwiftUI) I'm really struggling with where to put this code. I see the right ..read more
Visit website

Follow Stack Exchange Forum » iOS Development on FeedSpot

Continue with Google
Continue with Apple
OR