Skip to content

Instantly share code, notes, and snippets.

Jiro Nagashima hedjirog

Block or report user

Report or block hedjirog

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View ReactorKitを利用した設計手法速習会
hedjirog / gist:17b7cf737e9e0aabf338
Last active Aug 25, 2016
View gist:17b7cf737e9e0aabf338
View gist:826e812ddacf445f06be
#import "KeyboardViewController.h"
@interface KeyboardViewController ()
@implementation KeyboardViewController
- (void)updateViewConstraints {
[super updateViewConstraints];
hedjirog / gist:ebe45fabde1077100e59
Created Sep 25, 2014
View gist:ebe45fabde1077100e59
hedjirog / gist:9162487
Last active May 29, 2016
UICollectionView + UIKIt Dynamics ではじめるグラフ描画(発表メモ)
View gist:9162487
hedjirog / gist:7626999
Created Nov 24, 2013
This script changes base urls of api for debbuging on iOS devices.
View gist:7626999
if [[ "${CONFIGURATION}" == "Debug" && "${PLATFORM_NAME}" != *simulator* ]]; then
ip=$(ifconfig en0 | grep "inet[^6]" | cut -d" " -f2)
url=$(/usr/libexec/PlistBuddy -c "Print :APIBaseURL" $plist)
url=$(echo $url | sed "s|\(http://\)[^:/]*\(.*\)|\1$ip\2|")
/usr/libexec/PlistBuddy -c "Set :APIBaseURL $url" $plist
hedjirog / gist:5989320
Created Jul 13, 2013
iOctocatから学ぶiOSアプリ開発手法 (発表メモ)
View gist:5989320
hedjirog / gist:5069727
Last active Dec 14, 2015
View gist:5069727
hedjirog / KVO_ForViewController.m
Created Oct 18, 2012
KVOの受信処理がメインスレッドで処理されるのを保証する ref:
View KVO_ForViewController.m
- (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context
if (![NSThread isMainThread]) {
dispatch_async(dispatch_get_main_queue(), ^{
[self observeValueForKeyPath:keyPath ofObject:object change:change context:context];
You can’t perform that action at this time.