NU - iOS App Development
Ctrlk
  • Welcome!
  • Getting Started
    • Preparing your Development Environment
    • Setting up Xcode
  • Swift: the programming language
    • 1. Variables, Data types, and more.
  • 2. Collections
  • 3. Operators
  • 4. Conditionals
  • 5. Loops
  • 6. Functions
  • 7. Closures
  • 8. Optionals
  • 9. Creating your own data types
  • 10. Protocols
  • 11. Sorting Arrays
  • iOS Development with UIKit
    • 1. Creating our first app
  • 2. Designing without Drag and Drop
  • 3. Our first Multi-screen App
  • 4. Separating code: View from the Controller
  • 5. UITableView, and more
  • 6. UIMenu, Picking Images from Gallery and Camera, and UIImageView
  • 7. Notification Center
  • 8. UIScrollView
  • 9. Cocoa Pods
  • 10. Making the app communicate over the Internet
  • 11. Working with APIs and JSON
  • 12. Firebase Authentication and Firestore
  • 13. Firebase Storage
  • 14. UIMapKit: Working with Location and Maps
  • Decluttering Code
    • 1. Writing clean code for Asynchronous operations
      • 1.1. Decluttering our App11 (Contacts App with JSON)
      • 1.2. Decluttering continues...
      • 1.3. Reference Code
  • Useful Tools and UI Elements
    • Hiding Keyboard when tapped outside
    • Slide Up the View for On-screen Keyboard
    • Embed Navigation Controller from code (Not Storyboard)
    • Saving small data when the App is not running (session or other state variables)
    • Stack View
    • Tab Bar Controller
    • Search Bar
    • Bottom Sheet View: Modal Presentation
Powered by GitBook
On this page
  1. Decluttering Code
  2. 1. Writing clean code for Asynchronous operations

1.3. Reference Code

51KB
App 11 modular async.zip
archive
Open
Previous1.2. Decluttering continues...NextHiding Keyboard when tapped outside

Last updated 1 month ago

Was this helpful?

Was this helpful?