This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Don't forget to add to the project: | |
| // 1. DeepLabV3 - https://developer.apple.com/machine-learning/models/ | |
| // 2. CoreMLHelpers - https://github.com/hollance/CoreMLHelpers | |
| enum RemoveBackroundResult { | |
| case background | |
| case finalImage | |
| } | |
| extension UIImage { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| i386 : iPhone Simulator | |
| x86_64 : iPhone Simulator | |
| arm64 : iPhone Simulator | |
| iPhone1,1 : iPhone | |
| iPhone1,2 : iPhone 3G | |
| iPhone2,1 : iPhone 3GS | |
| iPhone3,1 : iPhone 4 | |
| iPhone3,2 : iPhone 4 GSM Rev A | |
| iPhone3,3 : iPhone 4 CDMA | |
| iPhone4,1 : iPhone 4S |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Combine | |
| import Foundation | |
| /// A thread-safe store for cancellables which addresses usability pain points | |
| /// with stock Combine apis. | |
| /// | |
| /// ## Thread-safe storage of cancellables | |
| /// | |
| /// let cancelBag = CancelBag() | |
| /// cancellable.store(in: cancelBag) |
OlderNewer