Opinionated Notes on Software Development
  • About
  • Imprint

swift

A collection of 10 posts

swift

Reorder some rows but not all

I'm still writing iOS-apps using Swift and UIKit instead of SwiftUI — I've never been one of those cool kids using the latest tech, and my 100 days of SwiftUI lasted for 33 days

  • Nathan Mattes
    Nathan Mattes
1 min read
100daysofswiftui

100 Days of SwiftUI — Day 22

Today was another challenge day, this means: I had to change some code of the GuessTheFlag-project and answer some questions afterwards. It didn't take a lot of time and right now, on a

  • Nathan Mattes
    Nathan Mattes
1 min read
100daysofswiftui

100 Days of SwiftUI — Day 21

After playing around with colors and gradients yesterday, I just finished the 21st part. I learned about some more modifiers today. For example, adding shadows to elements is pretty easy in SwiftUI. And

  • Nathan Mattes
    Nathan Mattes
1 min read
100daysofswiftui

100 Days of SwiftUI — Day 20

I just finished Day 20 — and it unexpectedly totally brightened my day! Today was the introduction day for the second project. Paul talked about the different stack types in SwiftUI, button, alert — and

  • Nathan Mattes
    Nathan Mattes
1 min read
swift

AsyncOperation

A few days ago, I was working on an app for a client. With this app you can basically see a staff roster, that needs to be downloaded from a server. The REST-API

  • Nathan Mattes
    Nathan Mattes
3 min read
swift

It's self again

Nearly two years ago, I wrote a short piece about self. Since then, a lot has changed: I got fired, found a new job, quit, and found another new job. I'm working from

  • Nathan Mattes
    Nathan Mattes
2 min read
swift

Running Tests in pre-commit hooks and alternatives

A few months ago, I bought myself a fancy MacBook Pro. You know, one of those fancy devices with the fancy TouchBar, a nice Retina screen and a broken-by-default keyboard. And to make

  • Nathan Mattes
    Nathan Mattes
2 min read
swift

isActive = true vs. NSLayoutConstraint.activate

The whole UI of the app, I helped to develop, is written in code. No Storyboards, no XIBs, just Swift. Someone made this decision looooong ago. Nevertheless, we're using AutoLayout, just like every

  • Nathan Mattes
    Nathan Mattes
2 min read
swift

Me, my future self and self

A colleague of mine complained, that I use self too much. In Objective-C, it was everywhere, but he sent me this blogpost and recommended me to use self in Swift sparingly and only

  • Nathan Mattes
    Nathan Mattes
2 min read
swift

preconditionFailure

One of my goals for May 2018 was to finally read The Pragmatic Programmer. I haven't succeeded yet, that's why this year, June was May, Extended Edition and July is June, Extended Edition.

  • Nathan Mattes
    Nathan Mattes
2 min read
Opinionated Notes on Software Development © 2021
Latest Posts Twitter Ghost