whats-new-in-swift-4. An Xcode playground showcasing the new features in Swift 4.0.
1.8kOBShapedButton. A UIButton subclass that works with for non-rectangular button shapes.
937whats-new-in-swift-4-2. An Xcode playground demonstrating the new features in in Swift 4.2.
867OLEContainerScrollView. A UIScrollView subclass that intelligently handles multiple child scroll views and does not interfere with UIKitʼs cell reuse functionality.
586Animated-Paths. Demo project: Animating the drawing of a CGPath with CAShapeLayer.strokeEnd
508swiftui-view-lifecycle. Observe how different SwiftUI container views affect state and lifecycle events (onAppear, onDisappear).
388leaves. An iBooks-like page-turning interface for iPhone and iPad apps using only public APIs.
324OBSlider. A UISlider subclass that adds variable scrubbing speeds (as seen in the Music app on iOS).
266CollectionViewParallaxScrolling. A custom UICollectionViewFlowLayout to support parallax scrolling in cells. Check out the accompanying blog post for more info.
249swiftui-layout-inspector. A tool for learning how the SwiftUI layout system works, and for debugging your own layout code.
173Ampere. Adding multiplication and division to the units of measurement types in Foundation.
171SortedArray. An array that keeps its elements sorted according to a given sort predicate.
164CustomScrollView. A very simple implementation of a scroll view on iOS. Not meant for production, just for learning purposes. Please check out the accompanying blog post.
154OBGradientView. A simple UIView wrapper for CAGradientLayer. For the times when it's more convenient to use a view instead of a CALayer.
110NSBundle-OBCodeSigningInfo. Check an app bundle's code signing and sandboxing state to NSBundle.
107swift-rp-pico-bare. Embedded Swift on the Raspberry Pi Pico without the Pico C/C++ SDK
101Storyboard-Strings-Extraction. Automatically extract translatable strings from Xcode storyboards and update .strings files.
75SilentPush. An iOS test app for testing silent push notifications and background fetching.
72CGPathHitTesting. A demo iOS app to illustrate hit testing with CGPathCreateCopyByStrokingPath()
71pico-embedded-swift. Embedded Swift on the Raspberry Pi Pico
67AppointmentList. Sample iOS app that lists events from the device's calendar store in a table view and groups them by date.
49RemoteViewControllers. Introspection of the private and undocumented remote view controllers feature in iOS 6
45iphone-6-plus-rendering. Quick and dirty test apps to understand how the built-in downsampling to screen resolution works on the iPhone 6 Plus.
44GestureRecognition. Sample iOS app for a blog post about gesture recognition and attention to detail
42itunesconnect-financialreports. Converts Financial Reports from iTunes Connect (App Store) to HTML
37OSLogStoreTest. Test app for evaluating if apps can access their own OSLog logs via OSLogStore.
29AnalogDial. A circular analog dial that can display a numeric value in a specified range (like an analog speedometer).
25AppleCoreDataModels.
23Kaffeekasse. Sample apps for a Passbook tutorial on my blog.
16NotificationUnregistering. Testing the behavior of the block based NotificationCenter API. Do you have to call NotificationCenter.removeObserver(_:) or is it enough to let the observer token go out of scope? Turns out: the former (tested on iOS 11.2).
16ConcurrencyBenchmark. Swift
15HexHexHex. A parser for the Intel Hexadecimal Object File Format (.hex), written in Swift.
14Picobello. An assembler for the Microchip PIC instruction set, written in Swift.
14transcribe. A Swift parser for output files from automated transcription services. An experiment inspired by the Swift Community Podcast.
13topaz. An attempt to reimplement a minimal version of the Swift standard library. Just for fun — I doubt this has practical applications.
12SwiftUI-Mac-Focus. Test project for playing with focus, keyboard shortcuts, menu commands in SwiftUI on the Mac
10CAShapeLayer-Animation. Demo project for a Stack Overflow question: "Animate CAShapeLayer path on animated bounds change"
10RGBtoCMYK. A simple command-line Cocoa app to convert images to CMYK
10CollectionViewContentSizeAnimation. Demo project for a Stack Overflow question.
8Funtime. A Swift interface for the Objective-C Runtime API
8Swift-WebAssembly-JavaScriptKit-playground. Swift
7AsyncSequenceOperators. Experimental reimplementations of functional reactive operators for AsyncSequence. DO NOT USE IN PRODUCTION!
6SwiftPM-embedded-minimal. Swift
5AsyncXMLParsing. An AsyncSequence wrapper for Foundation’s XMLParser (experimental)
5OBStack. OBStack is a very simple implementation of a stack data structure (last in, first out) in Cocoa.
5docopt.objc. Incomplete beginnings of an implementation of the docopt language in Objective-C.
2CoreDataDebugging. Swift
2SwiftStringParsingBenchmark. Swift
1book. Documentation on how to use the Rust Programming Language to develop firmware for bare metal (microcontroller) devices
1fuckingformatstyle. The source code that runs fuckingformatstyle.com and goshdarnformatstyle.com
1