timoliver/tocropviewcontroller

A view controller for iOS that allows users to crop portions of UIImage objects

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 41 minutes ago
Added to GitGenius on September 14th, 2026
Created on June 6th, 2015
Open Issues & Pull Requests: 106 (+0)
GitHub issues: Enabled
Number of forks: 1,022
Total Stargazers: 4,949 (+0)
Total Subscribers: 85 (+0)

Repository Insights (GitGenius)

Median issue/PR response: N/A
Mean response time: 30.5 hours
90th percentile: 0.0 hours
Tracked items: 43

Most active contributors

Sign in to see contributor activity.

How this project is maintained

100% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Three people close 100% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 28
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 880 days
Stale 30+ days: 28
Stale 90+ days: 22

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • bug (27)
  • pr requested (10)
  • question (9)
  • feature (6)
  • rfc (6)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

TOCropViewController is a view controller for iOS that allows users to crop and rotate portions of UIImage objects.

The tool addresses the need for in-app image cropping with an interface modeled after the iOS Photos app editor. It presents a modal view controller where users drag grid overlay edges to define crop regions, optionally constrain to specific aspect ratios, and rotate images in 90-degree increments. The cropped result can be returned to a delegate or passed directly to a UIActivityViewController for sharing. The tool supports both circular and rectangular crops, includes a reset button to undo changes, and applies translucency effects to clarify the cropped region during editing.

Developers building iOS apps that require image editing—such as profile picture editors or photo-sharing features—should consider this tool if they need straightforward cropping without heavy customization. The project provides two interfaces: TOCropViewController for Objective-C projects and CropViewController, a native Swift wrapper that offers a more idiomatic API for Swift developers. Installation is flexible, supporting CocoaPods, Swift Package Manager, Carthage, and manual integration. The tool requires iOS 12.0 or above and includes localization for 28 languages. For projects needing advanced capabilities like video editing or photo filters, the README suggests considering alternative solutions.

Development activity shows consistent maintenance with regular updates addressing compatibility and user-reported issues. The project demonstrates responsiveness to community contributions and maintains clear documentation for both Objective-C and Swift adoption paths. Pull requests for visionOS and Mac Catalyst support are welcomed, indicating openness to platform expansion despite these modes not being officially supported.