Fixed 'Expected a type' compiler error

CGFloat is defined in the UIKit framework and therefor unknown in the Foundation framework