Swift Unboxed Safely unboxing the Swift language & standard library. https://swiftunboxed.com/ 2018-08-15T12:00:00-07:00 Swift Unboxed Hashable /protocols/hashable/ 2018-08-15T12:00:00-07:00 2018-08-15T12:00:00-07:00 Swift Unboxed Hash values in Swift: more than just XOR. Synthesized Conformance to Equatable /internals/synthesized-equatable-conformance/ 2018-07-31T07:00:00-07:00 2018-07-31T07:00:00-07:00 Swift Unboxed Investigating compiler magic for automatically synthesizing Equatable conformance. Equatable /protocols/equatable/ 2018-07-31T06:00:00-07:00 2018-07-31T06:00:00-07:00 Swift Unboxed Adventures in Swift value equality. Swift Diagnostics: #warning and #error /internals/diagnostics-warning-error/ 2018-06-11T07:00:00-07:00 2018-06-11T07:00:00-07:00 Swift Unboxed New diagnostic directives in Swift 4.2. What are they and how are they implemented? Simulator Detection with targetEnvironment /internals/targetenvironment-platform-condition/ 2018-03-29T10:30:00-07:00 2018-03-29T10:30:00-07:00 Swift Unboxed New in Swift 4.1: easier detection and conditional compilation for targeting the simulator. Size, Stride, Alignment /internals/size-stride-alignment/ 2018-03-12T07:00:00-07:00 2018-03-12T07:00:00-07:00 Swift Unboxed The basics on the memory layout of Swift struct instances. Conditional Conformance /lang/conditional-conformance/ 2018-01-24T22:20:00-08:00 2018-01-24T22:20:00-08:00 Swift Unboxed Thinking through conditional conformance in Swift, and working through the basics of its implementation. @objc and dynamic /interop/objc-dynamic/ 2017-12-05T07:00:00-08:00 2017-12-05T07:00:00-08:00 Swift Unboxed Objective-C runtime visibility and the depths of dynamic dispatch in the modern Swift era. Swift Substrings /stdlib/substrings/ 2017-11-27T07:30:00-08:00 2017-11-27T07:30:00-08:00 Swift Unboxed When is a (sub)string not a string? Always and never. Swift's Numeric Protocol /protocols/numeric/ 2017-11-06T06:02:00-08:00 2017-11-06T06:02:00-08:00 Swift Unboxed What’s in a Swift number? The Strange Case Of Mapping Over Optionals /lang/optionals-map-flatmap/ 2017-09-05T05:00:00-07:00 2017-09-05T05:00:00-07:00 Swift Unboxed Map and flatMap are usually collection operations — why would you use them with optionals? JSON to Swift with Decoder and Decodable /stdlib/json-decoder-decodable/ 2017-07-17T06:00:00-07:00 2017-07-17T06:00:00-07:00 Swift Unboxed Let’s decode some decodables, from JSON to Swift. JSON with Encoder and Encodable /stdlib/json-encoder-encodable/ 2017-06-25T07:00:00-07:00 2017-06-25T07:00:00-07:00 Swift Unboxed Encoding a simple value to JSON, one step at a time. Reduce /lang/reduce/ 2017-04-05T06:20:00-07:00 2017-04-05T06:20:00-07:00 Swift Unboxed Map and filter get all the glory, but reduce is the quiet workhorse. Map /open-source/map/ 2017-01-25T06:02:00-08:00 2017-01-25T06:02:00-08:00 Swift Unboxed It iterates, applies, transforms, collects. It's your functional best friend, map. IteratorOverOne /open-source/iteratoroverone/ 2016-11-30T06:02:00-08:00 2016-11-30T06:02:00-08:00 Swift Unboxed Start at startIndex, iterate one step forward, and you’ve learned the secrets of IteratorOverOne.