Slide 37
Slide 37 text
Կ͕ग़ྗ͞ΕΔʁ
let asciiRange = 32...126
var asciiValues: [UInt8] =
[105, 79, 83, 68, 67, 32, 74, 97, 112, 97, 110, 33]
var result = ""
while !asciiValues.isEmpty {
let first = asciiValues.first!
for value in asciiRange {
if value == first {
result.append(Character(UnicodeScalar(value)!))
asciiValues.removeFirst()
}
}
}
print(result)
05
04
03
02
01
00
00:
ͳͥෳࡶʹײ͡Δͷ͔ʁ > ΫΠζ