Thứ Ba, 25 tháng 6, 2019

Use of unresolved identifier 'dropLast'

Từ Swift 3.0 lệnh
dropLast(inputString)
phát sinh lỗi Use of unresolved identifier 'dropLast'
chuyển thành
String(inputString.dropLast())

Không có nhận xét nào:

Đăng nhận xét