CAGradientLayer *grad = [CAGradientLayer layer]; grad.colors = $array(ColRGBA2(1, 0, 0, 1), ColRGBA2(0, 1, 0, 1), ColRGBA2(0, 0, 1, 1), ColRGBA2(0, 0, 0, 0)); grad.startPoint = CGPointMake(0, 0); grad.endPoint = CGPointMake(1, 0); grad.colors = $array(ColRGBA2(1, 0, 0, 1), ColRGBA2(0, 1, 0, 1), ColRGBA2(0, 0, 1, 1), ColRGBA2(0, 0, 0, 0));
there is a dollar sign in this sentence, what does this mean? any links about this?
c objective-c iphone macos
ๆฐดๆ ๅนดๅ
source share