Demo |
---|
Landing Page | Comics Search |
---|---|
Comic Details | Mark As Read |
---|---|
Landscape |
---|
Comic Details in Landscape |
---|
- Obtain the keys: https://developer.marvel.com/account
- Insert your Developer keys in Core/Network/APIKeysSource.swift:
let publicKey = "YOUR_PUBLIC_KEY"
let publicKey = "YOUR_PRIVATE_KEY"
UIKit + MVVM + Combine + SwiftData
- Main Feed + Search: ComicsCollectionViewController
- Comic Details: ComicsDetailsCollectionViewController
- Just inherit from APIRequest, like ComicsSearchAPIRequest, and then call
fetch
on APIService:
let request = ComicsSearchAPIRequest(name: searchName, offset: offset)
requestCancellable = APIService().fetch(for: request)
None
Update Developer API Keys before runing tests
- Comic Details
X/Close
buttonPREVIOUS/NEXT
buttons basic navigation