Swift Icon

Swift

Swift is a modern programming language focused on safety, performance, and expressivity.
20 Stories
All Topics

Matt Gallagher cocoawithlove.com

First impressions of SwiftUI

Matt Gallagher: A little over a month ago, I released CwlViews and then followed up with an article suggesting that Apple might be about to release their own declarative views library. At WWDC this week, they did just that, releasing SwiftUI. This article will look at how SwiftUI’s approach to declarative views compares to CwlViews, why the two approaches differ and what Apple changed to make this possible. I’ll end with some thoughts about how this will affect macOS and iOS development.

read more

Swift github.com

An example to-do list app using SwiftUI (introduced at WWDC 2019)

SwiftUI didn’t get as much air time as the new Mac Pro and its ridiculous (in multiple ways) 6K display, but looking back at Apple’s 2019 announcements, SwiftUI might end up being the most profound of them all. If you want to cut straight to some working code and an XCode project that uses the brand new UI framework, check out the linked repo.

read more

Swift github.com

Fuzzilli – a JavaScript engine fuzzer written in Swift

A (coverage-)guided fuzzer for dynamic language interpreters based on a custom intermediate language (“FuzzIL”) which can be mutated and translated to JavaScript. Not an official Google project, but written and maintained by Google engineer Samuel Groß. The README lays out quite a bit on the concept, implementation, and usage of the fuzzer, but there’s even more to learn in this presentation from Offensive Con 2019 and the associated master’s thesis for which the project was produced.

read more

Swift github.com

An app that makes it easier to find and subscribe to RSS Feeds

I’m logging this not because it’s super-useful in its current form (it is not). I’m logging this not because it’s a good example of a modern Swift app (it may be, I have no idea). Nope. I’m logging FeedCompass because it represents an idea that deserves more attention. Independent websites, loosely stitched together via open protocols, are what make the web great. Yeah, let’s do more of that.

read more

Swift forums.swift.org

Apple is indeed patenting Swift features

Is Apple trying to own paradigms of a computer language or are they trying to keep the patent trolls away? Here’s a link to the patent in question, and here’s the patent’s abstract: In one embodiment, an improved programming system and language for application development is provided that combines elements of the C and Objective-C languages without the constraints imposed by a requirement to maintain compatibility with the C language. The language provides the functionality of the C language compatibility in certain areas to improve the inherent safety of software written in the language. The new language includes default safety considerations such as bounds and overflow checking.

read more

Swift github.com

Mast – a beautiful Mastodon app for iOS

Mobile apps were one of the big discussion points when we talked Mastodon on episode #315 of The Changelog. Here’s one thing Eugen had to say about the subject: Oh, yeah, for some reason I get a lot of questions like “Why isn’t Mastodon on the app store?” and it’s really weird, because there are like a million apps for Mastodon on every app store… They’re just not called Mastodon, because they are developed by third-party developers. Mastodon has a principle - API first, and… Yeah, that’s essentially it - API first. [laughter] Add Mast to the ever-growing list of third-party developers making iOS apps for Mastodon.

read more

InfoQ Icon InfoQ

Smoke – Amazon's new, lightweight server-side framework for Swift

When Apple open sourced Swift, it was only a matter of time before the server-side frameworks started rolling out. Perhaps that time is now? Amazon’s entry is called Smoke, and InfoQ has the deets: Amazon Smoke framework is a new open-source light-weight server-side framework written in Swift and aimed to build REST-like or RPC-like services. Its architecture stresses ease of use and favours a pure-functional programming style for request handlers. Click through for some code snippets and to learn exactly how Smoke is built (hint: they’re using SwiftNIO)

read more

Swift github.com

SwiftNIO – it's like Netty, but written for Swift

Straight outta Cupertino: a low-level tool for building high-performance networking applications in Swift. It particularly targets those use-cases where using a “thread-per-connection” model of concurrency is inefficient or untenable. This is a common limitation when building servers that use a large number of relatively low-utilization connections, such as HTTP servers. Could this be a first step toward Swift-powered servers running all around the globe? Maybe Apple will finally be able to ditch WebObjects… 😉

read more

0:00 / 0:00