quattro_4 scribble

scribble 落書き (調べた事をただ落書きする)

MotionInMotion

MotionInMotion Episode 23 - MotionKit Basics and AutoLayout

MotionKit Basics and AutoLayout - MotionInMotion motion-kitでレイアウト gem install 'motion-kit' new gem for styling good-bye teacup class ExampleLayout < MotionKit::Layout add UIView, :header do background_color UIColor.darkGrayColor add …

MotionInMotion Episode 22 - Distribute your RubyMotion apps with TestFlight and HockeyApp

Distribute your RubyMotion apps with TestFlight and HockeyApp - MotionInMotion TestflightとHockeyAppでアプリを配布する keychain access csr request save to disk distribution certificate register into keychain app id bundle id explicit app i…

MotionInMotion Episode 21 - My Process, Custom Forms, and Date Fields

My Process, Custom Forms, and Date Fields - MotionInMotion MIMInputToolbar gem 'MIMInputToolbar' キーボードにPrevious, Next, Done (to dismiss)があって、inputs間を移動できる TPKeyboardAvoiding pod 'TPKeyboardAvoiding' handy キーボードとスク…

MotionInMotion Episode 20 - Local Notifications

Local Notifications - MotionInMotion create schema redefine entity schema, entity transformable :notification task app.cancelLocalNotification(self.notification) if self.notification self.notification = UILocalNotification.new.tap do |n| n…

MotionInMotion Episode 19 - Dates with MHPrettyDate, NSCalendar, and NSDateComponents

