Top "Protocols" questions

A common means for (un)related objects to communicate with each other.

What is the equivalent for java interfaces or objective c protocols in swift?

I've been looking in to the new Swift language trying to find what's the equivalent for an interface(in java) …

ios macos interface protocols swift
Cannot find protocol declaration for

I have two objects, both of which are view controllers. The first (Ill call it viewController1) declares a protocol. The …

iphone objective-c ios delegates protocols
What protocol does Google use for Gmail? (not IMAP or POP)

You can access gmail either using the web interface, Google's Android client or using IMAP. As far as I can …

gmail protocols imap gmail-imap
Cast an instance of a class to a @protocol in Objective-C

I have an object (a UIViewController) which may or may not conform to a protocol I've defined. I know I …

objective-c protocols
Registering and using a custom java.net.URL protocol

I was trying to invoke a custom url from my java program, hence I used something like this: URL myURL; …

java url uri protocols
What is the SMPP protocol?

What is the SMPP protocol and how does it work? I've not even seen it yet and have to start …

protocols smpp
Objective-C Protocol Forward Declarations

ObjectProperties.h @protocol ObjectProperties <NSObject> @property (strong, nonatomic) NSString *name; @property (strong, nonatomic) NSDate *date; @property (assign, nonatomic) …

objective-c protocols
ZeroMQ + Protocol Buffers

ZeroMQ FAQ page suggest use of Google's protobuf as a way to serialise message content. Has anyone see a good …

protocols network-protocols zeromq
Why are HTTP proxies able to support protocols like IRC and FTP?

I understand that a SOCKS proxy only establishes a connection at the TCP level while an HTTP proxy interprets traffic …

http proxy protocols socks
Implementing Bittorrent Protocol

I am looking for a tutorial/blog post on how to implement bittorrent protocol step by step. How it works? …

protocols bittorrent