Swift class introspection & generics

Well, for one, the Swift equivalent of [NSString class] is .self (see Metatype docs, though they’re pretty thin). In fact, NSString.class doesn’t even work! You have to use NSString.self. let s = NSString.self var str = s() str = “asdf” Similarly, with a swift class I tried… class MyClass { } let MyClassRef = MyClass.self … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)