Tyler Johnson (@tjohnson640) profile picture

Code author at @livefront. ❤️ iOS, swift, and design.

Joined March 2013
Although the icon suggests it, shipping an App Clip isn’t as easy as clipping a coupon. Imagine trying to fit three toys from a toddler into a shoebox - it’s more like that. Here’s a checklist along with some tips and tricks to help navigate the journey. link.medium.com/QgRZdWrmLeb
2
Tyler Johnson retweeted
#Android engineers, rejoice! We have an incredibly helpful how-to video - on customizing your API docs with Dokka. In this video you'll find examples, code snippets, etc. Improved API documentation is something we can all get excited about! youtube.com/watch?v=HAj1LEZt…
1
214
Tyler Johnson retweeted
It's not talked about enough, just delete the code. So many things entangled can't track down the bug? Start removing stuff until it works. Might need that snippet of code later in life? It's in the git history, delete it. Unused components/styles/files? See ya.
1
1
4
257
Tyler Johnson retweeted
Just found out that there is actually a way to quickly open a URL that points to a local file/folder when in debugging mode. This should come in handy when debugging on the iOS simulator. 👍🏻
3
25
131
17,868
Tyler Johnson retweeted
iOS devs, make your life a little easier today. In the Terminal, if you enter: alias blast="rm -rf ~/Library/Developer/Xcode/DerivedData" Then in terminal you can type "blast" (or whatever you want to name it), and it'll delete DerivedData. Have a great one!
24
58
9
391
If you’ve ever wondered why some computer programming jobs have such weird titles, like code wizard, consider the scenario where you configure your SSH keys according to the GitHub docs. But Xcode + SPM tells you you’re not authenticated. Obviously the solution is...
2
2
Make sure you’re using SSH keys encrypted using RSA instead of ed25519. Otherwise you’ll get the obvious error message “Authentication failed because no credentials were provided.”
1
1
A analogy for this would be giving your friend a key to your house. They report back “the key doesn’t work”. But the key works for you! You come to find out the truth is your friend is allergic to platinum, but if you’d given them a bronze key, they would’ve gotten in just fine.
2
Tyler Johnson retweeted
Friendly neighborhood reminder to put an autorelease pool inside your looping code if you’re allocating lots of autoreleased memory. 🔁 💥 Brought to you by a day spent tracking down a terrible memory jetsam. 🕵🏻‍♀️ – at San Francisco, CA
5
4
93
Tyler Johnson retweeted
Sorting algorithms. Source: https://teapawt.org/t.co/UFK4ZyJPwg
3
44
1
133
Tyler Johnson retweeted
A helpful way to look at your app’s use of color is to put your device in 🐼 Grayscale! (It’s not just a productivity hack!) This can help you identify areas where you depend only on COLOR to communicate. 🎨 Color is great; however color alone shouldn’t convey important info!
5
24
1
104
📖 New article about improving build-times by moving 3rd party tooling out of off build-phase into processing script! 🚀 Saves few hours per week for each developer 🤯 Saved company thousands of hours in last few years 📝 Full script provided merowing.info/2021/01/improv…
2
9
2
78
How do you know when it’s time to re-evaluate and refactor your SomethingManager or SomethingController into components with more clear responsibilities?
When you’re editing line 17,451 of a .m file, it’s time to rethink your life choices.
1
The countdown to dub dub begins... Happy New Year! 🎊🎈🎉🍻
2
Did you know? Xcode offers some very powerful editing capabilities through multiple cursors 😎 To add a new cursor, just do Control + Shift + Click 👌
9
37
4
203
Write concrete, then extract generics. When you try to write generics first, you may abstract along the wrong axis. "She generally gave herself very good advice (though she very seldom followed it), and sometimes she scolded herself so severely as to bring tears into her eyes."
3
5
42
Tyler Johnson retweeted
🍎💍A tutorial of how to make the Apple activity ring in SwiftUI. sarunw.com/posts/how-to-crea… #iosdev #swiftui #swiftlang
1
3
10
Tyler Johnson retweeted
3 Apple Developer videos about scrolling and animation performance just went live! Lots of new content and under-the-hood details here: 1. Render loop & hitches intro: developer.apple.com/videos/p… 2. Commit hitches: developer.apple.com/videos/p… 3. Render hitches: developer.apple.com/videos/p…
5
120
5
674
Tyler Johnson retweeted
The async/await proposal is accepted! forums.swift.org/t/accepted-… The first of a series of Concurrency proposals coming to Swift Evolution. @dgregor79 put together a dependency graph… (and as @michel_fortin points out, fittingly one of the later tasks got accepted out of order)
2
164
17
551