Skip to content

Instantly share code, notes, and snippets.

View lifeutilityapps's full-sized avatar

Life Utility Apps lifeutilityapps

View GitHub Profile
@lifeutilityapps
lifeutilityapps / InteractiveReleaseNotes.swift
Created April 1, 2025 12:01
Interactive release notes screen with swipeable image preview carousel.
//
// InteractiveReleaseNotes.swift
// DownPay for iOS
//
// Created by Life Utility Apps
//
import SwiftUI
import NukeUI
@lifeutilityapps
lifeutilityapps / StandardCopyMenu.swift
Last active April 1, 2025 12:00
A reusable SwiftUI context menu component for programmatically creating a menu of user-copiable values
//
// StandardCopyMenu.swift
// DownPay for iOS
// lifeutilityapps.com/downpay
//
// Created by Life Utility Apps on 12/15/24.
//
import SwiftUI
@lifeutilityapps
lifeutilityapps / ExportUserDataView.swift
Created December 8, 2024 14:24
A simple full screen cover view that allows the user to export their data.
//
// ExportUserDataView.swift
// DownPay for iOS
//
// Created by Life Utility Apps on 12/6/24.
//
import SwiftUI
enum EAppUserDataExportFileType: String, Identifiable, CaseIterable {
@lifeutilityapps
lifeutilityapps / StandardDateRangePicker.swift
Created November 22, 2024 20:08
A simple date range picker built with SwiftUI
//
// StandardDateRangePicker.swift
// Downpayment Tracker
//
// Created by Life Utility Apps on 6/5/24.
//
import SwiftUI
struct StandardDateRangePickerSheet: View {
@lifeutilityapps
lifeutilityapps / TabVisibilitySetting.swift
Created November 10, 2024 13:29
A simple setting to control visible tabs
// Inside your root TabView, add conditional logic to
// hide and show the tab icons if the associated
// user default hide is set to hidden. You might need
// to force a re-render of the entire TabView to
// prevent buggy effects. My implementation shows
// a progress view for 750ms to force the re-rendered tabs.
import SwiftUI
struct TabVisibilitySetting: View {
@lifeutilityapps
lifeutilityapps / StandardColorSchemePicker.swift
Created September 21, 2024 12:15
SwiftUI Color Theme Picker
import SwiftUI
enum EStandardColorScheme: String, CaseIterable, Identifiable {
case system = "system"
case light = "light"
case dark = "dark"
var id: String {
return self.rawValue
}