ShrinkPresentation
A way to shrink the previous view controller when presenting a new one modally.
Install / Use
/learn @GuiminChu/ShrinkPresentationREADME
ShrinkPresentation
ShrinkPresentation makes it easy to shrink the previous view controller when presenting a new one modally.
Screenshot

Requirements
- iOS 8.0+
- Xcode 7
Integration
CocoaPods (iOS 8+)
You can use Cocoapods to install ShrinkPresentationby adding it to your Podfile:
platform :ios, '8.0'
use_frameworks!
target 'MyApp' do
pod 'ShrinkPresentation', '~> 0.1.2'
end
Manually (iOS 8+)
Clone the repo and add files under Source folder to your project.
Usage
Make your presented view controller as a subclass of ShrinkViewController and present it as usual.
import ShrinkPresentation
class MenuViewController: ShrinkViewController {
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view.
}
}
License
ShrinkPresentation is released under the MIT license. See LICENSE for details.
Related Skills
node-connect
341.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
341.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.4kCommit, push, and open a PR
