PublicExtension's profile picture. A log of handy @SwiftLang extensions curated by @mergesort. DM if you you want to suggest an extension!

Public Extension

@PublicExtension

A log of handy @SwiftLang extensions curated by @mergesort. DM if you you want to suggest an extension!

Pinned

Howdy there new followers. If you're sitting there wondering "what's the best way to consume public extensions?" I would point you to the weekly newsletter. Point → getrevue.co/profile/public…


The ultimate public extension has shipped. Conditional conformances arrive today in Swift 4.1. github.com/apple/swift-ev…


9️⃣6️⃣: Do a little dance, do a little shuffle, make your arrays unordered and bustled. You just can't predict it. github.com/mergesort/Publ…

PublicExtension's tweet image. 9️⃣6️⃣: Do a little dance, do a little shuffle, make your arrays unordered and bustled. You just can't predict it.

github.com/mergesort/Publ…
PublicExtension's tweet image. 9️⃣6️⃣: Do a little dance, do a little shuffle, make your arrays unordered and bustled. You just can't predict it.

github.com/mergesort/Publ…

Just a reminder, I’m always on the hunt for extensions from you fine folks. You can submit suggestions with just one tap.


Public Extension reposted

Another reminder that if you’re an iOS developer and not subscribed to this incredibly smart and handsome newsletter you’re missing out!

9️⃣5️⃣: This week you get not just one, but two extensions on UIColor from the tag team of @thillsman and @jasdev.



9️⃣5️⃣: @jasdev brings us an extension to turn an array of UIColors into CGColors with the benefit of now being able to use implicit member expressions. github.com/mergesort/Publ…

PublicExtension's tweet image. 9️⃣5️⃣: @jasdev brings us an extension to turn an array of UIColors into CGColors with the benefit of now being able to use implicit member expressions.

github.com/mergesort/Publ…
PublicExtension's tweet image. 9️⃣5️⃣: @jasdev brings us an extension to turn an array of UIColors into CGColors with the benefit of now being able to use implicit member expressions.

github.com/mergesort/Publ…
PublicExtension's tweet image. 9️⃣5️⃣: @jasdev brings us an extension to turn an array of UIColors into CGColors with the benefit of now being able to use implicit member expressions.

github.com/mergesort/Publ…

9️⃣5️⃣: @thillsman has a really clever method (or computed variable) to help you get the individual components from a UIColor. github.com/mergesort/Publ…

PublicExtension's tweet image. 9️⃣5️⃣: @thillsman has a really clever method (or computed variable) to help you get the individual components from a UIColor.

github.com/mergesort/Publ…
PublicExtension's tweet image. 9️⃣5️⃣: @thillsman has a really clever method (or computed variable) to help you get the individual components from a UIColor.

github.com/mergesort/Publ…

9️⃣5️⃣: This week you get not just one, but two extensions on UIColor from the tag team of @thillsman and @jasdev.


9️⃣4️⃣: I love this way to initialize UIEdgeInsets. Brought to you by @sharplet, with an assist from @danielpunkass. You can't go wrong with this idea, only .right. github.com/mergesort/Publ…

PublicExtension's tweet image. 9️⃣4️⃣: I love this way to initialize UIEdgeInsets. Brought to you by @sharplet, with an assist from @danielpunkass. You can't go wrong with this idea, only .right.

github.com/mergesort/Publ…
PublicExtension's tweet image. 9️⃣4️⃣: I love this way to initialize UIEdgeInsets. Brought to you by @sharplet, with an assist from @danielpunkass. You can't go wrong with this idea, only .right.

github.com/mergesort/Publ…

Here's something fun. You can now read Public Extension via Apple News. Just tap this link on your iOS device: apple.news/T_WPVyCOgQ0qZW… How dope is that?


A terrific improvement to extension #9️⃣1️⃣ brought to you by @rolandleth. Now you can avoid wrapping an extra set of brackets around your collection subscript and instead just call someCollection[1, 2, 4, 8]. github.com/mergesort/Publ…

PublicExtension's tweet image. A terrific improvement to extension #9️⃣1️⃣ brought to you by @rolandleth. Now you can avoid wrapping an extra set of brackets around your collection subscript and instead just call someCollection[1, 2, 4, 8].

github.com/mergesort/Publ…

9️⃣3️⃣: @khanlou will help you solve one of the one biggest problems in computer science, the off by one error with his Sequence extension. github.com/mergesort/Publ…

PublicExtension's tweet image. 9️⃣3️⃣: @khanlou will help you solve one of the one biggest problems in computer science, the off by one error with his Sequence extension.

github.com/mergesort/Publ…
PublicExtension's tweet image. 9️⃣3️⃣: @khanlou will help you solve one of the one biggest problems in computer science, the off by one error with his Sequence extension.

github.com/mergesort/Publ…

P.P.S. And a gif for you if you’re more of a dog person.


P.S. Here is a gif. I love this kitten.


Coda: Submit extensions.


Loading...

Something went wrong.


Something went wrong.