Skip to content

My first iOS sample app - with widgets supporting iphone, ipad, and visionOS

Notifications You must be signed in to change notification settings

ryanw-mobile/JRNL

Repository files navigation

JRNL - The Journaling App

cover image

 

This is a demo app I built while reading the book iOS 17 Programming for Beginners. I combined the code so that it supports iPhone and iPad with widgets and Apple Vision Pro with 3D models.  

This is the first complete iOS App I have ever built. Therefore, this codebase will serve as a playground for me to reshape it into something different further.  

 

This app allows the submission of journal entries with titles, body text, 5-star ratings, pictures, and locations. It provides a dynamic list view that supports search and deletion and can adjust the number of columns on large screens. The saved journal entries can be displayed as a lock screen or home screen widget. There is also a Map View screen presenting the journal entries as pins on the map, according to the location attached to the entries. When launching the app on Apple Vision Pro, a 3D earth model is shown in front of the UI.  

 

Key technical facts

The following skills and techniques were applied when building this app:

  • Storyboard navigation and UI layout
  • Swift and MVC architecture
  • Core Location for obtaining device location
  • Map view and POI handling
  • Data persistence using JSON
  • Custom View
  • Camera, photo picker and image file handling
  • Search
  • Collection View for handling different screen sizes
  • Lock screen and home screen widgets using SwiftUI
  • VisionOS support, with 3D objects for the VisionOS app variant
  • Code linting using SwiftFormat

TODO

Obviously, this app lacks proper automated linting, CI/CD, and tests. The UI can be polished further, too. There are things in this App I have coded without understanding how they work, and there can be a lot to follow up on. It all depends on my availability and priority to further work on this repository, but definitely there is a plan.

About

My first iOS sample app - with widgets supporting iphone, ipad, and visionOS

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages