more swiftish type conversion using _as_ to convert String to NSString