Daniel Saidi's Blog
After installing Xcode 10 yesterday evening, I started migrating my open source
libraries to Swift 4.2. While most migrations were painless, one caused me some
headache, since the library depends on SwiftyDropbox which does not yet support
Swift 4.2. Adding the SwiftyDropbox dependency makes the library compile, but
the demo app crashes at runtime.
In this post, I’ll describe how you can automate setting up your new Mac using a
modular and extensible terminal script. The original post can be found here.
After years of development, I have come to a point where I am pretty happy with
my iOS & Swift setup, including project structure, code conventions, tools etc.
In this post, I’ll discuss a series of posts that I plan to write, that descibe
this setup in detail.
I upgraded my computer to OSX Mojave a while back. Most things work really well,
but I have faced some strange keybinding issues with my Swedish keyboard. One such
thing is backslash, which now opens up the help menu instead.
It’s been a long time coming, but I eventually got around to start replacing all
NSCoding objects in a Swift library with the (not so) new Codable protocol.
This blog post will cover some learnings I’ve collected along the way.
In an app I’m working on, I had an idea on how to redesign the way we extend our
protocol-based domain model. However, what first looked like a walk in the park,
turned into a Swift nightmare, with problems that I am still struggling with.
Join me in my endeavors…and reach out a helping hand if you have one.
In my previous post, I wrote about how I do
not like iOS delegates and target/selectors and how I prefer to use closures.
After hearing so many good things about RxSwift and not having the opportunity
to try it at work, I decided to use it when I rewrote an old app of mine.
Tonight, I finally sat down with my oldest daughter Cornelia, to play with Swift
Playgrounds and try to teach her a bit about programming.
In this post, I will write about my experience using Working Copy on my iPad Pro,
adding a blog post to a Jekyll-powered blog, then pushing the result to GitHub.
As a Swede, I’m often frustrated by my restricted English vocabulary. In lack of
a rich set of adjectives, I’m often forced into a bad habit of using a basic set
which I then emphasize by throwing in a “very” or “really”. It is frustrating to
feel how your well-developed Swedish thought is ground into banality, as you try
to verbalize it in English. Must be tedious to listen to as well.
In an app of mine, I want to add placeholder support to UITextView. Since this
is not built-in for UITextView, I created three extensions to help me out:
This is a walkthrough of my talk at CocoaHeads Sthlm, April 3 2017,
where I covered:
I am really looking forward to a HoloLens event at tretton17
next week, where Jimmy Engström will demonstrate this awesome piece of technology:
When creating CocoaPods, I use Quick for tests
and Nimble for assertions. They are great and
really speed up writing tests.
After procrastinating for too long, I finally decided to spend one minute of my
life to setup git autocomplete. The original discussion where I found this info
can be found here.
I finally made it! After years and years of “I really shouldn’t”, I finally got
around to abandon my old hosting provider and move all my sites to GitHub.