[問題] Approximate String Matching

作者: Editoria (Isotopus)   2016-09-22 14:20:57
各位前輩好:
在下練功時遭遇了一個關卡。
前往 Stack Overflow 爬文求解,苦思數日後,原本不甚確定的概念變得更模糊了。
困境說明如下:
.螢幕截圖:http://imgur.com/5jKrVcO
.資料結構:http://imgur.com/5kQvpFo
.現狀:使用 NSString - rangeOfString:options:
搜尋字串時,只能個別在三個 UILabel 進行比對。
http://imgur.com/lVSbF13
.意圖:改用 NSPredicate + predicateWithFormat:
搜尋字串時,能夠同時在三個 UILabel 進行比對。
http://imgur.com/wzgk6BZ(X)
.目標:希望前輩們指引我正確的方向,讓我能夠繼續自行摸索前進。
Thank you for your feedback.

Links booklink

Contact Us: admin [ a t ] ucptt.com