Import UIKit/Cocoa headers to fix compile error

It was complaining that NSImage was a forward class declaration.