Skip to content

Instantly share code, notes, and snippets.

View ricsantos's full-sized avatar

Ric Santos ricsantos

View GitHub Profile
@ricsantos
ricsantos / ViewController.swift
Created May 1, 2024 00:34 — forked from sebjvidal/ViewController.swift
Apple Journal Calendar UI Demo
//
// ViewController.swift
// Journal-Calendar-Demo
//
// Created by Seb Vidal on 30/04/2024.
//
import UIKit
class ViewController: UIViewController {

iPhone

Model(s) Physical Size Points (Standard) Points (Zoomed) Scale Device Resolution Screen Resolution
iPhone 15 Pro Max 6.7" 430 x 932 375 x 812 @3x 1290 x 2796 1290 x 2796
iPhone 15 Pro 6.1" 393 x 852 320 x 693 @3x 1179 x 2556 1179 x 2556
iPhone 15 Plus 6.7" 430 x 932 375 x 812 @3x 1290 x 2796 1290 x 2796
iPhone 15 6.1" 393 x 852 320 x 693 @3x device res 1179 x 2556
iPhone 14 Pro Max 6.7" 430 x 932 375 x 812 @3x 1290 x 2796 1290 x 2796
iPhone 14 Pro 6.1" 393 x 852 320 x 693 @3x 1179 x 2556 1179 x 2556

Playgrounds Conference 2017

The following are my on the fly notes taken at the 2017 Playgrounds Conference in Melbourne.

Disclaimer: There may be some errors

Day One

Swift On The Server

Chris Bailey, IBM

@ricsantos
ricsantos / repeat-timer-help.md
Last active August 12, 2018 11:02
Repeat Timer app for iOS and watchOS troubleshooting help

Repeat Timer Help

Need help getting the timer to fire? This checklist might help.

iOS Device (iPhone/iPad/iPod Touch):

  • Notifications are enabled in 'Repeat Timer' (Settings in Repeat Timer app)
  • Check that all Notifications options are enabled in the Settings app
  • Do not disturb mode is not enabled

Apple Watch:

{
"manUpAppUpdateURL": "https://itunes.apple.com/app/id0000000?mt=8",
"manUpAppVersionCurrent": "99999.0",
"manUpAppVersionMin": "1.0"
}
@ricsantos
ricsantos / keybase.md
Created June 16, 2014 12:12
Proof for keybase

Keybase proof

I hereby claim:

  • I am trici on github.
  • I am ricsantos (https://keybase.io/ricsantos) on keybase.
  • I have a public key whose fingerprint is 26DA 1B4F F538 D298 97ED 7261 C667 4CC6 852C 1AB3

To claim this, I am signing this object:

Generate the list yourself:

$ cd /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/
  Developer/SDKs/iPhoneOS*.sdk/System/Library/Frameworks/UIKit.framework/Headers
$ grep -H UI_APPEARANCE_SELECTOR ./* | sed 's/ __OSX_AVAILABLE_STARTING(__MAC_NA,__IPHONE_5_0) UI_APPEARANCE_SELECTOR;//'

UIActivityIndicatorView