Category: swift

Fold code for functions you don’t mutate

Something I’ve found very helpful for my busy mind is to fold the code within functions I’ll rarely mutate. Folding/Unfolding code is as easy as tapping option-command-leftarrow to fold and option-command-rightarrow to unfold. So take the following code: Place the cursor anywhere within the function brackets and tap option-command-leftarrow, and this is what you have:

Continue Reading →

ABControls

I wanted to learn more about @IBDesignable and @IBInspectable, so I thought why not throw together a quick Custom UI Control project – contains such things as dropdown boxes, list boxes, barcode scanner, creater. https://github.com/albebaubles/ABControls

Continue Reading →