MotionInMotion
RubyMotion for Rails Developers: MotionKit (part 1) - MotionInMotion RubyMotion for Rails Developers: MotionKit (part 2) - MotionInMotion MotionKit (part 1) gem 'motion-kit' class MainLayout < MotionKit::Layout def layout add UILabel, :lab…
RubyMotion for Rails Developers: Auto-Layout (part 3) - MotionInMotion Auto-Layout (part 3) addConstraints NSLayoutConstraint.constraintsWithVisualFormat options: NSLayoutFormatDirectionLeadingToTrailing, metrics: { 'padding' => 20 }, view…
RubyMotion for Rails Developers: Auto-Layout (part 1) - MotionInMotion RubyMotion for Rails Developers: Auto-Layout (part 2) - MotionInMotion Auto-Layout (part 1) AddTaskViewController < UIViewController view.layout_guide = self.topLayoutG…
RubyMotion for Rails Developers: Views in depth (Part 1) - MotionInMotion RubyMotion for Rails Developers: Views in depth (Part 2) - MotionInMotion Views in depth (Part 1) UIView hidden alpha opaque clipsToBounds like css overflow true -> …
RubyMotion for Rails Developers: View Controllers in depth (Part 1) - MotionInMotion RubyMotion for Rails Developers: View Controllers in depth (Part 2) - MotionInMotion View Controllers in depth (Part 1) StatusBar configuration preferredS…
RubyMotion for Rails Developers: Introduction Video - MotionInMotion RubyMotion for Rails Developers: Hello RubyMotion - MotionInMotion Motion Toolbox: A collection of RubyMotion libraries and wrappers Mac Bacon rake device rake device_nam…
From Interface Builder to NSLayoutConstraints - MotionInMotion Interface Builderを使ってLayout実装 Interface Builder class BaseLayout attr_reader :controller, :root_view, :subviews def initialize(controller, subviews) @controller = control…
Size Classes in Xcode 6 Storyboards - MotionInMotion XCode Preview Interface Builder でのプレビュー [iOS 7] Xcode 5 で始める Auto Layout 入門 #2 – Interface Builder 編 | Developers.IO Size class Size Classes with Xcode 6: One Storyboard f…
Converting Between Android with Java and Android with RubyMotion - MotionInMotion Androidの基本チュートリアル Getting Started | Android Developers Building Your First App | Android Developers app.package = 'tv.motioninmotion.myfirstapp' re…
The Raw Experience of Setting Up RubyMotion for Android - MotionInMotion Androidの基本 Welcome to RubyMotion sudo motion update sudo motion update --pre /Library/RubyMotionPre Install Java javac Java1.6 1.7, 1.8でも動くはず Eclipse ADT $ m…
Objective-C Basics and Conversion - MotionInMotion Objective-Cでの書き方 property attr_accessor method definition parameters literal string, number array @[@"foo", @42, @"bar", @3.14]; dictionary @{ @1: @"red", @2: @"green", @3: @"blue" };…
Application Workflows in Interface Builder with Storyboards and Segues - MotionInMotion Segueの設定 drag segue on button from view ctrl drag action segue push, modal, custom delete property (modal) prepareForSegue if segue.identifier == "S…
Interface Builder and the IB Gem - MotionInMotion ib gemを使って1からプロジェクト作成 gem 'ib' .gitignore ib.xcodeproj controller extend IB outlet :title, UILabel def button_pressed(sender) rake rake ib rake ib:project gem install libxml-r…
Publish and Subscribe with NSNotificationCenter - MotionInMotion NSNotificationCenterを使ってデータの登録と更新 Publish and Subscribe singleton NSNotificationCenter.defaultCenter userinfo receive message def viewDidAppear NOT def viewDidLo…
RMQ Validations - MotionInMotion Validation with RMQ Documentation | RMQ valid? rmq.validation.valid?('https://www.infinitered.com', :url) #true rmq.validation.valid?(98.6, :number) #true field rmq.append(UITextField, :user).validates(:ema…
Test Driven Development and Creating a Gem Part 2 - MotionInMotion toolbarのgemの続き Opening変わった better toolbar gem vim :!rake spec :!git commit rake gem:release TDDは流れくらいしか参考にならない
Test Driven Development and Creating a Gem - MotionInMotion Toolbarのgemを作る motion create better_toolbar --template=gem .gemspec書く ファイル削除 rm -R lib/project rm spec/main_spec.rb ディレクトリ追加 lib, spec Rakefileのパス修正 spec…
Tab Bar Controllers And How To Customise Them - MotionInMotion TabBarの実装 Icons8 Download 1700+ Free iOS 7 Icons | Icons8 icon pack for iOS7 Apple iOS Human Interface Guidelines: Designing for iOS 7 @window.rootViewController = tab_bar_c…
Toolbars - MotionInMotion ツールバーを表示、ボタンを配置 ASCIICast Episode 34 ASCIICast - Working With Toolbars MainController viewDidLoad navigationController.toolbarHidden = false setToolbarItems UIBarButtonItem.alloc.initWithTitle UIBar…
Roll Your Own API Client Using NSURLSession - MotionInMotion APIからデータを取得するclient class NSURLSession class API def get create_request create_task(request, &block).resume session NSURLSession.sessionWithConfiguration(config) def cr…
Classes to Procs to Blocks - MotionInMotion Classをblockとして使う MainViewStyler def to_proc -> (view) { view.name_label.text = "#{@person.first_name} #{@person.last_name}" MainController loadView view.tap &MainViewStyler.new(@model) APIM…
Custom Video Players and Animating Videos - MotionInMotion ビデオを再生しながらアニメーション PlayerController file_url = NSBundle.mainBundle.URLForResource('big_buck_bunny', withExtension: 'mp4') file_url = NSURL.URLWithString('http://cli…
Animations with CALayer - MotionInMotion CALayerを使ってflipやshrinkのアニメーション UIImageの場合 image_view.image = UIImage.imageNamed('title') @image_layer = image_view.layer CALayerの場合 layer.addSublayer(@image_layer = CALayer.layer)…
Table Cells in MotionKit - MotionInMotion MotionKitを使ってセルのAutoLayoutを整える motion-kit/motion-kit · GitHub READMORE.md class EntryCellLayout < MK::Layout constraints do size.equals(:superview) ListController cell = table_view.deque…
Setup Wizards and Custom Container Controllers - MotionInMotion ContainerViewを使ってウィザード形式の遷移 SetupWizardController def init @current_controller ||= -1 loadView @nav = UINavigationController.alloc.initWithRootViewController(nex…
Hybrid Applications and Two Way Communication with UIWebViews - MotionInMotion web viewとメッセージをやりとりする hybridapp:// window.location Split message gsub('hybridapp://', '').split(':') hybrid web view delegate basecamp app Drawing …
Pick a good one with UIPickerView - MotionInMotion picker viewで色を選択 app/stores/color_store.rb Color = Struct.new(:color, :label) class ColorStore COLORS = [ Color.new(:black, "Black"), app/delegates/ class PickerDelegate UIPickerViewD…
Ad-hoc Deployment With Installr - MotionInMotion アプリ配布のInstallrについての説明 Installr - Easy iOS and Android beta app distribution similar to testflight hockeyapp taking care of provisioning stuff competition Show off your RubyMotio…
Formatting Rich Text With NSAttributedString - MotionInMotion いろいろなスタイルの文字を表示 NSAttributedString NSMutableAttributedString NSFontAttributeName UIFont.preferredFontForTextStyle(UIFontTextStyleHeadline) NSParagraphStyleAttribu…
Pointers and Crazy Graphics with Shaun August - MotionInMotion 最初の5分でいい(全約1 hour) 後半は微妙、今三くらい、Pointerみたいなところずっとやってる canada vancouver part time programmer program hobby ab control flash rails HotCocoa::Gra…