Skip to content

Commit 9799ea2

Browse files
Merge pull request #1 from Sergtsaeb/master
Content: Typos fix
2 parents d40f484 + e17f895 commit 9799ea2

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,12 @@ Use the Table of Contents to practice and test your knowledge. It doesn't show t
6868
- swift-algorithm-club
6969
- [Contributing](https://github.com/onthecodepath/iOS-Interview-Questions#contributing)
7070
- [Thank You](https://github.com/onthecodepath/iOS-Interview-Questions#thank-you)
71+
- [Flashcards](https://quizlet.com/serg_tsogtbaatar/folders/ios-interviews/sets)
72+
- The interview questions as flash card sets according to topic.
7173

7274
# Interview Questions+Answers
7375

76+
7477
## Database
7578

7679
#### What is NSFetchRequest?
@@ -129,7 +132,7 @@ A common occurence in MVC is where you have a massive-view-controller (some joke
129132
#### What considerations do you need when writing a UITableViewController which shows images downloaded from a remote server?
130133

131134
- Only download the image when the cell is scrolled into view (when cellForRowAtIndexPath is called)
132-
- Download the image asynchrnously on a backgorund thread so as not to block the UI so the user can keep scrolling
135+
- Download the image asynchronously on a background thread so as not to block the UI so the user can keep scrolling
133136
- When the image has downloaded for a cell, check if that cell is still in the view or whether it has been re-used by another piece of data. If the cell has been re-used, then the image should be discarded. Otherwise, it should be switched back to the main thread to change the image on the cell. ([source](https://www.codementor.io/mattgoldspink/ios-interview-tips-questions-answers-objective-c-du1088nfb))
134137

135138
#### What is a protocol? How do you define your own protocol?
@@ -388,7 +391,7 @@ Unit/UI testing are the basic of test-driven development. This development appro
388391

389392
viewDidLoad is only called when the view is loaded (after loadView is called). viewDidAppear, on the other hand, is called everytime the view appears on the device.
390393

391-
If the data is static for the most part, it can be loaded in viewDidLoad and achced. But if the data is dynamic and likely to change often, it is preferrable to use viewDidAppear. In both instances, data should be loaded asynchronously on a background thread to avoid blocking the UI.
394+
If the data is static for the most part, it can be loaded in viewDidLoad and cached. But if the data is dynamic and likely to change often, it is preferrable to use viewDidAppear. In both instances, data should be loaded asynchronously on a background thread to avoid blocking the UI.
392395

393396
#### What is the difference between frame and bound of a UIView?
394397

0 commit comments

Comments
 (0)