Closed folivi closed 9 years ago
Hi @folivi , thanks for using PM! Could you post your Rakefile?
Here it goes:
# -*- coding: utf-8 -*-
$:.unshift("/Library/RubyMotion/lib")
require 'motion/project/template/ios'
begin
require 'bundler'
Bundler.require
rescue LoadError
end
Motion::Project::App.setup do |app|
# Use `rake config' to see complete project settings.
app.name = 'menu-temp'
app.frameworks += ['CoreFoundation','QuartzCore']
app.pods do
pod 'MMDrawerController', '~> 0.5.7'
end
end
Note: I managed to get the control working without PM
@ryanlntn Can you look into this?
@jamonholmgren Sure thing.
@folivi I wasn't able to reproduce this in the minimal PM app I spun up with the Gemfile and Rakefile you provided. How are you instantiating the menu? I'm doing this in on_load
of AppDelegate
:
open_menu HomeScreen.new(nav_bar: true), left: MenuScreen, to_show: :pan_nav_bar, to_hide: :pan_nav_bar
You can clone and build my minimal PM app to rule out environment issues. You might also try running rake clean:all
and rebuilding from scratch if you haven't already.
Hey guys,
cleaning up and rebuilding worked.
Sorry for raising a fake problem.
Cheers
2014-12-06 20:53 GMT+01:00 Ryan Linton notifications@github.com:
@jamonholmgren https://github.com/jamonholmgren Sure thing.
@folivi https://github.com/folivi I wasn't able to reproduce this in the minimal PM app I spun up with the Gemfile and Rakefile you provided. How are you instantiating the menu? I'm doing this in on_load of AppDelegate:
open_menu HomeScreen.new(nav_bar: true), left: MenuScreen, to_show: :pan_nav_bar, to_hide: :pan_nav_bar
You can clone and build my minimal PM app https://github.com/ryanlntn/pm-menu-issue-44 to rule out environment issues. You might also try running rake clean:all and rebuilding from scratch if you haven't already.
— Reply to this email directly or view it on GitHub https://github.com/clearsightstudio/ProMotion-menu/issues/44#issuecomment-65911233 .
@folivi No problem. Glad I could help. :smile:
Sweet!
Hi guys, I just started a new rm project with PM and PM-Menu and my app crashes with the following message: Terminating app due to uncaught exception 'NameError', reason: 'uninitialized constant ProMotion::Menu::Gestures::MMOpenDrawerGestureModePanningNavigationBar (NameError)
I'm using rubymotion 2.38
my gemfile:
Any help would be highly appreciated