Avatar
Avatar
omochimetaru
@swift-5.8.1 @swift-5.8.1 -enable-upcoming-feature ForwardTrailingClosures func animate( animations: (() -> Void)? = nil, completion: (() -> Void)? = nil ) { print("animations") animations?() print("completion") completion?() } animate { print(1) }
animations 1 completion