---
title: "What is a protocol in iOS?"  
description: "What is a protocol in iOS?"  
author: "Sunil Singh"  
published: 2017-01-02  
updated: 2020-09-19  
canonical: https://www.mindstick.com/interview/23123/what-is-a-protocol-in-ios  
category: "iphone"  
tags: ["iphone", "ios", "iphone sdk"]  
reading_time: 1 minute  

---

# What is a protocol in iOS?

A protocol is similar to an interface from Java. A protocol is a group of related properties and methods that can be implemented by any class.Any class can implement a protocol and other classes can then send messages to that class based on the protocol methods.\

## Answers

### Answer by Sunil Singh

A protocol is similar to an interface from Java. A protocol is a group of related properties and methods that can be implemented by any class.Any class can implement a protocol and other classes can then send messages to that class based on the protocol methods.\


---

Original Source: https://www.mindstick.com/interview/23123/what-is-a-protocol-in-ios

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
