Skip to content

Instantly share code, notes, and snippets.

View msuzoagu's full-sized avatar

MUA msuzoagu

  • Space
View GitHub Profile
@msuzoagu
msuzoagu / MVP.md
Created August 8, 2024 03:27 — forked from vtsoup/MVP.md
MVP

AppDelegate -> Router -> MVP/C

graph TD
D[Deep link]-->R
A[App Delegate]-->R
R{Router} -->V(View)
P(Presenter) -- View Model --> V(View)
V -- Event Delegate --> P
P --> U1((Use Case))
U1-.->P
@msuzoagu
msuzoagu / semantic-commit-messages.md
Created September 12, 2024 00:06 — forked from joshbuchea/semantic-commit-messages.md
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@msuzoagu
msuzoagu / RELEASE-NOTES.md
Created September 15, 2024 22:10 — forked from andreasonny83/RELEASE-NOTES.md
Release Notes Template

Release Notes Template

Based off https://palantir.quip.com/pzRwAVr1bpzf

Pro-tip: look through the github diff between the previous release to see what's changed. The commit titles should give an outline of what's happened.

Upgrade Steps

  • List out, as concretely as possible, any steps users have to take when they upgrade beyond just dumping the dependency.
  • Write pseudocode that highlights what code should change and how.
See:
The CloudKitNote Class
For starters, a few custom errors can be defined to shield the client from the internals of CloudKit, and a simple delegate protocol can inform the client of remote updates to the underlying Note data.
import CloudKit
enum CloudKitNoteError : Error {
case noteNotFound