Show newer

Basically all steps of any new project are hard, but coming up with a good name for it is, well, also a step.

Cooper is helping me by chewing on his blanket. On his trampoline. Dude’s got a good life.

Baby steps, but: countries grouped by region, multi-line labels (MUCH easier than I remember this to be just a few years ago). Turns out SVG in UIKit is… not a thing? Skipping flags then.

Swift-milestone achieved: read data from an API (restcountries.eu here) and display it in custom UITableViewCells. 🎉

In learning a new programming language, I find it most difficult to know what to skip and what to take a closer look at. I don’t need to learn what loops and conditionals are for the twentieth time, but I do need to learn how they are different in Swift.

I appreciate that even Apple sometimes leaves some Lorem Ipsum in their teaching documents. 🙈 This one roughly translates to “search for ‘Label’, drag it to the screen and center it”.

I asked Cooper if he wanted to do some pair programming, but so far he’s not into the idea.

Oh this one’s nice! Because the compiler knows that `officeLightState` is a `LightState`, I can switch through the values as `.on` and `.off` instead of having to write `LightState.on` and `LightState.off`. 🙌

Coming from JavaScript, the syntax seems unusual, yet just the kind of “refreshingly different” I am looking for. I was unreasonably excited when they showed off `.filter` and `.map` in the WWDC-video. 🤓

The first day of my three week vacation is also the first day I am digging into Swift and native iOS development. After almost exclusively working in React and React Native for a few years, I need to understand how native app-development is different.

Starting off with Apple’s own documentation:

@preslavrachev @tootapp I signed up using this link, immediately received the code to redeem in TestFlight via email: toot-beta-signup.herokuapp.com

We’re hosting a friend from Australia for the weekend, and she adorably pronounces “Wi-Fi” as if it were a single word.

“Can I have the password to your Whiffy?”

I didn’t know if she was trying to be flirty.

@masterpiece_911 It’s an older HTC One. All these cheap crappy phones shine a bad light on Android though. There might be a “good Android-experience” out there, but I have been burned one too many times now.

It just showed me a random video of two dogs fighting. I do not understand why.

@masterpiece_911 Aaaand just as I write this, it starts playing an ad for a different phone. With audio. Behind an overlay asking me if I enjoy random ads. What is happening.

@masterpiece_911 There’s a feature on this Android test device I cannot seem to turn off. It shows me “news” at random times. Yesterday it told me about someone being raped as soon as I turned it on to deploy our app to it, today it’s people dying after falling off a cliff.

I’ll never “get” Android.

@masterpiece_911 I have a few days of staying-at-home-with-the-dog-vacation coming up, might be time to dig into it then!

How come you wrote Swift? You’re not suddenly an iPhone-person, are you? 😱

@preslavrachev Using the web-interface on macOS for now. What I want most for Mastodon is Tweetbot everywhere.

After having worked in React Native for a few months, I am itching to write a proper native iOS-app in Swift. Oh hey there Mastodon-API, what a nice coincidence.

Show older
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!