科技动态 2018-08-13

Preparing to teach/demo

Normally I use a separate account to present talks and demos but I’ve recently taken up a more regular instruction gig and in doing so, it’s too inconvenient ……
综合技术 2018-06-21

Simulators gone bad

Recently, some of my simulators launched and loaded just fine. Others simply went black. It didn’t seem to matter which firmware I was simulating. Some devic……
综合技术 2018-03-10

Swift Evolution and Civility

Congratulations to Chris Eidhof for all his work shepherding SE-0199 through Swift Evolution. The proposal adds a mutating toggle function for Boolean ……
综合技术 2017-07-06

Result types

How do I use result types? When using a Result enum for callbacks, how to access the Error?The most common Result enumeration looks like this: enum Res……
综合技术 2017-06-16

Holy War: Mutable copies

Applying mutableCopy() to an NSObject returns Any , not the version of the type you’re attempting to make mutable, for example, NSMutableArray ,……
综合技术 2017-05-28

Tests that don’t crash

Give a big hi to Tim V! He’ll be posting here when a topic inspires him and today, he’s going to talk about how to write tests that fail gracefully.Most pe……