Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

initializationOptions dictionary should be broken apart (and is strange to use from Swift) #42

Open
p2 opened this issue May 11, 2015 · 0 comments

Comments

@p2
Copy link
Member

p2 commented May 11, 2015

The app delegate's initializationOptions dictionary contains a lot of different settings pertaining to different areas, it would be nice to delegate those responsibilities out to a controller object belonging to the "module" in question, as discussed in #41.

Also, some arrays in the dictionary, such as kAppProfileElementsListKey, rely on an NSNumber representation of enum values. This is weird to use from Swift, where you need to wrap those in something like

NSNumber(unsignedLong: enumCase.rawValue)

Issues like these could be solved more elegantly from a "module" controller.

Erin-Mounts added a commit to Erin-Mounts/AppCore that referenced this issue Nov 19, 2015
Expose APCThankYouViewController, Add ability to hide sharing step
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant