{"id":18389303,"url":"https://github.com/rightpoint/rzutils","last_synced_at":"2025-04-07T02:34:14.631Z","repository":{"id":62452480,"uuid":"1404535","full_name":"Rightpoint/RZUtils","owner":"Rightpoint","description":"Rightpoint Commonly Used Tools","archived":false,"fork":false,"pushed_at":"2019-04-15T15:26:46.000Z","size":633,"stargazers_count":122,"open_issues_count":22,"forks_count":22,"subscribers_count":45,"default_branch":"master","last_synced_at":"2024-09-23T10:31:03.972Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Rightpoint.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-02-23T23:33:39.000Z","updated_at":"2022-10-20T22:45:46.000Z","dependencies_parsed_at":"2022-11-01T23:45:47.152Z","dependency_job_id":null,"html_url":"https://github.com/Rightpoint/RZUtils","commit_stats":null,"previous_names":["raizlabs/rzutils"],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rightpoint%2FRZUtils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rightpoint%2FRZUtils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rightpoint%2FRZUtils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rightpoint%2FRZUtils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Rightpoint","download_url":"https://codeload.github.com/Rightpoint/RZUtils/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247583260,"owners_count":20962000,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T01:42:27.846Z","updated_at":"2025-04-07T02:34:09.621Z","avatar_url":"https://github.com/Rightpoint.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RZUtils\n\n[![Version](https://img.shields.io/cocoapods/v/RZUtils.svg?style=flat)](http://cocoadocs.org/docsets/RZUtils)\n[![CircleCI](https://img.shields.io/circleci/project/github/Raizlabs/RZUtils/master.svg)](https://circleci.com/gh/Raizlabs/RZUtils)\n[![License](https://img.shields.io/cocoapods/l/RZUtils.svg?style=flat)](http://cocoapods.org/pods/RZUtils)\n[![Platform](https://img.shields.io/cocoapods/p/RZUtils.svg?style=flat)](http://cocoapods.org/pods/RZUtils)\n\nA collection of helpful utilities and components for iOS development.\n\n## Installation\n\n### CocoaPods\n\nThe podspec for RZUtils is fully segmented into subspecs by directory (effectively one subspec per individual category type or component). See below for examples.\n\n##### All of RZUtils\n\n`pod 'RZUtils'`\n\n##### All Categories\n\n`pod 'RZUtils/Categories'`\n\n##### All Components\n\n`pod 'RZUtils/Components'`\n\n##### All Utilities or Test Utilities\n\n`pod 'RZUtils/Utilities'`\u003cbr\u003e\n`pod 'RZUtils/TestUtilities'`\n\n##### Specific Classes\n\nTo import only a specific category, component, or utility, the subspec should mirror the directory structure.\nFor example:\n\n`pod 'RZUtils/Categories/NSString'`\u003cbr\u003e\n`pod 'RZUtils/Categories/KVO'`\u003cbr\u003e\n`pod 'RZUtils/Components/RZProgressView'`\n\n### Manual Installation\n\nSimply copy the relevant file into your project. If the files import any frameworks, link against those frameworks.\n\n## Categories Overview\n\n### CoreAnimation\n\n- **CAAnimation+RZBlocks**\n\n\tCompletion blocks for `CAAnimation`\n\n### KVO\n\n- **NSObject+RZBlockKVO** \n\n\tKVO with blocks and automatic observer removal on dealloc\n\n### NSDate\n\n- **NSDate+RZExtensions**\n\n\tCommon date manipulations\n\n### NSDictionary\n\n- **NSDictionary+RZExtensions**\n\t\n\tConvenience methods for `NSDictionary` (`NSNull` check, etc)\n\n### NSString\n\n- **NSAttributedString+RZExtensions**\n\t\n\tSimplified attributed string initializer and other utils\n\t\n- **NSString+RZStringFormatting**\n\t\n\tCommon string formatting methods\n\n- **NSString+RZStringSize**\n\n\tReplacement for string sizing methods deprecated in iOS 7.\n    \n    \n### NSUndoManager\n\n- **NSUndoManager+RZBlockUndo**\n\n\tBlock-based interface for undo manager.\n\n### UIAlertView\n\n- **UIAlertView+RZCompletionBlocks**\n\n\tBlock API for `UIAlertView` actions\n\n### UIColor\n\n- **UIColor+RZExtensions**\n\n  UIColor creation utilities\n  \n### UIFont\n\n- **UIFont+RZExtensions**\n\t\n\tFunky fresh font features \n\t\n### UIImage\n\n- **UIImage+RZAverageColor**\n\t\n\tCalculates the average color of a UIImage instance.\n\n- **UIImage+RZResize**\n\t\n\tMethods for resizing an image given an aspect ratio.\n\n- **UIImage+RZSnapshotHelpers**\n\n\tMethod for snapshotting and creating a UIImage from a UIView using iOS7's `drawViewHierarchyInRect`.  Contains a faster version of Apple's image blur method for iOS7 (with view screenshot). iOS7+ only.\n\n- **UIImage+RZSolidColor**\n\n\tCategory on `UIImage` to return a solid color image of a specified size. Especially useful to set a state-dependent background color on `UIButton`, like: `[aButton setBackgroundImage:[UIImage rz_solidColorImageWithSize:CGSizeMake(1.0f, 1.0f) color:[UIColor redColor]]]`.\n\n- **UIImage+RZStretchHelpers**\n\n\tStretch and cap inset methods for `UIImage`   \n\n### UITableViewCell\n\n- **UITableViewCell+RZCellStyling**\n\n\tMethods for styling top, bottom, and middle tableview cells for grouped table views\n\n### UIView\n\n- **UIView+RZAutoLayoutHelpers**\n\n\tCommon code-level autolayout tasks made easier.\n\n- **UIView+RZBorders**\n\n\tBorders on arbitrary sides of any `UIView`\n\n- **UIView+RZFrameUtils**\n\n\tEasy adjustments to `UIView` frames\n\n### UIViewController\n\n- **UIViewController+RZKeyboardWatcher**\n\n\tUtility for scripting animation blocks in response to keyboard appearance/disappearance notifications.\n\n## Components Overview\n\n#### RZAnimatedCountingLabel\n\n`UILabel` subclass that animates its text from one value to another with an optional custom formatting block.\n\n#### RZAbout\n\nA set of utilities for presenting various \"About\" elements such as the \"Built by RZ\" logo and feedback.\n\n#### RZAnimatedImageView\n\nReplacement for `UIImageView`-based animated .png sequences that calls a completion block when the animation is finished. Believe it or not, there is no way to do this otherwise.\n\n#### RZButtonView\n\n`UIControl` subclass that acts like a UIButton but allows the addition and layout of arbitrary subviews.\n\n#### RZCollectionTableView\n\nIs it a Collection View or a Table View? The world may never know... (**Spoiler**: It's a Collection View)\n\n`RZCollectionTableView` is a collection view layout and accompanying collection view and collection view cell subclasses that mimic the class/delegate interface, look, and feel of `UITableView`, with a few added enhancements such as customizable section insets, row spacings, and more.\n\n#### RZCollectionViewAnimationAssistant\n\nUtility for making collection view item insertion/deletion animations easier.\n\n#### RZDelayedOperation\n\nBasic concurrent NSOperation class that takes a block and executes it after a given time interval. Can be cancelled or reset.\n\n#### RZLocationService\n\nCoreLocation made easy.\n\n#### RZProgressView\n\n`UIProgressView` is a little broken in iOS 7.0 (weird glitches when animating and resizing), and very broken in iOS 7.1 (can't set custom images; radar [here](http://www.openradar.me/16113307)). `RZProgressView` is a drop-in replacement that fixes these problems.\n\n#### RZRevealViewController\n\nA basement/reveal menu component. \n\n#### RZSegmentedViewController\n\n`UIViewController` container that uses a segment control to switch between an array of `UIViewControllers`\n\n#### RZSingleChildContainerViewController\n\nA `UIViewController` subclass for managing a single child view controller contained in any subview container of a parent. Useful for keeping one view static while another view contains one of many potential child view controllers. iOS7+ only.\n\n#### RZSplitViewController\n\nExtends the functionality of `UISplitViewController` including allowing it to be presented Modally.\n\n#### RZTelprompt\n\nMakes NSURLRequest phone calls that use telprompt by making a tel request to a static UIWebView, which in turn privately calls telprompt. This gives you the benifits of using telprompt without calling it from UIApplication where it is not specifically supported by Apple.\n\n#### RZViewFactory\n\nExtensions to `UIView` for easily loading a subclass from a XIB file.\n\n#### RZWebviewController\n\n`UIViewController` that manages a web view, with associated chrome.\n\n\n## Utilities Overview\n\n#### RZCommonUtils\n\nUseful macros, mathematical functions, and more.\n\n#### RZDispatch\n\nUseful extensions for working with GCD/libdispatch.\n\n#### RZLogHelper\n\nA header with debug log macros that extend `NSLog`, including verbosity levels.\n\n## Test Utilities Overview\n\nAll utilities within this directory are intended for use in test code ONLY. \n\n#### RZWaiter\n\nA utility for aiding in testing asynchronous operations.\n\n\n## License\n\nRZUtils is distributed under an [MIT License](http://opensource.org/licenses/MIT). See the LICENSE file for more details.\n\n## Contributing\n\nContributions and pull requests are welcome. Please adhere to the following guidelines:\n\n- Please open Pull Requests against the `develop` branch. We periodically coalesce updates into tagged releases with semantic version numbers, which are pushed as podspec updates then merged to master.\n- Ensure that headers are documented using appledoc-style comments. This will allow CocoaDocs to automatically create documentation when the updated podspec is pushed.\n- Aggressively use prefixes (`RZ` for classes, `rz_` for methods) for category methods and class names in order to avoid potential naming collisions.\n  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frightpoint%2Frzutils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frightpoint%2Frzutils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frightpoint%2Frzutils/lists"}