Nate wrote:
> I have four bool values: topLeft, bottomLeft, topRight, and bottomRight
>
> the following line throws an error:
> let value = Int(topLeft.hashValue) | Int(topRight.hashValue) << 1 |
> Int(bottomLeft.hashValue) << 2 | Int(bottomRight.hashValue) << 3
>
> "Expression was too
Thanks, Slava!
On Tue, Oct 24, 2017 at 3:05 PM, Slava Pestov wrote:
>
>
> On Oct 24, 2017, at 3:05 PM, Nate Birkholz via swift-users <
> swift-users@swift.org> wrote:
>
> Doing a tutorial from RayWenderlich. https://www.
>
> On Oct 24, 2017, at 3:05 PM, Nate Birkholz via swift-users
> wrote:
>
> Doing a tutorial from RayWenderlich.
> https://www.raywenderlich.com/125313/make-game-like-candy-crush-spritekit-swift-part-4
>
>
Doing a tutorial from RayWenderlich.
https://www.raywenderlich.com/125313/make-game-like-candy-crush-spritekit-swift-part-4
I have four bool values: topLeft, bottomLeft, topRight, and bottomRight
the following line throws an error:
let value = Int(topLeft.hashValue) | Int(topRight.hashValue) <<