Login
From:
Marcin Krzyżanowski
(Uncensored)
subscribe
Any[Object]
https://blog.krzyzanowskim.com/2018/05/29/any-object/
links
backlinks
Tagged with:
swift
You use Swift AnyObject wrong. Don't use AnyObject as a generics constraint. Don't do "is AnyObject", "as? AnyObject" to check if a variable is a class type. Don't use "AnyObject". Use "class" for a class-only protocol. Use "Any".
Roast topics
Find topics
Find it!