Clendar - Minimal Calendar & Widget With Swift

Clendar – Minimal Calendar

Minimal Calendar & Widget

Landing Page

About

This project is started out as an UIKit base app for me to learn new WWDC features over the years. But one day, I decided to convert the whole app from UIKit -> SwiftUI and boom, here we are.

This is the PR => https://github.com/vinhnx/Clendar/pull/35

SwiftUI

? I believe the best way to Learn is by doing. SwiftUI is evolving and I think it’s the future of writing apps.

SwiftUI is an innovative, exceptionally simple way to build user interfaces across all Apple platforms with the power of Swift. Build user interfaces for any Apple device using just one set of tools and APIs.

— Apple

The true power of SwiftUI, to me, is it’s flexibility, thanks to it’s vast realm of view modifiers and expressiveness with property wrappers.

You can create an “Hello, World!” app with just a few lines of code (check out the new @main attribute!) or even, a calendar view.

SwiftUI give you the most flexible tool an Apple developer could ever ask for, all you need is a bit of creativity, and the possibilities, are, limitless.

Clendar would not be possible without the public knowledge of the community. To name a few, in no particular order:

my notes about SwiftUI:

By publishing Clendar, I would like to give back to the community. ?

Tech stacks

Core:

  • SwiftUI (and UIKit interoperability)
  • iPadOS
  • WidgetKit
  • SiriKit
  • EventKit/EvenKit UI – wrapper with my own Shift package ?
  • WatchKit
  • Combine
  • Catalyst
  • StoreKit

Build delivery tool

  • Fastlane

Package Managers

  • Swift Package Manager
  • CocoaPods

Linter

  • SwiftLint

Formatter

  • SwiftFormat

Action

Requirements

(for async/await):

  • Xcode 13.1
  • iOS 15.0
  • watchOS 8.0
  • Ruby (for Fastlane build automation)

My own Swift Packages currently used in Clendar

  • Shift – Result-based wrapper for EventKit. SwiftUI supported!
  • Laden – SwiftUI loading indicator view

Contributing

Contributing is more than welcome, if you feel like helping the app, or want to add new feature, feel free to take a look at my issues page. Thanks!

Contributors

????
Huge thanks everyone who took their precious time and effort to contribute to the project:

??

License

MIT License

You can do whatever you want with this source code: modify, tweak or use as learning resources, for example… ???‍?

But, please don’t re-distribute the app on App Store with different name. ?

And, if you like, you can download the app for free on the App Store.

Open-source inspiration

What’s ‘Clendar’?

It’s just Calendar, without an ‘a’. I thought it’s unique, but turns out it’s not going well with ASO (App Store Optimization) and SEO (Search Engine Optimization).

But, whatever!


Thanks and take care! ?

I’m on @vinhnx on almost everywhere.