11 search resultsShowing 1~11 results

Stocked
yaslab

@yaslab

Swift で substring

Swift の substring は引数が Int ではなく Index となっていて、Index の作り方がわからなくて調べたのでメモ。 // str の 4 文字目から 5 文字分取り出す...

1
1
Comment0
yaslab

@yaslab

Cocoaで日付を扱う

NSDate型から文字列や数値に変換する。 NSDate *now = [NSDate new]; // NSDateFormatterを使ってNSDate型を文字列に変換 NSDateForm...

2
2
Comment0
yaslab

@yaslab

Core Motionで歩数計

CMStepCounterを試してみたのでメモ。 ソースコードはGitHubにおいてあります。キモとなるクラスはStepCounter.m/.hです。 はじめに iPhone 5sは、ユーザーの...

11
11
Comment0

11 search resultsShowing 1~11 results

Qiita is a knowledge sharing service for engineers.

  1. You can follow users and tags
  2. You can stock useful information
  3. You can make edit suggestions for articles
Functions that can be used after logging in