- Explain how the memory management works on iOS
- What is a weak qualifier and when should it be used
- Explain the MVC pattern
- Explain the MVVM pattern
- What are the property qualifiers that define the memory management behaviour?
- Describe ARC
- What’s the main problem with ARC?
- Explain what is dependency injection
- Is a block an object?
- Describe the behavior of objc_msgSend?
- Delegation is a common pattern on iOS and historically well-known, give an example
- When are the objects deallocated?
- Why do we use the * for the objects in Objective-C?
- Describe yourself using JSON
- Do you know how autolayout works under the hood?
Last active
May 31, 2016 01:46
-
-
Save rpbaltazar/ae5fa788c4d9d7128fc0f8aad659bf1a to your computer and use it in GitHub Desktop.
Questions captured from: http://albertodebortoli.com/blog/2016/05/28/best-ios-interview-epicfails/ and attempted answers
Question 9
Blocks are Objective-C objects, which means they can be added to collections like NSArray or NSDictionary.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Question 8
Dependency injection means giving an object its instance variables.
Fishing Examples
Let's imagine that you want to go fishing:
Why using it?
It can make testing lots easier
http://www.jamesshore.com/Blog/Dependency-Injection-Demystified.html
http://stackoverflow.com/questions/130794/what-is-dependency-injection