I\'m a bit confused. What\'s the difference between protocol A : class { ... } and protocol A{ ... }, and which one we should use in swift?
protocol A : class { ... }
protocol A{ ... }
Or you can type like this
@objc protocol A { ... }
then you can make a weak delegate reference