Skip to content

Instantly share code, notes, and snippets.

Juan Alvarez jlalvarez18

Block or report user

Report or block jlalvarez18

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
jlalvarez18 / deepDescription.swift
Last active Feb 22, 2018 — forked from mhuusko5/Swift – func deepDescription
Swift 4 – func deepDescription(any: Any) -> String (pretty print any object, recursively)
View deepDescription.swift
func deepDescription(_ any: Any) -> String {
guard let any = deepUnwrap(any) else {
return "nil"
if any is Void {
return "Void"
if let int = any as? Int {
jlalvarez18 / gist:123f9827a0e7f75a8e08
Last active Aug 29, 2015
Swift Dynamic UITableView Header View
View gist:123f9827a0e7f75a8e08
override func viewWillTransitionToSize(size: CGSize, withTransitionCoordinator coordinator: UIViewControllerTransitionCoordinator) {
super.viewWillTransitionToSize(size, withTransitionCoordinator: coordinator)
override func viewWillAppear(animated: Bool) {
View Openname Verification
Verifying that +jlalvarez18 is my openname (Bitcoin username).

Keybase proof

I hereby claim:

  • I am jlalvarez18 on github.
  • I am jlalvarez18 ( on keybase.
  • I have a public key whose fingerprint is 972B F3A5 607F 9150 D1CB FA40 1C1B 739B C581 6FD5

To claim this, I am signing this object:

You can’t perform that action at this time.