Commit ba9c626
authored
Improved way to get SwiftUI image handle (#945)
* Improved way to get SwiftUI image handle
* Use #dsohandle instead of fatalerror
* Search /SwiftUI instead and use dyld image header pointer instead of convert it
Previous approch will crash on mac platform but ok with iOS simulator1 parent 43b2ae6 commit ba9c626
File tree
1 file changed
+12
-3
lines changed- Sources/ComposableArchitecture/Internal
1 file changed
+12
-3
lines changedLines changed: 12 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
13 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
14 | 23 | | |
15 | 24 | | |
16 | 25 | | |
| |||
0 commit comments