Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ad21ea6

Browse files
Add the source code and CocoaPods integration
1 parent c0f1bfe commit ad21ea6

File tree

29 files changed

+2295
-55
lines changed

29 files changed

+2295
-55
lines changed

‎.gitignore‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,7 @@ DerivedData
2323
.bundle
2424

2525
# Add this line if you want to avoid checking in source code from Carthage dependencies.
26-
# Carthage/Checkouts
27-
28-
Carthage/Build
26+
Carthage
2927

3028
# We recommend against adding the Pods directory to your .gitignore. However
3129
# you should judge for yourself, the pros and cons are mentioned at:
@@ -34,4 +32,5 @@ Carthage/Build
3432
# Note: if you ignore the Pods directory, make sure to uncomment
3533
# `pod install` in .travis.yml
3634
#
37-
# Pods/
35+
Pods/
36+
Podfile.lock

‎.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata‎

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Cartfile‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
github "SDWebImage/SDWebImage" ~> 5.6
2+
github "SDWebImage/librlottie-Xcode" ~> 0.1

‎Cartfile.resolved‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
github "SDWebImage/SDWebImage" "5.6.0"
2+
github "SDWebImage/librlottie-Xcode" "0.1.0"

‎Example/Podfile‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
use_frameworks!
22

3-
platform :ios, '8.0'
4-
53
target 'SDWebImageLottieCoder_Example' do
4+
platform :ios, '9.0'
65
pod 'SDWebImageLottieCoder', :path => '../'
76

87
target 'SDWebImageLottieCoder_Tests' do
@@ -11,3 +10,8 @@ target 'SDWebImageLottieCoder_Example' do
1110

1211
end
1312
end
13+
14+
target 'SDWebImageLottieCoder-Example-macOS' do
15+
platform :osx, '10.10'
16+
pod 'SDWebImageLottieCoder', :path => '../'
17+
end
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
//
2+
// AppDelegate.h
3+
// SDWebImageLottieCoder-Example-macOS
4+
//
5+
// Created by 李卓立 on 2020年3月8日.
6+
// Copyright © 2020 lizhuoli1126@126.com. All rights reserved.
7+
//
8+
9+
#import <Cocoa/Cocoa.h>
10+
11+
@interface AppDelegate : NSObject <NSApplicationDelegate>
12+
13+
14+
@end
15+
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
//
2+
// AppDelegate.m
3+
// SDWebImageLottieCoder-Example-macOS
4+
//
5+
// Created by 李卓立 on 2020年3月8日.
6+
// Copyright © 2020 lizhuoli1126@126.com. All rights reserved.
7+
//
8+
9+
#import "AppDelegate.h"
10+
11+
@interface AppDelegate ()
12+
13+
@property (weak) IBOutlet NSWindow *window;
14+
@end
15+
16+
@implementation AppDelegate
17+
18+
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
19+
// Insert code here to initialize your application
20+
}
21+
22+
23+
- (void)applicationWillTerminate:(NSNotification *)aNotification {
24+
// Insert code here to tear down your application
25+
}
26+
27+
28+
@end
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
{
2+
"images" : [
3+
{
4+
"idiom" : "mac",
5+
"size" : "16x16",
6+
"scale" : "1x"
7+
},
8+
{
9+
"idiom" : "mac",
10+
"size" : "16x16",
11+
"scale" : "2x"
12+
},
13+
{
14+
"idiom" : "mac",
15+
"size" : "32x32",
16+
"scale" : "1x"
17+
},
18+
{
19+
"idiom" : "mac",
20+
"size" : "32x32",
21+
"scale" : "2x"
22+
},
23+
{
24+
"idiom" : "mac",
25+
"size" : "128x128",
26+
"scale" : "1x"
27+
},
28+
{
29+
"idiom" : "mac",
30+
"size" : "128x128",
31+
"scale" : "2x"
32+
},
33+
{
34+
"idiom" : "mac",
35+
"size" : "256x256",
36+
"scale" : "1x"
37+
},
38+
{
39+
"idiom" : "mac",
40+
"size" : "256x256",
41+
"scale" : "2x"
42+
},
43+
{
44+
"idiom" : "mac",
45+
"size" : "512x512",
46+
"scale" : "1x"
47+
},
48+
{
49+
"idiom" : "mac",
50+
"size" : "512x512",
51+
"scale" : "2x"
52+
}
53+
],
54+
"info" : {
55+
"version" : 1,
56+
"author" : "xcode"
57+
}
58+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"info" : {
3+
"version" : 1,
4+
"author" : "xcode"
5+
}
6+
}

‎Example/SDWebImageLottieCoder-Example-macOS/Base.lproj/MainMenu.xib‎

Lines changed: 692 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /