- Что такое "Project Purple"?
- Каких Русских/Иностранных iOS программистов/медийных личностей вы знаете? (Steve Voznyak, Chris Eidhof, Florian Kugler, Mattt Thompson, Ray Wenderlich, Егор Толстой, Андрей Панов, Александр Зимин)
- Какие сайты читаете?
- NSRunLoop: что это? как работает? для чего нужно?
- Что такое UIApplication? UIApplication delegate? Каким образом вызываются методы делегата?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
import PlaygroundSupport | |
PlaygroundPage.current.needsIndefiniteExecution = true | |
// 1 | |
struct User: Equatable { | |
// 2 | |
struct Address: Equatable { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
import PlaygroundSupport | |
import Combine | |
PlaygroundPage.current.needsIndefiniteExecution = true | |
let queue = DispatchQueue(label: "some") | |
_ = Future<String, Never> { promise in | |
queue.asyncAfter(deadline: .now() + 2, execute: { | |
print(Thread.current) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Swift Playground example of Redux JS framework | |
import Foundation | |
import PlaygroundSupport | |
// MARK: Action | |
public protocol Action { | |
associatedtype T = Any |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
var count = 0 | |
let group = DispatchGroup() | |
group.enter() | |
let thread1 = Thread { | |
for _ in 0...9999 { | |
count += 1 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
class Object { | |
let identifier: String | |
init(identifier: String) { | |
self.identifier = identifier | |
} | |
} | |
protocol MutableCollectionProtocol { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
class A: NSObject { | |
weak var delegate: B? | |
} | |
class B: NSObject { | |
weak var delegate: A? | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
var array = [1, 2, 3] | |
for number in array { | |
print(number) // 1 | |
array = [4, 5, 6] | |
} | |
print(array) // 2 |
Sources include, but not limited to:
- https://izeeshan.wordpress.com/2015/03/31/interview-stuff/
- https://github.com/9magnets/iOS-Developer-and-Designer-Interview-Questions
- https://www.quora.com/What-do-startups-look-for-in-a-candidate-during-an-iOS-technical-interview-What-do-they-want-to-hear
- https://www.linkedin.com/pulse/ios-interview-questions-senior-developers-alex-bush
- https://www.raywenderlich.com/110982/swift-interview-questions-answers
NewerOlder