Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
0AE1DD41-9703-43B8-957B-433BEC2DAD58.codesnippet
25ED4E1D-430B-4622-9EFB-AE33DB7F5159.codesnippet
2EDAA99C-9490-4CE9-BA97-03B5BEDD03D2.codesnippet
32D4B82F-8FB2-4992-80B3-310499F2CC18.codesnippet
7C051DA8-760E-46BC-BCA5-3C6A1FED0711.codesnippet
8A7CA66F-EBAC-4125-90F7-ABFEC30EE487.codesnippet
9216AD7D-73AA-43DF-B6E0-3258A8E55805.codesnippet
CBE4111F-6C82-40FF-B9BC-0D44719103CE.codesnippet
D37D66A3-D3EA-40A6-9C5C-59EB758E82C2.codesnippet
D73E05C2-27E8-4C07-8BFE-F61A86120978.codesnippet
E478CAD8-E920-45CE-8D0B-82E4F748E048.codesnippet
E9D2F035-3473-43B7-A414-FD9B81A88BEE.codesnippet
EC9E5D37-9890-4052-9453-67A8AD35A615.codesnippet
Gemfile
README.md
Rakefile

README.md

Xcode Code Snippets

Installation

cd ~/Library/Developer/Xcode/UserData/CodeSnippets/
git init
git remote add burtlo git@github.com:burtlo/xcode-snippets.git
git pull burtlo master

Expecta

  • Subject + Partial Mock Subject - subwithpartial
  • Stub and Return - stubandreturn
  • Stub for Void - stub
  • Expect With Block - expectwithblock
  • Block Variable - block-var

Cedar

  • Describe + It - descit
  • It - itshould
  • After Each - after
  • Before Each - before

OCMock

  • Mock for Protocol - mockforprot
  • Mock for Class - mockforclass
  • Expect for Void - expectvoid
  • Expect and Return - expectandreturn
Something went wrong with that request. Please try again.