-
Notifications
You must be signed in to change notification settings - Fork 147
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
nav_bar_button class method #272
Comments
I like this a lot. The only thing that has been scratching my head sometimes is the load order of things under RubyMotion. I know you can configure dependancies in App, but I still find issues sometimes (particularly with things like fonts being registered etc). By making this a class method, are we going to hit any similar limitations? Diving into the Teacup source, they solve this issue elegantly by storing styles until they are needed / queried. So perhaps I suggest evaluating the actual call during on_init rather than when the class itself is instantiated. What do you think? I know it would help me as I'm trying to use a custom font. Perhaps others will hit similar roadblocks. Daniel |
(i.e. the class-level nav_bar_button just stores its args, but doesn't actually call |
That's my thought as well, except I plan to add it in the |
…ightstudio/ProMotion into feature/navbarbutton-class-method * 'feature/navbarbutton-class-method' of github.com:clearsightstudio/ProMotion: implemented nav_bar_button class method RE jamonholmgren#272
* feature/navbarbutton-class-method: implemented nav_bar_button class method RE jamonholmgren#272
@jamonholmgren I'm closing this since it looks like this was resolved back in February with the 2.3 release. |
The text was updated successfully, but these errors were encountered: