Resources
Legal
Prepare for interviews with a database of questions from real interviews.
Showing 1,801–1,820 of 2,216
What tools do you use to create custom UI elements in a form?
Explain the principles of SpinLock operation and in what scenarios it is used.
Can you explain what access control is and why it is needed in systems?
What are the limitations of generic programming mechanisms?
How to distinguish REST API from WebSocket and what is their main difference?
What are the advantages and disadvantages of using CocoaPods in iOS projects?
Could you list the main types of network threats and attacks that security systems face?
How much RAM does the default data type value occupy?
What are the main advantages and disadvantages of writing unit tests?
Can a Weak reference be considered optional or does it behave differently?.
Did you study the ViewController documentation during debugging?
Is it possible to use enumerations (enum) in programming language to store properties stored in memory?
import UIKit protocol CacheProtocol { associatedtype Value func setValue(_ value: Value?, forKey key: String) func getValue(forKey key: String) -> Value? func fetchValue(forKey key: String, completion: @escaping (Value?) -> Void) } final class Cache<T>: CacheProtocol { private var storage: [String: T] = [:] private let queue = DispatchQueue(label: "my.queue", attributes: .concurrent) func setValue(_ value: T?, forKey key: String) { queue.sync(flags: .barrier) { storage[key] = value } } func getValue(forKey key: String) -> T? { queue.sync { return storage[key] } } func fetchValue(forKey key: String, completion: @escaping (T?) -> Void) { queue.async { let value = self.storage[key] completion(value) } } }
What is the difference between using the GCD (Greatest Common Divisor) function and asynchronous programming methods with async/await?
What changes will occur in the timer's operation when minimizing or collapsing the application?
Can you explain what AsyncSequence is and how it is used in Swift?
What new event or development stage was introduced in the latest version of the component or system lifecycle?
What can you say about the importance and role of algorithms in programming?
How do horizontal and vertical arrangements of elements differ in UIStackView?
Can you explain what Realm is and how it is used in mobile applications?