Skip to content

Instantly share code, notes, and snippets.

@kastiglione
kastiglione / helpers.swift
Last active June 2, 2022 02:02
Swift helpers, and the lldb setup to use them. Presented @ SLUG https://speakerdeck.com/kastiglione/advanced-debugging-and-swift
extension UIView {
/// Example: call someView.nudge(0, 30)
func nudge(_ dx: CGFloat, _ dy: CGFloat) {
self.frame = self.frame.offsetBy(dx: dx, dy: dy)
CATransaction.flush()
}
}
extension UIView {
/// Example: po UIView.root
@gsampaio
gsampaio / tools.md
Last active August 16, 2017 02:44
CocoaHeads CPS - Painel Tools

CocoaHeads Campinas Painel de Tools

Aqui se encontra a lista de tools que citamos no painel do ultimo CocoaHeads de Campinas (Jul/16). Tentei organizar minamente o que por sessão e esta organização esta sujeita mudanças. Se você tiver alguma duvida ou sugestão deixe um comentario no gist ou me pingue no twitter @gsampaio

CI

Fastlane

Snapshot

Frame it