Those of us who have written Java code before probably know what the builder pattern is. And those of us who dislike Java as much as I do are probably confused why you would want builders in Swift.
But, as with most things, it heavily depends on the context. And…
What’s wrong (and not) about this year’s betas from Apple.…
Like Apple announced this spring they have now removed many services from their
macOS Server.app. There is a nice overview here
[https://support.apple.com/en-us/HT208312]. There is also a migration guide
, that should help with transitioning to some open…
[tl;dr;] The frame of the macOS system HUD is (origin = (x = 620, y = 140), size
= (width = 200, height = 200))... (at the time of writing)
In one of the reviews of CapsLocker
[https://itunes.apple.com/us/app/capslocker/id1102304865] a user disliked, that
the HUDs in CapsLocker do not…
Swift 4 [https://swift.org/blog/swift-4-0-released/], amongst other things,
brought a way to serialize/deserialize data into/from model objects called
Codable. Those changes were proposed under SE-0166
I'm not going to elaborate on how Codable works since it's…
Together with iOS 10, watchOS 3 and Xcode 8 Swift 3 made its way into the
public. Of course there were betas of Xcode (and with it Swift 3) before the
public release. And of course I was playing around with them, too.
While more and more projects are converted…
You might have noticed that the domain of my blog changed from blog.ffried.net
to ffried.codes. I've been waiting to use one of the new gTLDs and now I finally
made the switch.
It's not that easy to setup a root domain with Ghost [https://ghost.org],
tl;dr; Swift is awesome, but there are still many bugs for Apple to fix.
What is Swift?
Swift is the new programming language Apple introduced at the last WWDC in 2014
alongside iOS 8. When I first heard about it a the keynote I was quite sceptic.
It's quite some time ago since I've last written something here. Sorry about
that. I'm currenlty in the middle of moving from Switzerland to Germany which
gives me quite a lot to do. But I plan to write some more posts again.
For example I'm gonna write about my experiences…
tl;dr; There is a neat little library for handling NSUserDefaults over here
For a project I've recently worked on, I've created a settings class which
mirrors its properties into NSUserDefaults. I did so by overriding the getters
and setters and directly forwarding the calls…