Show more

Splash + NSTextView = Super fast & lightweight Swift editor ❀️

Maybe this should be my next project? πŸ˜€

With Splash I'm also trying out the idea of a 100% PR-focused open source workflow, without GitHub issues πŸ‘ It'll be an experiment for sure, but I have high hopes πŸ˜€

Here's the initial version of the workflow I have in mind for bugs & feature requests: github.com/JohnSundell/Splash/

Would love to hear your feedback πŸ™‚

Introducing Splash - a fast, lightweight & flexible Swift syntax highlighter! πŸŽ¨πŸš€

🌍 Turn Swift code into syntax highlighted HTML for blog posts
πŸ–Ό Generate highly accurate Swift code images
πŸ›  Use it to build custom dev tools, editors or automation

I've had so much fun working on this and I'm so excited to share it with you - hope you like it! πŸ˜€

github.com/JohnSundell/Splash

Have recorded three podcast episodes in the last 7 days πŸ˜… When I started I had no idea whether I’d be able to keep making new episodes consistently, but here we are - just 1 year later πŸ˜€ Doing my 2 shows is by far my favorite part of my work right now 😊

Want to see my new Swift syntax highlighter in action? πŸ˜€

I've published a version of "Model controllers in Swift" that uses it - check it out and let me know what you think πŸ‘ I'm planning to open source the syntax highlighter tomorrow! πŸš€

swiftbysundell.com/syntax-high

Empathy is not only a way to be nice, it's a really powerful skill. Anyone can say "That's terrible", or "This is stupid" - but those who challenge themselves to understand other people's contexts & decisions almost always come up with more constructive solutions much quicker πŸ™‚

A new episode of Stacktrace is out! πŸŽ™πŸŽ‰

Will there finally be a new Mac Mini, how do me & @_inside usually approach prototyping & updating apps to new versions of iOS, will Mac widgets ever make a return and do 3rd party Twitter apps have a future? πŸ€”

overcast.fm/+MVcXhirlc

Fine tuning my new Swift syntax highlighter - which can be used to highlight code for a blog post or to generate code images (like this one) πŸ˜€

I've decided that I'm going to open source it! I've had way too much fun working on this to keep it to myself πŸ˜… Coming this week! πŸš€

This week's blog post: "Model controllers in Swift" πŸš€

How model controllers can be a great way to encapsulate shared model logic πŸ‘ This is a post I've wanted to write for quite a while, hope you like it! πŸ˜€

swiftbysundell.com/posts/model

New podcast episode, with special guest Sean Allen! πŸš€

We give our top tips about:
πŸ‘¨β€πŸ’» Sharing content like blog posts & videos
πŸ‘©β€πŸ« Teaching & mentoring
πŸ‘ Giving feedback
😬 Interviewing
πŸ‘¨β€πŸŽ¨ Hobby projects

swiftbysundell.com/podcast/30

Been working really hard on some exciting new projects the last few weeks. If all goes according to plan it looks like I’ll release 4 new projects before the end of the year, all 100% free and accessible to everyone in the community 😊 First one should be ready next week πŸš€

While it's very common in functional programming, the "reduce" function might be a bit of a hidden πŸ’Ž in Swift. It provides a super useful way to transform a sequence into a single integer value πŸ‘

More about transforming collections:
swiftbysundell.com/posts/trans

Some very common reasons that I write code:

πŸ‘¨β€πŸŽ“ To learn a new pattern, tool or technique
πŸ‘©β€πŸ”¬ To experiment with a new idea
πŸ€” To check if something is even possible
πŸƒβ€β™‚οΈ To test my own skills & limits
😊 For fun

Not all the code we write has to be for production πŸ‘

When I use Codable in Swift, I want to avoid manual implementations as much as possible, even when there's a mismatch between my code structure and the JSON I'm decoding.

One way that can often be achieved is to use private data containers combined with computed properties πŸ‘

Hi everyone! πŸ‘‹ Here I'm planning to cross-post all of my tweets (once I get that set up πŸ˜…), so if you'd rather use Mastodon than Twitter then feel free to follow me here instead πŸ™‚

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!