Use of undeclared type 'CGFloat'; did you mean to use 'CGFloat'?

Originator:cyrilclement
Number:rdar://22129739 Date Originated:04-Aug-2015 10:35 AM
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode Version 7.0 beta 4 (7A165t)
Classification: Reproducible:
 
When using CGFloat without importing UIKit, Xcode error message say:
Use of undeclared type 'CGFloat'; did you mean to use 'CGFloat'?
Fix-it: Replace "CGFloat" with "CGFloat"

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!