Dates with MHPrettyDate, NSCalendar, and NSDateComponents - MotionInMotion Taskアプリで日付の表示を変更 MHPrettyDate get "Pretty Dates" ("Yesterday", "Today", etc.) DueAtLabel configure MHPrettyDate.prettyDateFromDate(data[:due_at], withFo…

MotionInMotion Episode 18 - Custom Table View Cells & AutoLayout

Custom Table View Cells & AutoLayout - MotionInMotion TaskアプリでCustom Cell & AutoLayout スライドと説明つきで1時間 Episode 18 - Custom Table View Cells & AutoLayout.pdf - Google ドライブ futuresimple/FSVerticalTabBarController · GitHub C…

MotionInMotion RubyMotion Pairing #1

Fixing Pods, Target/Action, UITableViews, and more with Murtuza Kutub - MotionInMotion RubyMotion Pairing #1 - Fixing Pods, Target/Action, UITableViews, and more with Murtuza Kutub 1時間超え ScreenHero much better than skype Pair Program w…

MotionInMotion Episode 17 - RestKit

RestKit - MotionInMotion RestKitを使ってTaskアプリのCRUD RestKit little code continue task app サーバーサイドrails app FluffyJack/TaskerRailsApp · GitHub heroku rake pod:install pod 'RestKit' pod 'SVProgressHUD' AFNetworking (1.3.3) RestKi…

MotionInMotion Episode 16 - NSFetchedResultsController

NSFetchedResultsController - MotionInMotion 単純なTaskモデルのCRUD NSFetchedResultsControllerを使ってCoreDataに保存 easy to maintain table views will be faster memory usage will go down TaskListController viewDidLoad error_ptr = Pointer.ne…

MotionInMotion Episode 15 - Grand Central Dispatch

Grand Central Dispatch - MotionInMotion 画像をバックグラウンドで順にロードする Grand Central Dispatch background task singleton ImageList def self.sharedInstance Dispatch.once { @shared = self.new } ; @shared instead of @shared ||= self.ne…

MotionInMotion Episode 14 - Five Advanced RubyMotionQuery Tips

Five Advanced RubyMotionQuery Tips - MotionInMotion rmqと画像、ラベルのスタイル sample app (Scroll view + Labels) MainController rmq(self.view).append(UIView).tag(:container) rmq(:container).resize_to_fit_subviews rmq(self.view).attr(conte…

MotionInMotion Episode 13 - Dynamic Type

Dynamic Type - MotionInMotion フォントサイズの変更 PostsControllerTableViewDataSource app/data_sources/PostsControllerTableViewDataSource.rb cell.textLabel.font = UIFont.preferredFontForTextStyle(UIFontTextStyleHeadline) Headline, SubHeadl…

MotionInMotion Episode 12 - Application URLs

Application URLs - MotionInMotion 2つのアプリ間を遷移 Authenticator app.info_plist['CFBundleURLTypes'] CFBundleURLName, CFBundleURLSchemes def application(application, openURL:url, sourceApplication:sourceApplication, annotation:annotation…

MotionInMotion Episode 11 - RMQ

RMQ - MotionInMotion RMQを使ってスタイルの設定 infinitered RubyMotionQuery - RMQ | InfiniteRed 6 minute intro on why RMQ is so cool 36 Minute video creating an Image Browser app command line generator rmq create my_app rmq api File: README…

MotionInMotion Episode 10 - Teacup

Teacup - MotionInMotion teacupなどを使ってスタイルやconstraintsを設定 teacup sugarcube sweettea (teacup + sugarcube = sweettea) class PostView < UIView layout self do subview UITextView, :content_view, { app/styles/ Teacup::Stylesheet.new …

MotionInMotion Episode 9 - ProMotion + Formotion

ProMotion + Formotion - MotionInMotion Formotionでフォームの実装 gem 'formotion' controlの種類 List of all the row types · clayallsopp/formotion Wiki · GitHub class AddZaggleForm < PM::FormotionScreen def table_data sections - rows - title…

MotionInMotion Episode 8 - ProMotion

ProMotion - MotionInMotion なんかオープニングが変わった ProMotionで何種類かのスクリーンを実装 gem 'ProMotion' class AppDelegate < PM::Delegate def on_load(app, options) common def on_load set_nav_bar_button :left, title: "Help", action: :o…

MotionInMotion Episode 7 - Working with the Camera

Working with the Camera - MotionInMotion Cameraを使った実装 Reflector Reflector Airplay Receiver - Mirror an iPhone or iPad to a Mac or PC KeyHook gem 'bubble-wrap' require 'bubble-wrap/core' require 'bubble-wrap/camera' KeyHookController …

MotionInMotion Episode 6 - NSCoder, NSCoding, and NSUserDefaults

NSCoder, NSCoding, and NSUserDefaults - MotionInMotion NSCoder, NSUserDefaultsを使った実装 コアダータ NSCoding Protocol def initWithCoder(decoder) self.title = decoder.decodeObjectForKey('title') self.completed = decoder.decodeBoolForKey('…

MotionInMotion Episode 1 - motion-layout

motion-layout - MotionInMotion motion-layoutを使ってAutoLayout gem 'motion-layout' RubyMotionSamples - Timer ViewController Motion::Layout.new do |layout| layout.view view layout.subviews "userImage" => userImage, "userTweet" => userTweet,…

MotionInMotion Episode 2 - Delegates & Data Sources

Delegates & Data Sources - MotionInMotion rableViewでdelegate使った実装 MVC D - delegate DS - dataSource controller <-> model - KVO PostsController#init @postsModel = UIApplication.sharedApplication.delegate.postsModel def viewDidLoad self…

MotionInMotion Episode 3 - More Delegates, KVO, and Target Action

More Delegates, KVO, and Target Action - MotionInMotion postを追加、バッジの更新などの実装 CreatePostController def viewDidLoad @createPostView = CreatePostView.alloc.initWithFrame(self.view.frame) @createPostView.delegate = self CreatePos…

MotionInMotion Episode 4 - BDD with Frank & MacBacon

BDD with Frank & MacBacon - MotionInMotion TDD(BDD)で位置情報取得機能の実装 location base app Agile app definition features / stories sort, imagine start most important Read bubble wrap source code / test suite are great example gem motion…

MotionInMotion Episode 5 - CoreData with CDQ and ruby-xcdm

CoreData with CDQ and ruby-xcdm - MotionInMotion ActiveRecordのようにCoreDataを扱う Author @seriousken co-founder of infiniteRed cdq (CoreData Query) Steps setup Gemfile gem 'cdq' cdq init schema and models use like active record cdq synta…