Skip to content

Commit 479fc50

Browse files
committed
Merge pull request #2 from jiverson/xcode-6.3
swift 1.2 support: countElements to count
2 parents 41eecbb + e11b32e commit 479fc50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

QRCode/CIColorExtension.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public extension CIColor {
2929
var hexValue: CUnsignedLongLong = 0
3030

3131
if scanner.scanHexLongLong(&hexValue) {
32-
let length = countElements(rgba)
32+
let length = count(rgba)
3333

3434
switch (length) {
3535
case 3:

0 commit comments

Comments
 (0)