From 87183e9b8c7c79c4cef05be06b450542aeffd672 Mon Sep 17 00:00:00 2001 From: Stuart Sharpe Date: Sat, 7 Nov 2015 11:45:19 +0000 Subject: [PATCH] Updated README with link to blog post --- .gitignore | 1 + README.md | 2 ++ .../UserInterfaceState.xcuserstate | Bin 28621 -> 0 bytes 3 files changed, 3 insertions(+) create mode 100644 .gitignore delete mode 100644 TDD In Swift Playgrounds.playground/playground.xcworkspace/xcuserdata/sharps51.xcuserdatad/UserInterfaceState.xcuserstate diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e43b0f9 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.DS_Store diff --git a/README.md b/README.md index 11d787d..b8742de 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # TDDSwiftPlayground Demonstration of using Swift Playgrounds in Test Driven Development with XCTest + +For more information, see [my blog post](http://initwithstyle.net/2015/11/tdd-in-swift-playgrounds/) \ No newline at end of file diff --git a/TDD In Swift Playgrounds.playground/playground.xcworkspace/xcuserdata/sharps51.xcuserdatad/UserInterfaceState.xcuserstate b/TDD In Swift Playgrounds.playground/playground.xcworkspace/xcuserdata/sharps51.xcuserdatad/UserInterfaceState.xcuserstate deleted file mode 100644 index 2408e39a8cae977dd8ab2b62e165a12fa7630b9c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 28621 zcmeHw34Bw<*7(fbTGpmbLK+Y#lpVS^Y0|y4bYIdYZPKP~8rskXx|yVG6}{IDl}!;5 z6@-=@WCsyJ5kx`UP(VdR1VIrI5Cs(x{^#B#U7(=6|I_zF(`c$9!fqS2@dSy3IbBL|v@ zCZQ?lUUWZt08K@Ypy_A^dIHTxbJ5f2IW!+FLQQBXT837k)o2}Bk6uMP(Q9ZI+KpaE zd(a!`O|%#7L+_x^(NXjTI)=VP$I%J&6*`Gdp&!vt=n}e&8SH^QaVOjvcfnn8H{2b2 z;l9`p_rv{hC=SEnSb>!|8K>Y>oQBhJ5jNstT!Kq+H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