What is object-oriented programming (OOP)?
iOS
let parent = Task { let child = Task { print("child started, isCancelled = ", Task.isCancelled) // NO false for index in (1...[phone]) { print(index) } print("child finished, isCancelled = ", Task.isCancelled) // } await child.value } try? await Task.sleep(nanoseconds: 1_000_000_000) // 1 second parent.cancel() /////// let parent = Task { async let child: Void = { print("child started, isCancelled =", Task.isCancelled) for index in (1...[phone]) { print(index) } print("child finished, isCancelled =", Task.isCancelled) }() await child } try? await Task.sleep(nanoseconds: 1_000_000_000) // 1 second parent.cancel()
What is a half of an array and how to determine it?
What is CocoaPods?
What design patterns do you know?
Name the advantages of the Viper architectural pattern.
How to implement full layout composition in iOS?
What is the difference between a queue and a thread?
How could I implement a navigation system in an application?
What type will the allocated array element be?
Can you explain what a Set data structure is?
What is polymorphism in programming?
What is the difference between an announcement link and a VIK link?
What is your favorite function in Swift?
What does an optional function violate in the protocol?
What are the types of data in Swift?
How is multithreading implemented on a single-core device?
Is it necessary to use an asynchronous executor in this case?
What is the difference between architectural patterns MVVM and MVP?
How is class initialization related to memory allocation?