Explain the working principle of the binary search algorithm and its features
iOS
In which architecture does the UIViewController controller manage a significant part of the business logic?
What storage methods for objects exist in the iOS platform?
In what situations is GCD (Grand Central Dispatch) recommended for managing tasks in iOS or macOS applications?
What do you prefer: to perform tasks independently or as part of a team?
How did you interact with the team or colleagues when faced with an unclear task at your previous workplace?
Why use final class instead of class for the cache implementation?
Is it possible to apply references or pointers to value types in programming?
Do programming languages like Swift have a strict type system?
Can you explain what is meant by the term hugging priority and how it is used in context
How does using Singleton directly inside a View affect the behavior and architecture of the application?
struct ExampleView: View { @State var isVariant1 = true var body: some View { VStack { Toggle("Use Variant 1", isOn: $isVariant1.animation(.linear)) Text(isVariant1 ? "Variant 1" : "Variant 2") } .padding() } } Variant1 -> scale -> 1 -> 0 Variant2 -> scale -> 0
import UIKit protocol CacheProtocol { associatedtype Value func setValue(_ value: Value?, forKey key: String) func value(forKey key: String) -> Value? func fetchValue(forKey key: String, completion: @escaping (Value?) -> Void) }
Which system works closer to the system — GCD or OperationQueue?
What data class is used to store elements in standard collections?
Can you explain what a regular expression is and how it is used for searching and processing text?
To implement support for portrait and landscape orientation in the interface, which is preferable to use: Auto Layout or resizing through frame?
What is the main idea and what problems does the concept of structured concurrency help solve?
In what cases is it recommended to use a collection view component to display elements?
How is conflict resolution handled during data collisions in Swift?