-
Что такое
полиморфизм
? -
Что такое *инкапсуляция? Что такое *нарушение инкапсуляции?
-
Чем
абстрактный
класс отличается отинтерфейса
? -
Расскажите о
паттерне MVC
. Чем отличаетсяпассивная
модель отактивной
?
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 | |
// This code is contained inside "some" framework, like UIKit, Foundation e.t.c. | |
class RandomStringGenerator { | |
static func makeRandomString() -> NSString { | |
return "some random string" | |
} | |
} |
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 UIViewContoller { | |
func viewDidLoad() { | |
// 1st case | |
print("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 MyView: CustomStringConvertible { | |
let index: UInt | |
var ID: String | |
init(withIndex index: UInt) { | |
self.index = index | |
ID = String(index) |
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
1) Sub-Array with the Largest Sum | |
You are given an array with integers (both positive and negative) in any random order. | |
Find the sub-array with the largest sum | |
2) Given 2 words, return true if second word has a substring that is also an anagram of word 1. | |
LGE, GOOGLE => True | |
GEO, GOOGLE => False | |
3) How Strong is an Egg? | |
You have two identical eggs. |
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
- Что такое "Project Purple"?
- Каких Русских/Иностранных iOS программистов/медийных личностей вы знаете? (Steve Voznyak, Chris Eidhof, Florian Kugler, Mattt Thompson, Ray Wenderlich, Егор Толстой, Андрей Панов, Александр Зимин)
- Какие сайты читаете?
- NSRunLoop: что это? как работает? для чего нужно?
- Что такое UIApplication? UIApplication delegate? Каким образом вызываются методы делегата?
OlderNewer