iOS questions
1 What is the output binary format? Explain .app structure.
2 Can a static library (.a) contain resources like images, sound files etc?
3 What are lifecycle events of UIViewController?
4 Is UIKit thread safe?
5 Why do we override drawRect: method?
6 How do you check if your code has memory leaks?
7 What does static analyser do?
8 Concepts of notification center, local and remote notifications.
9 Have you uploaded app on Appstore? What is the process?
10 Difference between Developer and Enterprise Developer accounts?
11 Common reasons for app rejection from Appstore review process?
Few questions on CoreData which I may ask in an interview to some one brave enough
to venture :)
1 How do you setup/initialise a core data stack in your application? Is this activity
performed on main thread? If not, why?
2 What is NSPersistentStoreCoordinator? What duties does it perform?
3 What is NSPersistentStore? Is it thread safe?
4 What is NSManagedObjectContext? What are the different concurrency types?
Explain them.
5 Different types of persistent stores? Which all types can we have on iOS?
6 Can my application have multiple models? (Yes)
7 In a single model, can I have few entities in one sqlite db file and remaining in
another sqlite db file? (Yes, Hint: configurations)
8 What are the different store migration options? When are they used? How do they
work? What is mapping model?
9 Explain parent-child context setup. How does it work? What are the advantages?
10 What is difference between performBlock: and performBlockAndWait:?
11 Are the NSManagedObjectContext queues serial or concurrent?
12 Can you pass same core data objects between different threads and modify?
13 What performance issues can you face when using CoreData?
14 What is NSFetchedResultsController? How do you turn on content monitoring?
15 How to implement "load more" using NSFetchedResultsController? (Hint: Set
fetch offset and fetch limit on the NSFetchRequest of the controller, change the
request to fetch more results)
16 What are the different delete rules that a relationship can have? Which one takes
ownership?
17 In NSFetchRequest can we fetch only a selective few attributes of an entity? How?
18 Can I have relationship between entities in separate stores (in case of
configurations)? (No)
19 What are fetched properties? How do you create a fetched property?
20 What does $FETCH_SOURCE and $FETCHED_PROPERTY in the predicate
mean?
21 Why do all model object attributes get marked with @dynamic and not
synthesised? What does @dynamic mean?
22 When a NSFetchRequest fetches an entity object from store, does it fetch all of its
data at once?
23 What is a fault?
24 What are transient properties?