I\'ve been looking in to the new Swift language trying to find what\'s the equivalent for an interface(in java) or a protocol(in objective-c) in Swift, after surfing on the
swift has protocols as well, here is the relevant documentation: