Skip to content

Commit

Permalink
Merge pull request #2 from jiverson/xcode-6.3
Browse files Browse the repository at this point in the history
swift 1.2 support: countElements to count
  • Loading branch information
aschuch committed Mar 25, 2015
2 parents 41eecbb + e11b32e commit 479fc50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion QRCode/CIColorExtension.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public extension CIColor {
var hexValue: CUnsignedLongLong = 0

if scanner.scanHexLongLong(&hexValue) {
let length = countElements(rgba)
let length = count(rgba)

switch (length) {
case 3:
Expand Down

0 comments on commit 479fc50

Please sign in to comment.