うちのいぬ Tech Blog

Tech Blog of Uchinoinu/My dog

English

Get weekday String from NSDate by Swift

Easy way class func weekdayFromNSDate(date: NSDate) -> String { let cal = NSCalendar.currentCalendar() let comp = cal.components(NSCalendarUnit.Weekday, fromDate: date) let weekdayIndex = comp.weekday let formatter: NSDateFormatter = NSDat…

Git command for Deploy or PR merging

Diff of changed files $ git diff --stat commit-new commit-old $ git diff --stat --name-only commit-new commit-old $ git diff --stat --ignore-blank-lines commit-new commit-old Diff of content of file $ git diff commit-old commit-new -- path…

Links of Restful API(JSON) References

Japanese Here uchinoinu.hatenablog.jp Guideline github.com github.com Platform developer.yahoo.co.jp RESTful Web サービスの基本 Articles qiita.com www.toptal.com 10 Best Practices for Better RESTful API | Thinking Mobile Presentation www.i…

Localization of iOS App - including Storyboard and plist

Japanese is here uchinoinu.hatenablog.jp I watched this view often. Now make the manual to localiztion Flow This time, I made localization env like below. - Base is English - add Japanese. 1. Generate Localizable.strings 2. Set up show fil…

英語のリファレンスを読むときに困った単語やイディオムなど

随時追記していきますー 単数形だとか複数形だとかこだわらず、よく見る形のままリストしています。 Word / Idiom 英語 日本語 使い方など sanity 整合性のある、正当な assert 断言する dependencies 依存関係 gemとかに使う configure 構成する、設定する…