# MCPanelViewController

> MCP Client

MCPanelViewController is a drop-in panel control for iOS that provides blurring backgrounds and screen-edge activation gestures. It allows developers to easily implement sliding panels in their iOS applications with customizable

## Overview

- **Category:** Developer Tools
- **Language:** Objective-C
- **Stars:** 319
- **Forks:** 25
- **Owner:** matthewcheok
- **GitHub:** https://github.com/matthewcheok/MCPanelViewController
- **Created:** 2013-10-03T06:18:24+00:00
- **Updated:** 2025-01-17T15:58:40+00:00
- **Source:** https://model-context-protocol.com/clients/ios-sliding-panel-blur-edge-gestures

## Setup

## Setup
Add the following to your [CocoaPods](http://cocoapods.org/) Podfile:

    pod 'MCPanelViewController'

or clone as a git submodule, or just copy files in the ```MCPanelViewController``` folder into your project.

## Tools

## Available Tools

1.  Drop-in panel control (for iOS with blurring background and screen-edge activation gestures).
2.  Programmatic panel presentation (using `presentInViewController:withDirection:`).
3.  Convenience method on `UIViewController` (for panel instantiation and presentation).
4.  Panel width adjustment (using `preferredContentSize`).
5.  Panel dismissal (using `dismiss`).
6.  Background masking control (using `masking` property).
7.  Pan gesture control (using `panningEnabled` property).
8.  Background style customization (using `backgroundStyle` and `tintColor` properties).
9.  Screen edge gesture configuration (using convenience methods on `UIViewController`).
