Rename is_valid to isValid

This commit is contained in:
Charlie Qiu
2016-06-09 05:44:18 +08:00
parent 2491224f7d
commit 33a093950e
4 changed files with 14 additions and 6 deletions

View File

@ -36,7 +36,7 @@ class ServerProfileManager: NSObject {
let defaults = NSUserDefaults.standardUserDefaults()
var _profiles = [AnyObject]()
for profile in profiles {
if profile.is_valid() {
if profile.isValid() {
let _profile = profile.toDictionary()
_profiles.append(_profile)
}