iOS:update cli template file
This commit is contained in:
parent
c74ceefc42
commit
71e1863249
@ -8,6 +8,10 @@
|
||||
|
||||
#import "AppDelegate.h"
|
||||
#import <DoricCore/Doric.h>
|
||||
#if __has_include(<SDWebImage/SDWebImage.h>)
|
||||
#import <SDWebImage/SDWebImage.h>
|
||||
#import <SDWebImageWebPCoder/SDWebImageWebPCoder.h>
|
||||
#endif
|
||||
|
||||
@interface AppDelegate ()
|
||||
@end
|
||||
@ -15,6 +19,9 @@ @interface AppDelegate ()
|
||||
@implementation AppDelegate
|
||||
|
||||
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
|
||||
#if __has_include(<SDWebImage/SDWebImage.h>)
|
||||
[SDImageCodersManager.sharedManager addCoder:SDImageWebPCoder.sharedCoder];
|
||||
#endif
|
||||
return YES;
|
||||
}
|
||||
|
||||
|
@ -15,4 +15,10 @@ target '__$__' do
|
||||
# Pods for __$__
|
||||
pod 'DoricCore', "#{version}"
|
||||
pod 'DoricDevkit', "#{version}"
|
||||
|
||||
pod 'SDWebImage'
|
||||
|
||||
pod 'SDWebImageWebPCoder'
|
||||
|
||||
pod 'PINCache'
|
||||
end
|
||||
|
Reference in New Issue
Block a user