Post not yet marked as solved
I am writing an application which is capable of running as a regular application – with a GUI, AND as a ‘daemon’ – servicing other GUI based applets.
The user is expected to decide in which mode they want to run the application.
The questions are:
Can this be done? On Windows, I am able to do this by allowing user to ‘install as a service’ and I can programmatically check if the application HAS been started as a service or not – and take the appropriate code path. What is the equivalent in MacOS?
On startup, how do I check if the application is being launched in regular mode, or launched as a daemon
What are the system interactions which I need to specifically hook into if it is launched as a daemon.
Post not yet marked as solved
I am building a macOS application and would like to check if the application is running in the background or not. Was referring documentation for the same and found few links under 'Archives'. Below is the document I could get:
https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/DesigningDaemons.html
Is there some latest documentation available on this subject ? Any pointers would be helpful.
Thanks in advance.
Post not yet marked as solved
We are building iOS and MacOS application that uses libraries built in C++. If the iOS app and MacOS application consumes the library as dynamic linking i.e. using .dylib, can the application be released through AppStore ? Is there a restriction in AppStore for using such dylib files in the application?
Post not yet marked as solved
Hi,I am trying to create the User Interfaces for my app programatically i.e. without using the storyboards/xib's. I have been able to do the same for iOS application. However, not able to do it for WatchOS. Does WatchOS not allow creation of interfaces via code without using Storyboards?Thanks in advance !
Post not yet marked as solved
Hi,If I have dynamic libraries like testlib.dylib, and I use it in my C++ code using dlopen(), dysym() etc, will it be allowed? This C++ code would be accessed via an Objective-C bridge from Swift. I read somewhere that if any app uses these in their code, it would be allowed to be pushlished on App Store, hence wanted to check the same.Regards,Abhishek
Post not yet marked as solved
Hi,I have some core functioanlity which is written in C++. I would like to use this in my Swift application as a dynamic library or a static library. Can someome please guide how to achieve the same ?