enter image description here当我将UIIMage+Gif.swift文件添加到Objective C项目中,以便在Obj-C项目内的Swift文件中添加GIF图像时,我在生成的swift头文件中收到"expected a type“错误。
+ (double)delayForImageAtIndex:(NSInteger)index source:(CGImageSourceRef _Null_unspecified)source;
+ (UIImage * _Nullable)animatedImageWithSource:(CGImageSourceRef _Nonnull)source;发布于 2016-10-09 03:10:02
很简单,
用鼠标右键点击左侧面板添加新文件,添加新文件并命名为uiimage+gif
https://stackoverflow.com/questions/39935821
复制相似问题