摘要:
UIImageView* baseView = [[UIImageView alloc] init]; baseView.backgroundColor = [UIColor whiteColor]; //设置卡片阴影 baseView.layer.shadowColor = RGBACOLOR(4 阅读全文
摘要:
typedef NS_ENUM(NSInteger, GradientDirection) { GradientDirectionTopToBottom = 0, // 从上往下 渐变 GradientDirectionLeftToRight, // 从左往右 GradientDirectionBottomToTop, // 从下往上 GradientDirectionRightToLeft // 阅读全文