Replace (error) to error != nil
Add objc.h