initWithCGColor method

UIColor initWithCGColor(
  1. Pointer<CGColor> cgColor
)

initWithCGColor:

Implementation

UIColor initWithCGColor(ffi.Pointer<CGColor> cgColor) {
  objc.checkOsVersionInternal('UIColor.initWithCGColor:', iOS: (false, (2, 0, 0)));
  final _ret = _objc_msgSend_1rsocyz(this.ref.retainAndReturnPointer(), _sel_initWithCGColor_, cgColor);
  return UIColor.castFromPointer(_ret, retain: false, release: true);
}