mfikes / goby

Develop iOS apps with ClojureScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Improve mechanism used to locate GBYManager

mfikes opened this issue · comments

In GBYViewController and GBYProtocolForwarder, access to the GBYManager is needed, and currently this is done by looking for a property named cljsManager in the AppDelegate.

There must be a better way. Maybe Goby can enforce that a singleton GBYManager exists or otherwise provide a more flexible way for the GBYManager to be registered. What if there is a need for more than one GBYManager?