组件化-引入图片sepc依赖及tag删除

2018-06-04  本文已影响3人  coderST
 # s.resource_bundles = {
  #   'EmojiToolModel' => ['EmojiToolModel/Assets/*.png']
  # }
NSBundle *currentBundle = [NSBundle bundleForClass:[self class]];
NSString *imagePath = [currentBundle pathForResource:@"xd_bg@2x.png" ofType:nil inDirectory@"XDMain.bundle"];
UIImage *image = [UIImage imageWithContentsOfFile:imagePath];
self.backImage = image;
git tag   ->查看本地tag
git tag -d 0.1.0  ->删除本地0.1.0tag
git tag   ->查看本地tag
git push origin :0.1.0  ->删除远程tag

清理pod 缓存pod cache clean --all

上一篇下一篇

猜你喜欢

热点阅读