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を利用した設計手法速習会@Wantedly.md
@hedjirog
hedjirog / gist:17b7cf737e9e0aabf338
Last active Aug 25, 2016
WebエンジニアのためのiOSデバッグ速習会メモ@wantedly
View gist:17b7cf737e9e0aabf338
View gist:826e812ddacf445f06be
#import "KeyboardViewController.h"
@interface KeyboardViewController ()
@end
@implementation KeyboardViewController
- (void)updateViewConstraints {
[super updateViewConstraints];
@hedjirog
hedjirog / gist:ebe45fabde1077100e59
Created Sep 25, 2014
iOS向けライブラリ/アプリのテスト手法
View gist:ebe45fabde1077100e59
@hedjirog
hedjirog / gist:9162487
Last active May 29, 2016
UICollectionView + UIKIt Dynamics ではじめるグラフ描画(発表メモ)
View gist:9162487
@hedjirog
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
plist="${BUILT_PRODUCTS_DIR}/${INFOPLIST_PATH}"
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
fi
@hedjirog
hedjirog / gist:5989320
Created Jul 13, 2013
iOctocatから学ぶiOSアプリ開発手法 (発表メモ)
View gist:5989320
@hedjirog
hedjirog / gist:5069727
Last active Dec 14, 2015
AFIncrementalStoreの紹介(発表メモ)
View gist:5069727
@hedjirog
hedjirog / KVO_ForViewController.m
Created Oct 18, 2012
KVOの受信処理がメインスレッドで処理されるのを保証する ref: http://qiita.com/items/f7b10aac3ed515798d22
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];
});
return;
}
You can’t perform that action at this time.