【发布时间】:2017-02-17 13:11:35
【问题描述】:
enter image description here当我将 UIIMage+Gif.swift 文件添加到我的 Objective C 项目以在我的 Obj-C 项目内的 Swift 文件中添加 GIF 图像时,我在生成的 swift 头文件中出现“预期类型”错误。
+ (double)delayForImageAtIndex:(NSInteger)index source:(CGImageSourceRef _Null_unspecified)source;
+ (UIImage * _Nullable)animatedImageWithSource:(CGImageSourceRef _Nonnull)source;
【问题讨论】:
标签: ios objective-c swift uiimage gif