quattro_4 scribble

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

2013-03-11から1日間の記事一覧

NSScreencast Episode #29 RubyMotion

RubyMotion - NSScreencast motion create my-proj rake exit bubble wrap named parameter

NSScreencast Episode #26 Building a Custom Picker Component - Part 2

Building a Custom Picker Component - Part 2 - NSScreencast onDone onCancel dismissPicker backdropView UIGestureRecognizer onBackdropTap onCancel:sender ただ見た目を少し変えるとかで手を出すと、backdropViewとか細かいところで変な挙動を作り出…

NSScreencast Episode #25 Building a Custom Picker Component

Building a Custom Picker Component - NSScreencast XXModalPickerView (UIView) name class with prefix properties selectedIndex, selectedValue, values initWithValue, presentInView withBlock, presentInWindowWithBlock typedef for block argument…

NSScreencast Episode #24 Pull to Refresh

Pull to Refresh - NSScreencast sspulltorefresh (github) podspec dependency ''SSPullToRefresh' pod install viewDidLoad refresh dispatch_after [self insertNewObject:nil] dispatch_async pullToRefreshView finishLoading dispatch_queue_t dispatc…

NSScreencast Episode #23 Intro to Storyboards

Intro to Storyboards - NSScreencast Create story board toggle : Is Initial View Controller check root VC, relationship Project settings Summary : select Main StoryBoard delete window code from app delegate.rb TableCell Dynamic Prototypes /…

NSScreencast Episode #22 Customizing UITabBar

Customizing UITabBar - NSScreencast foresquare ui again Edit > Embed in > TabBar VC TabBar -> Navigation -> TableView -> Detail VC setSelectionIndicatorImage setFinishedSelectedImage XCodeの複数引数の部分を複数行に書く時は : をそろえている…

NSScreencast Episode #21 Customizing UINavigationBar

Customizing UINavigationBar - NSScreencast recreate forsquare app Navigation Bar initWithFrame initWithCoder setBackgroundImage UIBarMetricsDefault navigationItem.titleView titleView self.navigationController.navigationBar.frame.size.heigh…

NSScreencast Episode #20 Dissecting Apps

Dissecting Apps - NSScreencast cd ~/Music/Itunes/ITunes Media/Mobile Applications copy .ips unzip .ips opening png will crush wget idev-recipes Utilities/appcrush configure appcrush.rb xcode-select --print-path $ appcrush.rb App.1.X.X.ips …

NSScreencast Episode #19 Push Notifications

Push Notifications - NSScreencast Provisioning Portal App IDs Enable for Apple Push Notification service Development Push SSL certificate Urban Airship Upload certificate (.p12) Rails app gem 'urbanairship' initializers/urbanairship key, s…

NSScreencast Episode #18 Adhoc Provisioning

Adhoc Provisioning - NSScreencast adhok distribution process XCode Project Info Adhoc New Scheme select all -> Adhoc Build Settings : search [code signing] iPhone Distribution For archive : Scheme Product > Archive > .ipa Keeping all archi…

NSScreencast Episode #17 App Provisioning

App Provisioning - NSScreencast iOS Dev Center - Provisioning Portal Certificate Organizer Submit Request iOS Team Provisioning Profile Distribution certificate Key Chain Access XCode serach Build Settings [code sign] Debug : Don't Code Si…

NSScreencast Episode #16 Key Value Observing

Key Value Observing - NSScreencast KVO - key value observing backgroundColor -> labelColor viewDidLoad [self.view addObserver:self forKeyPath options observeValueForKeyPath if keyPath isEqualToString viewDidUnload removeObserver static cha…

NSScreencast Episode #14 Tracking Download Progress

Tracking Download Progress - NSScreencast progress view op setDownloadProgressBlock:^( ) { dispatch_async self.progressView.alpha self.progressView.progress show downloaded bytes on label op start MPMoviewPlayerViewController ダウンロード…

RailsCasts #409 Active Model Serializers

#409 Active Model Serializers - RailsCasts as_json in model rails g serializer article app/serializers render json: @article, root: false default_serializer_options (private method) def url ; article_url(object) ; end has_many :comments em…