Modular iOS app [closed] - ios

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I'm considering a way to make an easy extensible iOS app. Let me explain, a client want's an app which is easy extensible with modules, so we can make separate modules and add them as wished to a base app. It have to be a possibility to make de modules in a new Xcode Project (it may be that inheritance of an interface is necessary). So in the end, de modules have to be added tot the Xcode Project of the base app and the new added module (UIView) is automatically added to the tab bar menu (or any other menu structure).
I'm not asking for code snippets but just your opinion of how to solve this problem or what the best way is to do it.

It sounds like you need to develop a framework. Find the pieces of the app that you want to be shared among other apps. Make that into its own, standalone entity.
On my projects, I have similar apps with different UI's. So the core of how data is retrieved and manipulated is all the same code. What differs is the UI.
That's the approach I would take.

Related

Is it possible to create photo cleaner app using nativescript? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I want to create iOS app which helps me to clean photo library.
Idea is simple - show all photos and videos from my iOS photo library with its sizes (regardless of where is media located - in iCloud or locally) with ability to preview them and to make selection for next deletion.
I have started to configure environment and figure out how to write apps with nativescript and can't google even how to get full list of photos/videos from iOS native Photos app.
Are there any limitations which will not let me to create an app described above in nativescript? Maybe it is not even possible to create in Xcode?
Is it possible to do in NativeScript? Yes.
It's very much possible. But you may not get the code you could just copy paste, you will have to understand the way plugins work & code marshalling (Objective C to JS).
The advantage of using {N} here would be cross platform UI, JavaScript as programming language for both iOS and Android, but you will have to use the native APIs to do the job.

What apps can not be created with flutter? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I am very interested about what apps I can not create using flutter?
It seems like almost everything (except what?) can be done, and the only price of cross-platform is app speed.
The primary downside of using Flutter is library support. Only a very small number of libraries have been ported over. For instance, Realm is a popular database solution. It has not been ported to Dart or Flutter. So if you have either an existing app or an idea for an app that you want to develop in Flutter, then you should first think about what libraries you need (databases, maps, etc.) and then ensure that there exist the appropriate libraries.
Everything CAN be done in Flutter, but unless all of the main libraries you need have been ported over, it will be a lot of work. So in that case, you should choose a different framework.

iOS Click/Drag event in other apps [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I need an app that can create click/drag macros to interact with other apps or the system in general.
From searching on the app store, and online, the closest thing I could find was autotouch, which could be used to simulate rapid clicking. However, this isn't nearly close enough to what I need.
Thus, I tried to look up the relevant functions so I could write the app myself. Unfortunately, I could not find any prior discussion of this problem.
A good description of the functionality I am looking for is the way TestComplete's Drag method works.
Unless I missed something, there's no straightforward way to create click/swipe/drag macros that work across apps in iOS.
So are there any "hacky" methods to accomplish this task?
Example usages:
create a macro for navigating between menus in another app
clicking very specific spots in a very specific sequence in another app
quickly change settings/configuration in another app
Apps submitted to the iOS App Store are required to be sandboxed, meaning each app exists in its own isolated environment in the file system and is only allowed to interact with the outside system via approved public APIs defined in Apple's frameworks. This, of course, is for security reasons, and no Apple frameworks provide the functionality you want. I would also imagine that enabling apps to control other apps via gesture macros is not something Apple is likely to support in the future, given that even system-wide screen-recording apps are currently banned.

Same code base in different apps [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
Here's my problem: Today my company has an app that communicates with a specific server, but we received demands to develop this same App for different servers, so a few things need to be changed in the App (like the URL to call and the logo).
I do not want to create a whole new application with 99% of the code the same in my Xcode just to do that, because it would be really difficult to develop new stuff.
I'm wondering if it's possible to maintain the same base code with just small changes to different applications.
Hope I made myself clear, thank you.
Just to answer my own question, I just found this guide:
https://itexico.com/blog/iOS-Mobile-Development-Using-Xcode-Targets-to-Reuse-the-Code
Different targets and preprocessor macros are just what I needed, pretty sweet!
For something like this, I'd suggest using easy-to-manipulate stuff like plists and so on to make a core app like a framework that would be able to read an XML for example, and parse its data into different fields of your Plist and apply the settings based on that data for every new app that you have.
So, you should have items like url and logo, etc. in your settings Plist, and getting to read them in the app rather than setting values manually inside the app. This way, you'll be able to drop different image files called logo.png for each app, or edit the value for url in your Plist, and the app will read the value from the Plist.
However keep in mind that Plists are good if you don't have a giant list of items, because they can be slow if you get a really big one, but they're so quick and handy for average number of items.
I hope this helps.

Manage publishing of several very similar apps on the App Store [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 8 years ago.
Improve this question
I need to find an easy way to maintain a set of different iOS apps but that they will be very similar one to another. Too similar actually, the differences will be just regarding the content.
Following the typical way of releasing/updating an app, it would imply:
Create a "core project" of the app with all the functionality and UI.
Create n projects that reuses the core project. Every project would just provide a DB with different content.
Having to release/update every single project/app to the AppStore
This would be too time consuming. Is there a tool or a methodology that can help us speed up the process and help the maintenance?
The built in process for this is to create multiple targets in a single project. Each target will have its own info plist, etc.

Resources