Post

Replies

Boosts

Views

Activity

Worth implementing other types of sign ins beside Apple's?
Hi, my native iOS app requires user to be logged in to use its features. I implemented a clean and neat sign it with apple. Is it even worth bothering implementing other signs in, like fb, or google? This message is for people using apple sign in as well as other sign in methods, if you could share your rough % of sign in distribution. Thanks, Ald
0
0
501
Apr ’21
Function with different signatures that can't coexist
This code is invalid: func name1() {   func nest1() - Int {     print("nest1")     return 3   }       func nest1() - String {     print("nest2")     return "nest1"   } } both nest1 function can't coexist. But they have a different signature: one is returning an int and the other a string. Aren't functions with different signatures, supposed to be able to coexist?
2
0
472
Apr ’21
Why no need of parenthesis to access nested class?
class One {   func sayOne() {     print("from inside One")   }       class Second {     func saySecond() {       print("from inside second")     }   } } One.Second().saySecond() Why can I access Second class without instantiating One() with parenthesis, when I can't access member function and variables without instantiation with ()?
2
0
422
Mar ’21