Swift Studies
  • Swift Studies
  • Introduction Download Standard States OK Script
  • Swift Studies/
  • OysterKit/
    • Introduction
    • Download
    • Standard States
    • OK Script

For Swift developers, new and newer!

Swift Studies

At WWDC 2014 Apple introduced a new programming language, Swift. At this point everyone has exactly zero days experience in Swift. This blog will capture and share our learning, and I hope the learnings of others as we go. 

  • Swift Studies/
  • OysterKit/
    • Introduction
    • Download
    • Standard States
    • OK Script
June 16, 2014

Handling Errors in Swift→

June 16, 2014/ Swift Studies

I was writing a post on my views on handing errors in Swift, but whilst researching other opinions I came across this post, which says it all. 

June 16, 2014/ Swift Studies/ Comment /Source
June 13, 2014

Loading Resources in a Swift Playground

June 13, 2014/ Swift Studies

Did you know you can use any directory (including the playground bundle itself) to get resources from? 

Read More
June 13, 2014/ Swift Studies/ Comment
Playground
June 12, 2014

Regex matching and template replacement operators in Swift

June 12, 2014/ Swift Studies

We loved this Regex playground that provided some regular expression operators for Swift, so much that we tweaked it for performance and added an operator to support template replacement using a tuple of the regular expression  and a string

Read More
June 12, 2014/ Swift Studies/ Comment /Source
June 12, 2014

Observing Properties in Swift

June 12, 2014/ Swift Studies

It's incredibly easy to observe your own variables and properties in Swift. However, we haven't found language level support for observing properties of other classes. Here's an overview of property observing in Swift, together with a solution for observing other classes properties (warning: a little planning is required)

Read More
June 12, 2014/ Swift Studies/ Comment
Language
June 11, 2014

Swift Priorities

June 11, 2014/ Swift Studies

Swift is a work in progress and we've submitted more radars in the last week than in the last year. Not all of them for bugs either, but many for language or tool enhancements we'd like to see. Here's our top five. 

Read More
June 11, 2014/ Swift Studies/ Comment
Commentary, Language
June 10, 2014

Handy Swift Cheat Sheet→

June 10, 2014/ Swift Studies
June 10, 2014/ Swift Studies/ Comment /Source
June 10, 2014

Swift Developers Required; at least one week experience mandatory

June 10, 2014/ Swift Studies

One week in, and what have we learned about Swift? 

Read More
June 10, 2014/ Swift Studies/ Comment
Commentary
June 10, 2014

Enumerating enums in Swift

June 10, 2014/ Swift Studies

Swift doesn't let you enumerate enums by default... we look at why and provide a pattern for doing it

Read More
June 10, 2014/ Swift Studies/ 5 Comments
Language
enum
June 09, 2014

Creating Swift classes with Strings→

June 09, 2014/ Swift Studies

The lack of introspection API makes this tough, but this interesting solution is the best I've seen

June 09, 2014/ Swift Studies/ Comment /Source
June 09, 2014

What Swift means for the Big Nerd Ranch→

June 09, 2014/ Swift Studies

I think the attitude of Apple ecosystem old-timers like BNR and Brent Simmons (see the Swift section in this post) is key. Bravo.

June 09, 2014/ Swift Studies/ Comment /Source
Commentary
  • Previous
  • Next
  • Swift Studies/
  • OysterKit/
    • Introduction
    • Download
    • Standard States
    • OK Script

Swift Studies

FEATURED
Jul 7, 2014 Swift Studies
Jul 7, 2014 Swift Studies
Syntax Highlighting in Swift with OysterKit
Jul 7, 2014 Swift Studies
Jul 7, 2014 Swift Studies

Add syntax highlighting to an NSTextView in Swift in just a few lines of code. 

Jul 7, 2014 Swift Studies
Jul 7, 2014 Swift Studies
Jul 4, 2014 Language Swift Studies
Jul 4, 2014 Language Swift Studies
OysterKit - A Pure Swift Tokenization & Parsing Framework for Mac and iOS
Jul 4, 2014 Language Swift Studies
Jul 4, 2014 Language Swift Studies

I've open sourced our Swift tokenisation and parsing framework (see here, and here for more information on its initial development). I hope you can make use of it, or perhaps even contribute. 

Jul 4, 2014 Language Swift Studies
Jul 4, 2014 Language Swift Studies
Jun 30, 2014 Language Swift Studies
Jun 30, 2014 Language Swift Studies
Adding Meaning to Swift Tuples with Enums
Jun 30, 2014 Language Swift Studies
Jun 30, 2014 Language Swift Studies

Tuples are a powerful addition to the language, but how can you make sure that you don't drown in hard to learn, easily forgettable conditions? Swift's enums provide a light-weight and powerful answer that adds meaning for humans and compiler validation. 

Jun 30, 2014 Language Swift Studies
Jun 30, 2014 Language Swift Studies

@SWIFT_STUDIES

  • Working Around Bugs: OysterKit on XCode 6 Beta 3 http://t.co/xMfGyQsSrZ #swift #swiftlang #xcode
    about 11 hours ago
  • Using OysterKit to define a new tokenizer and view the results on a test string live. https://t.co/20S68vjG75 #swift #swiftlang
    about a day ago

Categories

  • Cocoa (1)
  • SpriteKit (1)
  • XCode (1)
  • Reference (3)
  • Playground (4)
  • Commentary (5)
  • Language (10)

Powered by Squarespace