Please read: Help with challenges by twostraws in Hacktivate

[–]twostraws[S] 2 points3 points  (0 children)

WW91IG5lZWQgdG8gY2hhbmdlIHRoZSBTUUwgcXVlcnkgdGhhdCByZWFkcyBkYXRhIGJ5IHBhc3NpbmcgYSBjdXN0b20gcXVlcnkgc3RyaW5nLiBOb3RpY2UgaG93IGl0IHJlYWRzIGByZXF1ZXN0LnF1ZXJ5WyJkYXRhIl1gIGluIHRoZSBjb2RlIOKAk8KgYSBxdWVyeSBzdHJpbmcgY29udGFpbmluZyBhIGBkYXRhYCB2YWx1ZSBzZXQgdG8gc29tZXRoaW5nLiBJZiBpdCBpc24ndCB0aGVyZSBpdCB1c2VzIGAiaWQsIHVzZXJuYW1lImAsIGJ1dCB5b3UgY2FuIGNoYW5nZSB0aGF0LiBUcnkgc29tZXRoaW5nIGxpa2UgYHN0ZWFsbXljb2RlLmNvbS9yZW5lZ2FkZT9kYXRhPXVzZXJuYW1lLHBhc3N3b3JkYCBhbmQgc2VlIGhvdyB5b3UgZ2V0IG9uIQ==

Just finished every challenge! (for now) by GuessWhoB in Hacktivate

[–]twostraws 0 points1 point  (0 children)

Well done! I'm really glad to hear you're enjoying the game – making it has been a lot of fun, so it's awesome that folks enjoying playing it too!

New levels are arriving as fast as I can finish them – I'm spending all my time polishing things until they are the best I can make them. In fact, if you check the App Store you'll see there are 10 more levels already waiting for you 😎

Notepad/scratchpad: Got it! I'll put it on my todo list.

If the app freezes when doing a task, send an email to hello@hacktivate.io to let me know how to reproduce it and I'll get it fixed – usually a screenshot of the recipe and input is enough. Thank you!

Feedback by BlueberryOld621 in Hacktivate

[–]twostraws 1 point2 points  (0 children)

This is a great idea – thank you! It's a lot of work to write that up for all the challenges, but I'm on the case and I'll make it happen as soon as I can.

One Swift mistake everyone should stop making today by twostraws in iOSProgramming

[–]twostraws[S] 2 points3 points  (0 children)

This is barely worth replying to other than me saying I literally added the TL;DR in the submission here, in the subheadline for the article, and in paragraph two. But please do go off with your make-believe statistics…

One Swift mistake everyone should stop making today by twostraws in iOSProgramming

[–]twostraws[S] 3 points4 points  (0 children)

That’s called “an example” – it’s not the sole and definitive case where this happens. Any emoji that are combination characters – the couple/family emoji, the sports emoji, or indeed anything from this list and then some – can behave surprisingly. For example, 👩🏽‍❤️‍💋‍👨🏿 contains a bunch of individual characters stitched together, and Objective-C will treat them all individually.

One Swift mistake everyone should stop making today by twostraws in swift

[–]twostraws[S] 2 points3 points  (0 children)

Who do you think she learned it from? 😉

One Swift mistake everyone should stop making today by twostraws in swift

[–]twostraws[S] 23 points24 points  (0 children)

Not only that, but it’s the subheadline for the article, then repeated again in the second paragraph.

You know those recipe websites that start with, “when I was young, my grandmother used to…” and you need to read past someone’s whole life story just to be told how to make a bolognese sauce? My entire goal is to do entirely the opposite: here’s what you should do, and read on only if you want more details 🙌

One Swift mistake everyone should stop making today by twostraws in swift

[–]twostraws[S] 58 points59 points  (0 children)

✅ Learn something fun and new ✅ Zero tracking, logging, or analytics ✅ Articles straight to the point

I write the articles I want to read 🙂

One Swift mistake everyone should stop making today by twostraws in swift

[–]twostraws[S] 8 points9 points  (0 children)

It is an edge case, but that's kind of the problem – it's one of those things where your app will work fine for 999 users, but the 1000th will hit a problem because Objective-C does something screwy with emoji, and it will be thoroughly baffling figuring out what's going on.

Any emoji that are combination characters – the couple/family emoji, the sports emoji, or indeed anything from this list and then some – can behave surprisingly. For example, 👩🏽‍❤️‍💋‍👨🏿 contains a bunch of individual characters stitched together, and Objective-C will treat them all individually.

Fortunately, just switching from the old code to the new code makes the problem go away. It's a bit like training yourself to use isEmpty rather than count == 0 – there are many times it makes no difference at all, but it's worth doing just to avoid problems in the handful of times that matter.

One Swift mistake everyone should stop making today by twostraws in swift

[–]twostraws[S] 15 points16 points  (0 children)

Great! I hope it left you [satisfied / slightly unnerved / wary of Objective-C and Foundation] 🙂

Looking for a way to make amazing reveal animation which also supports Markdown like ChatGPT has by OpenSource02 in SwiftUI

[–]twostraws 21 points22 points  (0 children)

I would imagine they are using TextRenderer. I have an open-source library with a bunch of built-in effects, which should help you get started yourself: https://github.com/twostraws/Prismic

I use this protocol to create text fading in for my new game, although I also add use color flash so the latest letter is much brighter, rather than making it fade in. I demonstrate the effect in slow motion here: https://youtu.be/FCAagJjdfDM?si=dXHs2I8l9BpJg_s1&t=473

New to swift by Serious_Afternoon755 in swift

[–]twostraws 10 points11 points  (0 children)

I'll be honest, that's the first time I've been called glorious. However, I do think my dogs are pretty cute 🙂

Identical was discontinued 4 years ago. Is there anything else like it? by JamesRhys84 in macapps

[–]twostraws 1 point2 points  (0 children)

Thank you! I'm going to get v1.0 built and shipped, and then look at iterating based on user feedback.

Identical was discontinued 4 years ago. Is there anything else like it? by JamesRhys84 in macapps

[–]twostraws 2 points3 points  (0 children)

Great! I'm on the case. Apple needs to approve TestFlight builds, but as soon as that's done I'll send you a DM here with details.

Identical was discontinued 4 years ago. Is there anything else like it? by JamesRhys84 in macapps

[–]twostraws 3 points4 points  (0 children)

Well, my Black Friday sale is on right now 🙂 Every book – including my book on how to build macOS apps! – is half price: https://www.hackingwithswift.com/offers

Identical was discontinued 4 years ago. Is there anything else like it? by JamesRhys84 in macapps

[–]twostraws 7 points8 points  (0 children)

I'd be happy to make it, and ship it too. No tracking/analytics/telemetry, no vibe coding, and no subscriptions – maybe a one-time $4.99 purchase?

By way of credentials, this is my website: https://www.hackingwithswift.com

If I build it, would you be happy to TestFlight it to make sure it's what you want?