Skip to content

Commit 9be28d4

Browse files
authored
Merge pull request #62 from SDWebImage/bugfix_animatedImage_refresh_change_url
Fix the issue that AnimatedImage can not refresh their url/name/data after first initializer
2 parents 1ad3ef8 + b73ec57 commit 9be28d4

File tree

8 files changed

+277
-173
lines changed

8 files changed

+277
-173
lines changed

SDWebImageSwiftUI.xcodeproj/project.pbxproj

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,14 @@
1515
324F61CC235E07EC003973B8 /* SDAnimatedImageInterface.m in Sources */ = {isa = PBXBuildFile; fileRef = 324F61C6235E07EC003973B8 /* SDAnimatedImageInterface.m */; };
1616
324F61CD235E07EC003973B8 /* SDAnimatedImageInterface.m in Sources */ = {isa = PBXBuildFile; fileRef = 324F61C6235E07EC003973B8 /* SDAnimatedImageInterface.m */; };
1717
324F61CE235E07EC003973B8 /* SDAnimatedImageInterface.m in Sources */ = {isa = PBXBuildFile; fileRef = 324F61C6235E07EC003973B8 /* SDAnimatedImageInterface.m */; };
18+
3253E05823879A6F007ACAD8 /* SDAnimatedImageInterface+WebCache.h in Headers */ = {isa = PBXBuildFile; fileRef = 3253E05623879A6F007ACAD8 /* SDAnimatedImageInterface+WebCache.h */; settings = {ATTRIBUTES = (Public, ); }; };
19+
3253E05923879A6F007ACAD8 /* SDAnimatedImageInterface+WebCache.h in Headers */ = {isa = PBXBuildFile; fileRef = 3253E05623879A6F007ACAD8 /* SDAnimatedImageInterface+WebCache.h */; settings = {ATTRIBUTES = (Public, ); }; };
20+
3253E05A23879A6F007ACAD8 /* SDAnimatedImageInterface+WebCache.h in Headers */ = {isa = PBXBuildFile; fileRef = 3253E05623879A6F007ACAD8 /* SDAnimatedImageInterface+WebCache.h */; settings = {ATTRIBUTES = (Public, ); }; };
21+
3253E05B23879A6F007ACAD8 /* SDAnimatedImageInterface+WebCache.h in Headers */ = {isa = PBXBuildFile; fileRef = 3253E05623879A6F007ACAD8 /* SDAnimatedImageInterface+WebCache.h */; settings = {ATTRIBUTES = (Public, ); }; };
22+
3253E05C23879A6F007ACAD8 /* SDAnimatedImageInterface+WebCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 3253E05723879A6F007ACAD8 /* SDAnimatedImageInterface+WebCache.m */; };
23+
3253E05D23879A6F007ACAD8 /* SDAnimatedImageInterface+WebCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 3253E05723879A6F007ACAD8 /* SDAnimatedImageInterface+WebCache.m */; };
24+
3253E05E23879A6F007ACAD8 /* SDAnimatedImageInterface+WebCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 3253E05723879A6F007ACAD8 /* SDAnimatedImageInterface+WebCache.m */; };
25+
3253E05F23879A6F007ACAD8 /* SDAnimatedImageInterface+WebCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 3253E05723879A6F007ACAD8 /* SDAnimatedImageInterface+WebCache.m */; };
1826
326B84822363350C0011BDFB /* Indicator.swift in Sources */ = {isa = PBXBuildFile; fileRef = 326B84812363350C0011BDFB /* Indicator.swift */; };
1927
326B84832363350C0011BDFB /* Indicator.swift in Sources */ = {isa = PBXBuildFile; fileRef = 326B84812363350C0011BDFB /* Indicator.swift */; };
2028
326B84842363350C0011BDFB /* Indicator.swift in Sources */ = {isa = PBXBuildFile; fileRef = 326B84812363350C0011BDFB /* Indicator.swift */; };
@@ -123,6 +131,8 @@
123131
/* Begin PBXFileReference section */
124132
324F61C5235E07EC003973B8 /* SDAnimatedImageInterface.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDAnimatedImageInterface.h; sourceTree = "<group>"; };
125133
324F61C6235E07EC003973B8 /* SDAnimatedImageInterface.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SDAnimatedImageInterface.m; sourceTree = "<group>"; };
134+
3253E05623879A6F007ACAD8 /* SDAnimatedImageInterface+WebCache.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "SDAnimatedImageInterface+WebCache.h"; sourceTree = "<group>"; };
135+
3253E05723879A6F007ACAD8 /* SDAnimatedImageInterface+WebCache.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = "SDAnimatedImageInterface+WebCache.m"; sourceTree = "<group>"; };
126136
326B84812363350C0011BDFB /* Indicator.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Indicator.swift; sourceTree = "<group>"; };
127137
326B8486236335110011BDFB /* ActivityIndicator.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ActivityIndicator.swift; sourceTree = "<group>"; };
128138
326B848B236335400011BDFB /* ProgressIndicator.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ProgressIndicator.swift; sourceTree = "<group>"; };
@@ -187,6 +197,8 @@
187197
children = (
188198
324F61C5235E07EC003973B8 /* SDAnimatedImageInterface.h */,
189199
324F61C6235E07EC003973B8 /* SDAnimatedImageInterface.m */,
200+
3253E05623879A6F007ACAD8 /* SDAnimatedImageInterface+WebCache.h */,
201+
3253E05723879A6F007ACAD8 /* SDAnimatedImageInterface+WebCache.m */,
190202
3276EAFE237760D800B385D4 /* SDAnimatedImageInterfaceWrapper.h */,
191203
3276EAFF237760D800B385D4 /* SDAnimatedImageInterfaceWrapper.m */,
192204
);
@@ -274,6 +286,7 @@
274286
isa = PBXHeadersBuildPhase;
275287
buildActionMask = 2147483647;
276288
files = (
289+
3253E05823879A6F007ACAD8 /* SDAnimatedImageInterface+WebCache.h in Headers */,
277290
3276EB00237760D800B385D4 /* SDAnimatedImageInterfaceWrapper.h in Headers */,
278291
324F61C7235E07EC003973B8 /* SDAnimatedImageInterface.h in Headers */,
279292
32C43DE622FD54CD00BE87F5 /* SDWebImageSwiftUI.h in Headers */,
@@ -284,6 +297,7 @@
284297
isa = PBXHeadersBuildPhase;
285298
buildActionMask = 2147483647;
286299
files = (
300+
3253E05923879A6F007ACAD8 /* SDAnimatedImageInterface+WebCache.h in Headers */,
287301
3276EB01237760D800B385D4 /* SDAnimatedImageInterfaceWrapper.h in Headers */,
288302
324F61C8235E07EC003973B8 /* SDAnimatedImageInterface.h in Headers */,
289303
32C43E2222FD583A00BE87F5 /* SDWebImageSwiftUI.h in Headers */,
@@ -294,6 +308,7 @@
294308
isa = PBXHeadersBuildPhase;
295309
buildActionMask = 2147483647;
296310
files = (
311+
3253E05A23879A6F007ACAD8 /* SDAnimatedImageInterface+WebCache.h in Headers */,
297312
3276EB02237760D800B385D4 /* SDAnimatedImageInterfaceWrapper.h in Headers */,
298313
324F61C9235E07EC003973B8 /* SDAnimatedImageInterface.h in Headers */,
299314
32C43E2322FD583B00BE87F5 /* SDWebImageSwiftUI.h in Headers */,
@@ -304,6 +319,7 @@
304319
isa = PBXHeadersBuildPhase;
305320
buildActionMask = 2147483647;
306321
files = (
322+
3253E05B23879A6F007ACAD8 /* SDAnimatedImageInterface+WebCache.h in Headers */,
307323
3276EB03237760D800B385D4 /* SDAnimatedImageInterfaceWrapper.h in Headers */,
308324
324F61CA235E07EC003973B8 /* SDAnimatedImageInterface.h in Headers */,
309325
32C43E2422FD583C00BE87F5 /* SDWebImageSwiftUI.h in Headers */,
@@ -482,6 +498,7 @@
482498
326E480A23431C0F00C633E9 /* ImageViewWrapper.swift in Sources */,
483499
326B8487236335110011BDFB /* ActivityIndicator.swift in Sources */,
484500
32C43E1622FD583700BE87F5 /* ImageManager.swift in Sources */,
501+
3253E05C23879A6F007ACAD8 /* SDAnimatedImageInterface+WebCache.m in Sources */,
485502
32C43E1822FD583700BE87F5 /* AnimatedImage.swift in Sources */,
486503
324F61CB235E07EC003973B8 /* SDAnimatedImageInterface.m in Sources */,
487504
);
@@ -500,6 +517,7 @@
500517
326E480B23431C0F00C633E9 /* ImageViewWrapper.swift in Sources */,
501518
326B8488236335110011BDFB /* ActivityIndicator.swift in Sources */,
502519
32C43E1922FD583700BE87F5 /* ImageManager.swift in Sources */,
520+
3253E05D23879A6F007ACAD8 /* SDAnimatedImageInterface+WebCache.m in Sources */,
503521
32C43E1B22FD583700BE87F5 /* AnimatedImage.swift in Sources */,
504522
324F61CC235E07EC003973B8 /* SDAnimatedImageInterface.m in Sources */,
505523
);
@@ -518,6 +536,7 @@
518536
326E480C23431C0F00C633E9 /* ImageViewWrapper.swift in Sources */,
519537
326B8489236335110011BDFB /* ActivityIndicator.swift in Sources */,
520538
32C43E1C22FD583800BE87F5 /* ImageManager.swift in Sources */,
539+
3253E05E23879A6F007ACAD8 /* SDAnimatedImageInterface+WebCache.m in Sources */,
521540
32C43E1E22FD583800BE87F5 /* AnimatedImage.swift in Sources */,
522541
324F61CD235E07EC003973B8 /* SDAnimatedImageInterface.m in Sources */,
523542
);
@@ -536,6 +555,7 @@
536555
326E480D23431C0F00C633E9 /* ImageViewWrapper.swift in Sources */,
537556
326B848A236335110011BDFB /* ActivityIndicator.swift in Sources */,
538557
32C43E1F22FD583800BE87F5 /* ImageManager.swift in Sources */,
558+
3253E05F23879A6F007ACAD8 /* SDAnimatedImageInterface+WebCache.m in Sources */,
539559
32C43E2122FD583800BE87F5 /* AnimatedImage.swift in Sources */,
540560
324F61CE235E07EC003973B8 /* SDAnimatedImageInterface.m in Sources */,
541561
);

0 commit comments

Comments
 (0)