2015-01-01から1日間の記事一覧

やりかた 殴り書き

アプリのバージョンの取得のしかた let appVersion: String! = NSBundle.mainBundle().objectForInfoDictionaryKey("CFBundleShortVersionString") as? String [参考] Swift - iOSアプリのバージョンを取得する - Qiita デバイスのバージョンの取得のしかた …

エラー殴り書き

'AnyObject?' is not convertible to 'String'; did you mean to use 'as!' to force downcast?キャストはoptionalのキャストはas!で? Missing condition in an 'if' statement {}と()を間違い Could not find an overload for 'stringByAppendingFormat' t…