Skip to content

Instantly share code, notes, and snippets.

View tbaranes's full-sized avatar

Tom Baranes tbaranes

  • KaraFun Group
  • Lille, France
View GitHub Profile
@tbaranes
tbaranes / Xcode plugins
Last active January 12, 2016 18:14
Minimal list of Xcode plugins to have
drwxr-xr-x 3 Tom staff 102B Jan 11 14:42 Alcatraz.xcplugin
drwxr-xr-x 3 Tom staff 102B Jan 12 14:21 AllTargets.xcplugin
drwxr-xr-x 3 Tom staff 102B Dec 11 08:37 Auto-Importer.xcplugin
drwxr-xr-x 3 Tom staff 102B Dec 11 08:37 DerivedData Exterminator.xcplugin
drwxr-xr-x 3 Tom staff 102B Dec 11 08:37 FixCode.xcplugin
drwxr-xr-x 3 Tom staff 102B Dec 11 08:37 FuzzyAutocomplete.xcplugin
drwxr-xr-x 3 Tom staff 102B Jan 12 14:21 KZLinkedConsole.xcplugin
drwxr-xr-x 3 Tom staff 102B Oct 5 10:06 Lin.xcplugin
drwxr-xr-x 3 Tom staff 102B Oct 5 10:08 OMColorSense.xcplugin
drwxr-xr-x 3 Tom staff 102B Jan 12 14:21 OMQuickHelp.xcplugin
@tbaranes
tbaranes / Wawy lines
Created February 5, 2016 08:02
UIBezierPath extension to make wawy lines
```swift
extension UIBezierPath {
class func bezierPathWithWavesInRect(rect: CGRect, width: CGFloat, offset: CGFloat = 0.0, waveUp: Bool = false) -> UIBezierPath {
let originY = waveUp ? rect.maxY : rect.minY
let halfWidth = width / 2.0
let halfHeight = rect.height / 2.0
let quarterWidth = width / 4.0
var up = waveUp