Phantom Types and Typed Notification Observers

objc.io: Using these types, we can create two more wrappers, but this time around NSFileHandle’s initializers. We’ll use the Read and Write types, even though the FileHandle doesn’t contain any values of that type. That’s why the A parameter is called a phantom type. The types are just there to track permissions. […] Trying to … Continue reading Phantom Types and Typed Notification Observers