A collection of interactive Xcode Playground examples demonstrating UIKit, SpriteKit, and gesture-based iOS development techniques.
Exploring interactivity in Playgrounds in Xcode 7.3
XCTestPlayground provides a simple implementation of most `XCTAssert` macros designed specifically for use in Swift playgrounds. It enables developers to write and visualize test results directly within playgrounds, making it easier to practice Test-Driven Development (TDD) before moving code to Xcode projects. ## Key Features - **Playground Integration** — Uses playground's line-by-line execution display to show assert results visually. - **XCTestCase Mimicry** — Includes a base class that runs methods prefixed with "test", mirroring XCTestCase behavior for seamless transition. - **Swift Version Support** — Compatible with Swift 4 (Xcode 9) and offers a legacy Swift 2.2 version for older Xcode versions. - **Easy Setup** — Can be added to any playground by simply copying a single Swift file to the Sources folder. ## Philosophy XCTestPlayground is built to streamline TDD workflows by allowing developers to write and test code interactively in playgrounds, reducing friction when transitioning to formal Xcode test suites.
Make iOS app mockups in Swift 2.x playgrounds.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.