添加代碼註釋的插件時需更改的UDID獲取方法 數組
defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID
NSUrl中存在漢字的解決辦法是:app
urlStr = [urlStr stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
修改系統導航欄上的標題字體樣式字體
self.navigationController.navigationBar.barTintColor = [UIColor colorWithRed:143.0/255.0 green:208.0/255.0 blue:106.0/255.0 alpha:1]; self.navigationController.navigationBar.titleTextAttributes = @{NSForegroundColorAttributeName: [UIColor whiteColor], NSFontAttributeName : [UIFont boldSystemFontOfSize:20]};
本地查找數組中的字符串並存儲到新的數組中url
NSPredicate *predicate = [NSPredicate predicateWithFormat:@"SELF contains [c] %@", filterString]; dataSourceArray = [NSMutableArray arrayWithArray:[dataArr filteredArrayUsingPredicate:predicate]];