Skip to content

Instantly share code, notes, and snippets.

@rpbaltazar
Last active May 31, 2016 01:46
Show Gist options
  • Save rpbaltazar/ae5fa788c4d9d7128fc0f8aad659bf1a to your computer and use it in GitHub Desktop.
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
  1. Explain how the memory management works on iOS
  2. What is a weak qualifier and when should it be used
  3. Explain the MVC pattern
  4. Explain the MVVM pattern
  5. What are the property qualifiers that define the memory management behaviour?
  6. Describe ARC
  7. What’s the main problem with ARC?
  8. Explain what is dependency injection
  9. Is a block an object?
  10. Describe the behavior of objc_msgSend?
  11. Delegation is a common pattern on iOS and historically well-known, give an example
  12. When are the objects deallocated?
  13. Why do we use the * for the objects in Objective-C?
  14. Describe yourself using JSON
  15. Do you know how autolayout works under the hood?
@samkahchiin
Copy link

Question 9

Blocks are Objective-C objects, which means they can be added to collections like NSArray or NSDictionary.

https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/ProgrammingWithObjectiveC/WorkingwithBlocks/WorkingwithBlocks.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment