Dear Xcode gurus
Is it possible for an app client to provide options to a framework?
This is the situation I am faced with. The functionality of the framework is the same for each app, but the data it handles can not be shared between each app. That same data can also be copied and pasted, so I use a custom pasteboard identifier in the framework. Just a string that is defined in the .m file.
I now want to use a custom "myPasteboardType" for each type of data/set of apps. Is it possible to force the client to provide this at start up?
Or, now that I think of it, should I just use a static class variable that can be changed by the client?
Thanks for the advice!
Is it possible for an app client to provide options to a framework?
This is the situation I am faced with. The functionality of the framework is the same for each app, but the data it handles can not be shared between each app. That same data can also be copied and pasted, so I use a custom pasteboard identifier in the framework. Just a string that is defined in the .m file.
Code:
#define myPasteboardType com.domain.framework
Or, now that I think of it, should I just use a static class variable that can be changed by the client?
Thanks for the advice!