Skip to content

Instantly share code, notes, and snippets.

View rhenz's full-sized avatar
🎯
Focusing

Renz rhenz

🎯
Focusing
  • Singapore
View GitHub Profile
@rhenz
rhenz / gist:fa1d81313e8d6a27ab8eb3b275718d05
Created August 14, 2025 12:23
OFW PadaLog Privacy Policy
Privacy Policy — Remittance Tracker
Effective Date: August 12, 2025
Remittance Tracker ("the App", "we", "us", or "our") respects your privacy. This Privacy Policy explains how we handle your information when you use our app.
1. Information We Collect
All remittance records, recipient details, and other information you enter into the App are stored locally on your device.
We do not collect, transmit, or store any personal or financial data on our servers.
2. How Your Data is Used
@rhenz
rhenz / NSMutableAttributedString+ResultBuilder.swift
Last active June 25, 2022 15:10
Attributed String using ResultBuilder and some methods by extending NSMutableAttributedString
@resultBuilder
enum AttributedStringBuilder {
static func buildBlock(_ components: NSAttributedString...) -> NSAttributedString {
let attributedString = NSMutableAttributedString()
for component in components {
attributedString.append(component)
}
return attributedString
}
}
@rhenz
rhenz / SwiftBank.swift
Last active March 16, 2022 15:56
SwiftBank Project Solution
// Write your code below 🏦
struct SwiftBank {
private let password: String
private var balance: Double = 0 {
didSet {
if balance < 100 {
displayLowBalanceMessage()
}
}
}