Error on selector: #selector

Hi,

My xCode is getting an error whenever I try to use selector: #selector. Has this changed?

Brilliant book (as always) by the way,

Claire

Hi Claire,

What error is caused by what code? The #selector syntax is new for Xcode 7.3 (Swift 2.2).

Hi

I’ve now updated xCode to 7.3 and it works :blush:

Thanks,

Claire

1 Like