I'm trying to make use of the NSObject(NSKeyValueObserving) in my Swift class but I'm running into a type problem. Xcode is complaining that it doesn't understand the CMutableVoidPointer type for the 'context' argument in the following code:
override func observeValueForKeyPath(keyPath: String!, ofObject object: AnyObject!, change: NSDictionary!, context: CMutableVoidPointer)
I use CMutableVoidPointer because the Objective-C definition types the 'context' argument as a void *.
The exact error I'm getting at compile-time is: "Use of undeclared type 'CMutableVoidPointer'".
I'm using Xcode Beta 3.
Any help would be appreciated.