Top "Protocols" questions

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

What's the best protocol for live audio (radio) streaming for mobile and web?

I am trying to build a website and mobile app (iOS, Android) for the internet radio station. Website users broadcast …

audio streaming protocols shoutcast internet-radio
KVO vs NSNotification vs protocol/delegates?

I have some idea of which to use when but the exact usage is still not clear to me. Can …

iphone ios protocols key-value-observing nsnotifications
Objective C : Given a Class id, can I check if this class implements a certain protocol? Or has a certain selector?

I want to use this for an object factory: Given a string, create a Class, and if this Class supports …

objective-c class protocols objectfactory
Are URIs case-insensitive?

When comparing two URIs to decide if they match or not, a client SHOULD use a case-sensitive octet-by-octet comparison of …

http protocols specifications rfc2616
Why I can't use let in protocol in Swift?

I have a doubt about protocols in Swift about the use of var and the keywords { get set }. From Apple …

ios swift protocols getter-setter swift-protocols
why does java's URL class not recognize certain protocols?

URL u=new URL("telnet://route-server.exodus.net"); This line is generating : java.net.MalformedURLException: unknown protocol: telnet And i …

java url protocols malformedurlexception
Netty Channel closed detection

I am building a server client application using netty and ios, I am facing a problem when the user just …

ios timeout protocols netty
NSNotificationCenter vs delegation( using protocols )?

What are the pros and cons of each of them? Where should I use them specifically?

iphone objective-c delegates protocols nsnotifications
Swift Struct doesn't conform to protocol Equatable?

How do I make a structure conform to protocol "Equatable"? I'm using Xcode 7.3.1 struct MyStruct { var id: Int var value: …

swift struct protocols equatable
tableView:indexPathForCell returns nil

I am using the method tableView:indexPathForCell to implement a custom delegate that can dynamically resize a UITableViewCell based on …

iphone uitableview uiwebview protocols