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
    • 10.1. HTTP connections
    • 10.2. Postman: a Useful Tool to Test Web Services
    • 10.3. Testing our Simple Custom API with Postman
    • 10.4. App that Uses Our Contact API
    • 10.5. Setting up the View of App10
    • 10.6. Fetching Data with AlamoFire: GET
    • 10.7. Posting Data with AlamoFire: POST
    • 10.8. Fetching Data with AlamoFire: 'details' endpoint
    • 10.9. Reference Code
  • 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
  • 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. 10. Making the app communicate over the Internet

10.9. Reference Code

263KB
App10.zip
archive
Open
Previous10.8. Fetching Data with AlamoFire: 'details' endpointNext11. Working with APIs and JSON

Last updated 1 month ago

Was this helpful?

Was this helpful?