iOS Examples
A collection of iOS example code and applications.
- Custom Interface Builder View
- Custom Presentation Controller
- Transition images to full screen + zoomable image
- Stretchy table header view
- Shared authentication state
- Custom Container View Controller
- Dynamic sized bottom sheet controller
- Dynamic sized dialog controller
- gRPC Swift
- Background refresh and cleanup
- Flow coordinator pattern
- Bluetooth Low Energy (BLE)
- Expandable dynamic sized Table View Cell
- Custom Container View Controller (improved)
- Flow View Pattern (SwiftUI)
- Dynamic sized Table Header View and Table Footer View
- Handle consecutive taps on a tab in a TabView (SwiftUI)
- Live mock data by monitoring file changes in simulator
- Securely store objects and values in Keychain
- Multiple app flavours using build Configurations
- Simple network monitoring
- Multi Module App (using Coordinators)
- Keyboard Avoidance View Controller
- Extended Splash Screen on App startup
- Interactive Animations with UIViewPropertyAnimator
- Dynamically alternate/change app icon (SwiftUI)
- Rendering HTML in SwiftUI
- Dynamic Animations with UIDynamicAnimator
Happy coding! 😄
Disclaimer
Though feedback and contributions are greatly welcome, I can not promise to have the time and energy to address any issues or change requests that might emerge. The code is mostly meant to be used as is.
License
MIT License
Copyright (c) 2023 Thomas Asheim Smedmann
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.