Swift tuple/arguments quirks are probably one of the things I like less about the language.

Okey, I found the problem:
1. DEFINE in .h
2. Import that .h in the bridging header
3. Use that define in a Swift getter
4. SEGFAULT THE COMPILER
5. PROFIT (or cry)

(tbh maybe is just our big and old project)

(FYI @dgregor79@twitter.com , sorry I don't have time to raise it right now)

Show thread

One of the last things I have to do for the website. Unless Sup! Is enough 😂

Since I'm at that point where I need to verify the relative links of the website, I just made a plugin for it🎉t ti i

One of the best and only games I have on my phone 👌🏻

RT @altosadventure@twitter.com

We’ve decided to make Alto’s Adventure and Alto’s Odyssey available for free for the next week to help anyone who may be practicing social distancing or self-isolation. We hope Alto and the gang can bring a little calm into your homes during these difficult times. 💜

🐦🔗: twitter.com/altosadventure/sta

I'm spending a lot of time on this part of the website but it's something the current version didn't have and I'm happy how it turned out :D

And one thing that is awesome about ST is how it fixes your branch names on the fly. Instead Tower just fails after you confirmed the action.

Show thread

Why do I need many clicks to push an already tracked branch?
Compare it with sourcetree where is a one click from the context menu.

Show thread

Why can't I have a button to create a branch?
The context menu in a branch is too busy to quickly find the correct action.

Show thread

enums backed by Strings seems like a nice way to integrate @fontawesome@twitter.com with a Publish (@johnsundell@twitter.com) site .

Getting there! I finally have one thing I wanted on my web for a while. A page dedicated to Swift. Now I'm free to add more related content :D Publish rulez!

Show thread

Oh the old times 😂

RT @alexito4@twitter.com

A reminder that error handling isn't related to exceptions.
don't let the words throw/catch confuse yu

🐦🔗: twitter.com/alexito4/status/67

And the nice thing is that running from Xcode still generates the website like a default Publish setup. How? Because ArgumentParser lets you specify the default subcommand, and that's what runs from Xcode because there are no arguments set 😉

Show thread

With that done, then I can use the new ArgumentParser to quickly have a full feature command line interface that uses the verbs I want :P

> swift run alejandromp serve
> swift run alejandromp build

🎉

Show thread

Thankfully Publish is very well structured, and there is a target with the core functionality of its CLI: PublishCLICore. So reusing that functionality is very easy!

Show thread

First, in SPM is very easy to point to a local package. So I have a local checkout of Publish. Why? Because I need to make a target public.

Show thread

I guess I’m using Twitter wrong cause for me the Stories of Twitter are tweets ¯\_(ツ)_/¯

RT @kayvz@twitter.com

Fleets are a way to share fleeting thoughts. Unlike Tweets, Fleets disappear after 24 hours and don’t get Retweets, Likes, or public replies-- people can only react to your Fleets with DMs. Instead of showing up in people’s timelines, Fleets are viewed by tapping on your avatar.

🐦🔗: twitter.com/kayvz/status/12352

I really liked the style of this video ^^
The best thing is the message about accessibility: is not a nice to have, is a requirement! 👏🏻

RT @twostraws@twitter.com

New article plus a massive 50-minute video: how to build neumorphic designs with SwiftUI, *including* how to make it accessible to everyone. Full article and video here: hackingwithswift.com/articles/

🐦🔗: twitter.com/twostraws/status/1

Show more
Mastodon for Tech Folks

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!