Skip to content

Instantly share code, notes, and snippets.

View rcaos's full-sized avatar
🇵🇪
Working from home

Jeans Ruiz rcaos

🇵🇪
Working from home
View GitHub Profile
@rcaos
rcaos / storekit.swift
Created August 15, 2022 23:47
StoreKit
func foo(_ a: SKProductsResponse) {
_ = a.invalidProductIdentifiers
_ = a.products
}
// APi
protocol ApiStoreKitProtocol {
@rcaos
rcaos / DateFormatter.swift
Created May 20, 2021 19:08
DateFormatter swift timezone locale Date
private let dateFormatter: DateFormatter
let locale: Locale = Locale.current
let timezone: TimeZone = TimeZone.current
dateFormatter = DateFormatter()
dateFormatter.locale = locale
dateFormatter.timeZone = timezone
dateFormatter.setLocalizedDateFormatFromTemplate("ddMMyyyy")
@rcaos
rcaos / exportOptions.plist
Created June 10, 2020 04:09 — forked from skabber/exportOptions.plist
Export Options Plist Example
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>method</key>
<string>app-store</string>
<key>teamID</key>
<string>XXXXXXXXXX</string>
<key>uploadBitcode</key>
<true/>