Sketch Notes At UIKonf 2017
May 17, 2017, 6:00 PM
I attended UIKonf (iOS developer conference in Berlin) this week. Great conference. I have been at UIKonf in 2014 but this time it was so much better for me because I talked to so many people. It’s not that the people have been more open...
Using DDHTweaks To Find Perfect Values
Dec 4, 2016, 6:00 PM
Sometimes you may wish you could tweak some values of your app (colors, font sizes, text) while you test it in the field. Or you would like to enable a feature to test it but don’t like to show that feature to your beta testers yet.
With...
Testing the User Interface with FBSnapshotTestCase
Nov 12, 2016, 6:00 PM
Sometimes you need to add automatic tests for the UI of your app. There are several different approaches to achieve this.
In the test you could get the elements of the screen and assert if all the frames are as you expect. Depending on...
Creating a "smart" Xcode file template
Aug 7, 2016, 6:00 PM
Did you know that you can create your own file templates for Xcode? Sure you did. But did you also know that you can create a template that takes a string and puts it into a field you define?
Let’s build a file template for a Swift...
4th Problem from Project Euler in Swift
May 7, 2016, 10:49 AM
Yesterday I read this post by
Joseph Jude. He experienced that Swift is
way slower in solving the 4th problem from Project Euler when compared
to Python and Typescript.
The 4th problem in Project Euler
is this:
A palindromic number...
Using a Playground instead of Keynote
Apr 22, 2016, 7:20 AM
Yesterday I gave a talk at the Cologne Swift meetup and I tried
something new. I used a Swift Playground for the “Slides”.
These are my takeaways:
Presentation mode
Xcode has a presentation mode. But as the resolution of the beamer...
What to learn first
Apr 19, 2016, 2:11 AM
Yesterday I got asked, what a Swift beginner should learn first. Here is
the question:
I did want to ask you something, is it worth a while to learn TDD, or
spend that time learning Swift, and functional programming?
Of course, my...
#selector() and the responder chain
Apr 10, 2016, 11:42 AM
With the new syntax for selectors in Swift 2.2 the approach I used in
“Utilize the responder chain for target
action”
produces a warning. Let’s fix that.
Protocols for president
First we add a protocol:
@objc protocol DetailShowable {
...
Feedback to "The best table view controller"
Apr 8, 2016, 8:05 AM
I got some feedback to my last blog post about The best table view
controller.
In this post I want to comment on the feedback because the comment
sections is not really good for detailed discussion.
Storyboards
I couldn’t get...
The best table view controller (Mar 2016 edition)
Mar 28, 2016, 3:01 PM
Since I read the objc.io post about light view
controller,
every few month I come back to the same problem: find the best way to
write a table view controller. I have tried several different approaches
like putting the data source and...