Avatar
omochimetaru 5/15/2023 1:54 AM
@swift-5.2.5 @swift-5.3.3 func animate( animations: @escaping () -> Void, completion: ((Bool) -> Void)? = nil ) { print("animations") animations() print("completion") completion?(true) } animate { print(1) }