I just downloaded xcode 7, then did the following:
1. xcrun swift (succesfully starts the swift repl)
2. Simply typed the following:
let x = 1
and then I typed
x.<tab>
(i.e. i typed an x, a period, and then tab, to get completions). Immediately, I get:
Available completions:
advancedBy(n: Distance) -> Int
advancedBy(n: Self.Distance, limit: Self) -> Self
bigEndian: Int
byteSwapped: Int
description: String
distanceTo(other: Int) -> Distance
hashValue: Int
littleEndian: Int
predecessor() -> Int
stride(through: Self, by: Self.Stride) -> StrideThrough<Self>
stride(to: Self, by: Self.Stride) -> StrideTo<Self>
successor() -> Int
toIntMax() -> IntMax
value: Int64
Segmentation fault: 11
Same thing with every kind of completion I've tried. Is this a known issue? any workarounds? seems like tab completion would be awesome for noodling around in a swift repl, just like in Python... if it worked!