2013-03-11から1日間の記事一覧
RubyMotion - NSScreencast motion create my-proj rake exit bubble wrap named parameter
Building a Custom Picker Component - Part 2 - NSScreencast onDone onCancel dismissPicker backdropView UIGestureRecognizer onBackdropTap onCancel:sender ただ見た目を少し変えるとかで手を出すと、backdropViewとか細かいところで変な挙動を作り出…
Building a Custom Picker Component - NSScreencast XXModalPickerView (UIView) name class with prefix properties selectedIndex, selectedValue, values initWithValue, presentInView withBlock, presentInWindowWithBlock typedef for block argument…
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…
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 /…
Customizing UITabBar - NSScreencast foresquare ui again Edit > Embed in > TabBar VC TabBar -> Navigation -> TableView -> Detail VC setSelectionIndicatorImage setFinishedSelectedImage XCodeの複数引数の部分を複数行に書く時は : をそろえている…
Customizing UINavigationBar - NSScreencast recreate forsquare app Navigation Bar initWithFrame initWithCoder setBackgroundImage UIBarMetricsDefault navigationItem.titleView titleView self.navigationController.navigationBar.frame.size.heigh…
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 …
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…
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…
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…
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…
Tracking Download Progress - NSScreencast progress view op setDownloadProgressBlock:^( ) { dispatch_async self.progressView.alpha self.progressView.progress show downloaded bytes on label op start MPMoviewPlayerViewController ダウンロード…
#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…