Structure 1.0.1 has been released. This release brings minor changes to best practices for Swift. Specifically:
- Audited closures for use of
@noescape
. - Audited parameter
throws
for use ofrethrows
. - Concurrency testing.
Structure 1.0.1 has been released. This release brings minor changes to best practices for Swift. Specifically:
@noescape
.throws
for use of rethrows
.My friends and I enjoy auto racing, and every year, we make the pilgrimage to the Indy 500. This year, one friend wanted a way to determine the average speed of a driver on the track. Instead of stop watches and maths, I decided to write an app to do the work for us.
Approximate Speed is an iOS that, given a fixed distance, can be used to determine the average speed of an object. Check out more information about Approximate Speed, or get it on the App Store.
Before Swift, projects that I worked on used SQLite directly. I could have done the same with Swift, but it felt like I could benefit from writing a wrapper. I used this as a means to teach myself Swift, as well as create something that I could reuse throughout my projects.
Enter Structure! Structure is by no means a complete SQLite wrapper. This framework performs the basic CRUD operations I need, as well as maintain some semblance of thread safety. It also provides simple data access and value transformations.
If you’re curious, check out the GitHub page. There is some simple documentation and lots of tests to get a feel for how the framework works.