Oscar-winning screenwriter Taika Waititi dunks on Apple’s keyboards | Engadget

Winning an Academy Award makes you feel like you’re ruler of the world, at least for the rest of Oscar night. Taika Waititi, winning a gong for best adapted screenplay, started issuing demands of his favorite technology company shortly after leaving the stage. When asked by reporters about the forthcoming Writers’ Guild of America negotiations,… Continue reading Oscar-winning screenwriter Taika Waititi dunks on Apple’s keyboards | Engadget

Ring doorbell ‘gives Facebook and Google user data’

This is infuriating: “The Electronic Frontier Foundation found the Ring app was “packed” with third-party tracking, sending out customers’ personally identifiable information. Five companies were receiving a range of information, including names, IP addresses and mobile networks, it said.” The five companies identified as receiving information were: Facebook, via its Graph API – each user’s… Continue reading Ring doorbell ‘gives Facebook and Google user data’

Storyboard layout madness

Been working on layouts the last two weeks, making sure baseball renders properly on the 5 different iPad sizes. Ā It’s a challenge as the animation requires the same coordinates, regardless of the size of the iPad…. Ā 

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 Fold code for functions you don’t mutate

WTF Auto Layout?

Deciphering auto layout errors can be a real pain. johnpatrickmorgan created a nifty website to help: WTF Auto Layout?

SwiftUI – NSAttributedString

While it’s true SwiftUI doesn’t currently provide easy access to NSAttributedString, you can concatenate string literals assigning attributes to each literal individually: Text(“Regular, “) + Text(“Italic, “).italic() + Text(“Bold, “).bold() + Text(“Blue”).foreground(.blue) Not pretty, but it works

Static frameworks for pods

Excellent tool from leavez for enabling static frameworks for all your pods. Kudos to @mfcollins3 for the link: https://github.com/leavez/cocoapods-static-swift-framework

Published
Categorized as pods

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

Published
Categorized as pods, swift

Xcode & Terminal

While I’d really like Xcode to provide an internal window for terminal, this is a nice piece of work from Damjan Dimovski on an integration shortcut that fires up terminal (of your choice) in the project folder: https://medium.com/@damjandimovski/open-terminal-from-xcode-9e4c10f7ace1