rubymotion

RubyMotion – PullToRefresh

To add Sam Vermette’s SVPullToRefresh to your RubyMotion project: Add the SVPullToRefresh pod Add the Quartz Framework # RakefileMotion::Project::App.setup do |app| # … app.frameworks += [‘QuartzCore’] app.pods do pod ‘SVPullToRefresh’ # … endend # Then in your controller def viewDidLoad # …. tableView.addPullToRefreshWithActionHandler Proc.new { loadMagicalData(tableView) # do some other magic # then don’t forget to: tableView.pullToRefreshView.stopAnimating }# …

Using NUI with RubyMotion

NUI is an open-source library that allows you to style your iOS applications using CSS-like files and syntax. In my opinion, NUI carries few benefits over its commercial, KickStart backed, competitor Pixate. First; NUI allows you to style your application on the fly while it’s running in the simulator. And Second; NUI styled-elements are not masked/wrapped in their special...