gerchicov-bp
gerchicov-bp
I just run it and try to crop immediately: ``` - (instancetype)initWithCroppingStyle:(TOCropViewCroppingStyle)style image:(UIImage *)image { NSParameterAssert(image); ```
It seems it works except of one thing - How to set its custom height?
I have a cell with 2 buttons. Each button may expand cell. The expanded cell is the same but can have different data. For example in my case it contains...
https://www.avanderlee.com/swift/property-wrappers/ Here is an example for UserDefaults: ``` @propertyWrapper struct UserDefault { let key: String let defaultValue: T init(_ key: String, defaultValue: T) { self.key = key self.defaultValue = defaultValue...
https://github.com/okhanokbay/MapViewPlus/blob/72a7f331e42d539eef0b3b40016e2f8400d495e4/MapViewPlus/Classes/Source/MapViewPlus.swift ``` guard subview is CalloutAndAnchorView else { return } ``` You should replace `return` with `continue` otherwise it sometimes doesn't deselect the annotation views if sees any other type...
Usually hud is of the same style for all the app so it is not necessary each time to setup a concrete animation.