Andrew Jaffee's repositories
iOS-File-Management
An Xcode 9 project written in protocol-oriented Swift 4 code to create a wrapper for the iOS FileManager class and API.
MVVM-Design-Pattern-Demo
An Xcode 9 project written in Swift 4 code designed using the MVVM design pattern, truly extolling the virtues of MVVM over MVC.
iOS-12-Provisional-Authorization-for-Quiet-Notifications
An Xcode 10 beta 2 project, written in Swift 4.2, demonstrating how to configure iOS 12 beta 2 provisional authorization for "Deliver Quietly" notifications.
Beyond-the-Sandbox-App-Groups-in-Swift
Beyond the sandbox: using app groups to communicate between iOS or macOS apps (Xcode 13.2.1 and Swift 5.5)
Core-Bluetooth-HRM
An Xcode 9 project written in Swift 4 code to communicate with a wearable heart rate monitor using the Core Bluetooth framework.
Error-Handling-with-iOS-Files
An Xcode 9 playground written in Swift 4 code that explores Error Handling when manipulating the iOS file system.
HealthKit-and-Bluetooth-App
An Xcode 9 project written in Swift 4 to write data to and read data from the HealthKit framework. Some data is collected using Core Bluetooth.
iOS-12-Notifications-with-Custom-UI
An Xcode 10 beta 2 project, written in Swift 4.2, demonstrating how to create an iOS 12 beta 2 extension to add a custom user interface to local and push notifications.
Concurrency-Starter-for-Swift-4
This Xcode 9 project demonstrates concurrency in iOS using Grand Central Dispatch (GCD) and compares concurrent (asynchronous) queues and serial (synchronous) queues.
Concurrency-Via-BlockOperation
An Xcode 9 written with Swift 4 to introduce concurrency using BlockOperation, a "concrete subclass of Operation that manages the concurrent execution of one or more blocks." [1]
Swift-Observer-Design-Pattern
An Xcode 9 project, written in Swift 4, demonstrating how to implement the observer design pattern.
Swift-Timer-Demo
An Xcode 10 project, written in Swift 4.2, demonstrating my best practices for using the Timer class.
async-await---Core-construct-of-Swift-5.5-new-concurrency-model
Xcode 13 beta project demonstrating Swift 5.5 async/await core concurrency concept in iOS 15 beta
Interface-Builder-based-login-form
A simple login form built with Interface Builder to contrast with SwiftUI (Xcode 14.2 and Swift 5.7)
Protocol-Oriented-Programming-in-Swift-1
Two Xcode 9 playgrounds written in Swift 4 that highlight protocol oriented programming and value semantics.
Protocol-Oriented-Programming-in-Swift-2
An Xcode 9 project written in Swift 4 that demonstrates protocol oriented programming and reference semantics.
Swift-Class-Best-Practices
An Xcode 9 project, written in Swift 4, demonstrating my best practices for designing and coding classes (reference types).
Swift-Factory-Design-Pattern
An Xcode 9 project, written in Swift 4, demonstrating how to implement the factory method design pattern.
CrashLogDemo
An Xcode 9 project written in Objective-C that crashes and causes OS X to generate a crash report.
MergeRequestDemo
An Xcode project, written in Swift, meant to demonstrate a Git "merge request."
Optimizing-Swift-Code
An Xcode 10 project, written in Swift 4.2, companion to my tutorial on optimizing code using the Instruments Time Profile.
Swift-4-Generic-Doubly-Linked-List
My generic doubly linked list in an Xcode 9 playground and written in Swift 4.
Swift-Adapter-Design-Pattern
This Xcode 9 Swift 4 playground demonstrates the adapter design pattern as originally defined by the Gang of Four.
Swift-Facade-Design-Pattern
This Xcode 9 Swift 4 playground demonstrates the facade design pattern as originally defined by the Gang of Four.
Swift-Memento-Design-Pattern
An Xcode 9 project, written in Swift 4, demonstrating how to implement the memento design pattern.
Swift-Singleton-Design-Pattern
An Xcode 9 project, written in Swift 4, demonstrating how to implement the singleton design pattern.
SwiftUI-based-login-form
A simple login form built with SwiftUI to contrast with Interface Builder (Xcode 14.2 and Swift 5.7)
Xcode-Cocoa-Library
Here I demonstrate how you can build C++ and Objective-C++ libraries using Xcode 9 -- and incorporate those libraries into Swift 4 projects.
Xcode-Manage-Config
An Xcode 9 project, written in Swift 4, demonstrating how you can leverage targets to handle branding.
Xcode-Targets
An Xcode 9 project, written in Swift 4, demonstrating how you can leverage targets to organize projects.