Swift Studies
  • Swift Studies
  • Introduction Download Standard States OK Script
  • Swift Studies/
  • OysterKit/
    • Introduction
    • Download
    • Standard States
    • OK Script
    • Siti Non Aams
    • Sites Not Registered With Gamstop
    • Non Gamstop Casinos UK
    • Non Gamstop Casinos UK
    • Non Gamstop Casinos

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 05, 2014

When Swift arrays aren't Swift arrays

June 05, 2014/ Swift Studies

A quick read of the Swift documentation tells us that Swift arrays must contain objects of the same type, so this would generate an error:

let myArray = ["String 1",1]

But something that caught me out was that when you import the Cocoa framework, Swift uses NSArray instead, which is full of AnyObject, and the above will compile and run just fine. What makes this a real gotcha (or at least, did for me) is that by default playgrounds import Cocoa at the top. 

Great finds

  • Casino Non Aams
  • Casino Online Migliori
  • Non Gamstop Casinos
  • UK Casinos Not On Gamstop
  • Betting Sites
  • Casino Not On Gamstop
  • Casino Non Aams Legali
  • Nouveau Site De Paris Sportif
  • UK Casino Not On Gamstop
  • Sports Betting Sites Not On Gamstop UK
  • Best Casinos Not On Gamstop UK
  • Non Gamstop Casinos
  • Non Gamstop Casinos
  • Online Casino Sin Licencia
  • Casino Sites UK
  • Casino Online Italia
  • UK Casino Sites Not On Gamstop
  • Gambling Sites Not On Gamstop
  • Casinos En Ligne
  • Non Gamstop Casinos
  • Non Gamstop Casino UK
  • Best Non Gamstop Casino
  • Slots Not On Gamstop
  • Non Gamstop Casino Sites UK
  • Casino Sites Not On Gamstop
  • Casino Sites Not On Gamstop
  • Sites De Paris Sportifs Belgique
  • Casino En Ligne Fiable
  • Casinos En Ligne Fiable
  • Nouveau Casino En Ligne 2026
June 05, 2014/ Swift Studies/ Comment
Reference
  • Loading a Swift dictionary from a ...
  • Ray Wenderlich's Swift syntax cheat ...
  • Swift Studies/
  • OysterKit/
    • Introduction
    • Download
    • Standard States
    • OK Script

Swift Studies

FEATURED
Jul 18, 2014 Swift Studies Comment
Jul 18, 2014 Swift Studies Comment
Swift Syntax Colouring Framework (Updated)
Jul 18, 2014 Swift Studies Comment
Jul 18, 2014 Swift Studies Comment

It's 98.7% faster, and you can now interactively define your syntax colouring scheme for any language using the Tokenizer demonstration app. OysterKit is beginning to get useful.  

Jul 18, 2014 Swift Studies Comment
Jul 18, 2014 Swift Studies Comment
Jul 14, 2014 Language, Commentary Swift Studies 7 Comments
Jul 14, 2014 Language, Commentary Swift Studies 7 Comments
Method Swizzling in Swift
Jul 14, 2014 Language, Commentary Swift Studies 7 Comments
Jul 14, 2014 Language, Commentary Swift Studies 7 Comments

So you think you can't Swizzle in Swift (or do a Swift Swizzle, not sure which is right)? Think again. 

Jul 14, 2014 Language, Commentary Swift Studies 7 Comments
Jul 14, 2014 Language, Commentary Swift Studies 7 Comments
Jul 9, 2014 Swift Studies Comment
Jul 9, 2014 Swift Studies Comment
Learning about Swift Performance
Jul 9, 2014 Swift Studies Comment
Jul 9, 2014 Swift Studies Comment

Swift is very young... does its performance have a significant impact on your code's performance? Do we need to wait until they tune the compiler? SPOILER ALERT: No, it's your fault dummy. 

Jul 9, 2014 Swift Studies Comment
Jul 9, 2014 Swift Studies Comment

@SWIFT_STUDIES

  • OK. Bit excited #AppleLive
    about a month ago
  • RT @swiftLDN:  T-minus 9 hours and counting 🚀 http://t.co/dpEey3q44s
    about a month ago

Categories

  • Cocoa (1)
  • SpriteKit (1)
  • XCode (1)
  • Reference (3)
  • Playground (4)
  • Commentary (6)
  • Language (11)

Powered by Squarespace