Fixing import NSObject only needs foundation not UIKit.