Happy Thursday! I’ll start this edition talking about npm 🙃. One open source package was transferred to someone else, who released a new version which had some malware code in it. It’s very interesting to read the whole thread (although a bit long), and see people’s reactions. It’s also a nice group effort of developers working together to figure out what the malware code does and how to undo it. It’a also very good to think about the responsibilities an open source developer has. And last but not least, it’s a good opportunity to think again about the deeper implications of using 3rd party libraries. Don’t get me wrong, I’m pro using 3rd party libraries, and I don’t like reinventing the wheel. But each of us has to take a decision on this, and it’s ok if that’s pro using 3rd party dependencies, and it’s ok if it’s against that, and it’s also ok if it’s different for each project we work on. But it has to be a conscious decision, and one for which each of us takes responsibility. It’s also a good time to read again When to Avoid Libraries.
In other news, Apple announced an entrepreneur camp for organizations founded or lead by women. It’s great to see big companies try to support diversity in our industry.
And lastly, iOS Goodies was “highly commended” in the Best Newsletter section of the Swift Community Awards. Congrats to the winners and to all the nominees. And if you haven’t already, check out all the nominees, the list is full of goodies 😁
- Server-side Swift: Making Canopy by @mxcl
- A few Swift tricks that you might not know, by MikePT28
- Debouncing in Swift while your iOS app is in the background by @bellebcooper
- Test doubles in Swift: dummies, fakes, stubs, and spies., by @mokagio
- NS for iOS Devs – Concurrency, by @candostEN
- How to use @dynamicCallable in Swift, by @twostraws
- Restoring Your UI With State Restoration, by @dagostin
- Unit testing view controller memory leaks, by @igorkulman
- When to use UserDefaults, Keychain, or Core Data, by @soulchildpls
- simctl, by @mattt
- Komondor – Git Hooks for Swift projects 🐩, by @orta
- RichTextView – iOS Text View (UIView) that Properly Displays LaTeX, HTML, Markdown, and YouTube/Vimeo Links, by @tophat