iOS App using CatApi service to search the cat you love, learn more about cats and save your favorites breeds to check later.
To keep your API key secure and separate from your code, you can store it in an .xcconfig file.
First create a *.xcconfig file where you are gonna put your api key.
Plain Text (Dont rename API_KEY
text cause we need to read from the info.plist)
API_KEY = API_KEY_RIGHT_HERE
Just plain text dont handle it like a string or something. After that double check on your project -> info -> configurations -> debug / release , setup your *.xcconfig file there and thats it you are ready to roll.
HomeCatView Demo(Pagination) | DetailsCatVIew | Add favorite cat flow |
---|---|---|
![]() |
![]() |
![]() |
- Save and Remove Favorite cat using SwiftData
- Check Cat details
- Open webView to check more information about the cat
- Searchable view to filter cats
Client: Swift, SwiftUI, SwiftData, iOS18
Server: APIRestful
- Improve UITests
To run tests, You can do it manually using Xcode or you can install fastlane using
brew install fastlane
and then run
fastlane ios unit_tests
or
fastlane ios ui_tests
in your terminal. You need to have an iphone 16 simulator or you can change the simulator name in fastfile. We are using iOS 18 to develop this app.