You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
gcovというテストカバレッジツールを使ってカバレッジを取得します。 gcovはC/C++でお世話になるカバレッジ測定ツールでgccに付属しているものになります。 Objective-Cもgcovでカバレッジが取得できるようです。 まずは前置きとして、 今回の記事で使用するプロジェクト構成です。 Xcodeのバージョンは 6.1.1 です。 中身はサンプル用のメソッドが1個定義してあるだけです。 gcov用ファイルの.gcnoと.gcdaを吐く デフォルトのXcodeプロジェクトでは、テストコードを実行してもカバレッジ取得まではできません。 Xcodeプロジェクトの設定を変更し、カバレッジ取得用の.gcno, .gcdaというファイルを出力させます。 Xcodeプロジェクトの設定を変更する 1. Generate Test Coverage Files プロジェクトをクリックしてBuild
For a Swift project I’m working on, I need access to the CommonCrypto library so I can access HMAC functions. Apple has provided ready access to many system libraries within Swift, but CommonCrypto isn’t yet one of them. Thankfully, accessing these libraries requires only a small amount of extra work. Getting Library Access Before we can use the libraries, we need to inform the Swift compiler abou
Just a temporary logo made by a developer who always dreamt to be a designerThe motivationThe idea behind picfit came from the need of exporting image processing (resize, thumbnail, etc.) to an independent web service which will be able to manage my files no matter the storage engine used (s3, file system, etc.). When you are dealing with resizing on demand, you have to store keys of generated ima
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く