Skip to content

Instantly share code, notes, and snippets.

View ricsantos's full-sized avatar

Ric Santos ricsantos

View GitHub Profile
@IsaacXen
IsaacXen / README.md
Last active June 14, 2024 10:18
(Almost) Every WWDC videos download links for aria2c.
@dalegaspi
dalegaspi / brew_symlink_error_sierra.md
Last active January 4, 2024 22:32
Homebrew Symlink errors in Mac OSX High Sierra
//
// NSObject+objcruntime.h
//
// Created by David De Bels on 07/10/16.
//
// (c) 2016 November Five BVBA
//
#import <objc/runtime.h>
#import <Foundation/Foundation.h>
@mattt
mattt / uiappearance-selector.md
Last active June 4, 2024 13:28
A list of methods and properties conforming to `UIAppearance` as of iOS 12 Beta 3

Generate the list yourself:

$ cd /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS*.sdk/System/Library/Frameworks/UIKit.framework/Headers
$ grep UI_APPEARANCE_SELECTOR ./*     | \
  sed 's/NS_AVAILABLE_IOS(.*)//g'     | \
  sed 's/NS_DEPRECATED_IOS(.*)//g'    | \
  sed 's/API_AVAILABLE(.*)//g'        | \
  sed 's/API_UNAVAILABLE(.*)//g'      | \
 sed 's/UI_APPEARANCE_SELECTOR//g' | \