Questions tagged as 'protocol'

1
answer

What's the difference in leaving a variable in the protocol marked static or non-static in Swift 4?

I'm learning about protocol s now, and I saw a code snippet in Swift 4 that defines a protocol, below the snippet of code. protocol AnotherProtocol { static var someTypeProperty: Int { get set } } Note that the variable someType...
asked by 11.08.2018 / 22:11
0
answers

Send parameter to URL Protocol

I'm developing a plug-in for a web application where I have to run audios from a particular server, but these audios will run on the user's player (because it has proprietary format audios). The idea was to create a new URL protocol in regedit t...
asked by 23.10.2018 / 22:44