Ian Leitch's Avatar

Ian Leitch

@ileitch

iOS @ Reddit, author of Periphery: https://github.com/peripheryapp/periphery.

93
Followers
280
Following
8
Posts
15.11.2024
Joined
Posts Following

Latest posts by Ian Leitch @ileitch

It is a little yes, but a string without highlighting can also be difficult to read. It’s not perfect, but I’m learning to it being preferable over a string. Maybe BEGIN/END comments can help distinguish the fixture part.

08.06.2025 12:32 👍 1 🔁 0 💬 0 📌 0
Post image

Neat trick or horrible hack? Using SwiftSyntax to parse a test fixture directly from the test function. The closure passed to 'testAnnotated' is the test fixture, it's never executed. The fixture is type checked and syntax highlighted, much nicer than a string fixture. #swiftlang

08.06.2025 11:12 👍 2 🔁 0 💬 1 📌 0

A lot of companies would pay good money for a tool that can quantify the effectiveness of a test.

28.03.2025 18:56 👍 3 🔁 0 💬 0 📌 0
Preview
GitHub - peripheryapp/periphery: A tool to identify unused code in Swift projects. A tool to identify unused code in Swift projects. Contribute to peripheryapp/periphery development by creating an account on GitHub.

Periphery 3.0 is out! It's much more straightforward to use without needing to list the targets to scan. If you've considered trying it out, now is a great time. github.com/peripheryapp...

If you're upgrading from 2.0, check out the migration guide: github.com/peripheryapp...

#swiftlang

29.12.2024 10:53 👍 7 🔁 1 💬 0 📌 0

I love getting new sponsors on Periphery, even when it’s just a few $. Knowing that someone finds it useful enough to willingly donate gives me a meaningful satisfaction I don’t get often from paid day jobs.

22.11.2024 18:20 👍 0 🔁 0 💬 0 📌 0

I’m disappointed I missed out on the rsvp for this one, it looks like I missed out on some great talks. I need to keep a closer eye on my Meetup notifications!

21.11.2024 13:24 👍 1 🔁 0 💬 1 📌 0

Me: *blinks*
Xcode: Hold my beachball

20.11.2024 19:03 👍 1 🔁 0 💬 0 📌 0
Preview
GitHub - peripheryapp/periphery: A tool to identify unused code in Swift projects. A tool to identify unused code in Swift projects. Contribute to peripheryapp/periphery development by creating an account on GitHub.

OK, I give in. I’ll do an intro.

👋🏻 I’m Ian and I work on the iOS Platform team at Reddit. In my spare time I also develop github.com/peripheryapp.... I’m working on some big changes that I hope to share with you all over the holidays! #SwiftLang

19.11.2024 14:19 👍 15 🔁 1 💬 0 📌 0