• Stars
    star
    122
  • Rank 292,031 (Top 6 %)
  • Language
    Objective-C
  • License
    Other
  • Created over 13 years ago
  • Updated over 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Rightpoint Commonly Used Tools

RZUtils

Version CircleCI License Platform

A collection of helpful utilities and components for iOS development.

Installation

CocoaPods

The podspec for RZUtils is fully segmented into subspecs by directory (effectively one subspec per individual category type or component). See below for examples.

All of RZUtils

pod 'RZUtils'

All Categories

pod 'RZUtils/Categories'

All Components

pod 'RZUtils/Components'

All Utilities or Test Utilities

pod 'RZUtils/Utilities'
pod 'RZUtils/TestUtilities'

Specific Classes

To import only a specific category, component, or utility, the subspec should mirror the directory structure. For example:

pod 'RZUtils/Categories/NSString'
pod 'RZUtils/Categories/KVO'
pod 'RZUtils/Components/RZProgressView'

Manual Installation

Simply copy the relevant file into your project. If the files import any frameworks, link against those frameworks.

Categories Overview

CoreAnimation

  • CAAnimation+RZBlocks

    Completion blocks for CAAnimation

KVO

  • NSObject+RZBlockKVO

    KVO with blocks and automatic observer removal on dealloc

NSDate

  • NSDate+RZExtensions

    Common date manipulations

NSDictionary

  • NSDictionary+RZExtensions

    Convenience methods for NSDictionary (NSNull check, etc)

NSString

  • NSAttributedString+RZExtensions

    Simplified attributed string initializer and other utils

  • NSString+RZStringFormatting

    Common string formatting methods

  • NSString+RZStringSize

    Replacement for string sizing methods deprecated in iOS 7.

NSUndoManager

  • NSUndoManager+RZBlockUndo

    Block-based interface for undo manager.

UIAlertView

  • UIAlertView+RZCompletionBlocks

    Block API for UIAlertView actions

UIColor

  • UIColor+RZExtensions

    UIColor creation utilities

UIFont

  • UIFont+RZExtensions

    Funky fresh font features

UIImage

  • UIImage+RZAverageColor

    Calculates the average color of a UIImage instance.

  • UIImage+RZResize

    Methods for resizing an image given an aspect ratio.

  • UIImage+RZSnapshotHelpers

    Method 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.

  • UIImage+RZSolidColor

    Category 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]]].

  • UIImage+RZStretchHelpers

    Stretch and cap inset methods for UIImage

UITableViewCell

  • UITableViewCell+RZCellStyling

    Methods for styling top, bottom, and middle tableview cells for grouped table views

UIView

  • UIView+RZAutoLayoutHelpers

    Common code-level autolayout tasks made easier.

  • UIView+RZBorders

    Borders on arbitrary sides of any UIView

  • UIView+RZFrameUtils

    Easy adjustments to UIView frames

UIViewController

  • UIViewController+RZKeyboardWatcher

    Utility for scripting animation blocks in response to keyboard appearance/disappearance notifications.

Components Overview

RZAnimatedCountingLabel

UILabel subclass that animates its text from one value to another with an optional custom formatting block.

RZAbout

A set of utilities for presenting various "About" elements such as the "Built by RZ" logo and feedback.

RZAnimatedImageView

Replacement 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.

RZButtonView

UIControl subclass that acts like a UIButton but allows the addition and layout of arbitrary subviews.

RZCollectionTableView

Is it a Collection View or a Table View? The world may never know... (Spoiler: It's a Collection View)

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.

RZCollectionViewAnimationAssistant

Utility for making collection view item insertion/deletion animations easier.

RZDelayedOperation

Basic concurrent NSOperation class that takes a block and executes it after a given time interval. Can be cancelled or reset.

RZLocationService

CoreLocation made easy.

RZProgressView

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). RZProgressView is a drop-in replacement that fixes these problems.

RZRevealViewController

A basement/reveal menu component.

RZSegmentedViewController

UIViewController container that uses a segment control to switch between an array of UIViewControllers

RZSingleChildContainerViewController

A 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.

RZSplitViewController

Extends the functionality of UISplitViewController including allowing it to be presented Modally.

RZTelprompt

Makes 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.

RZViewFactory

Extensions to UIView for easily loading a subclass from a XIB file.

RZWebviewController

UIViewController that manages a web view, with associated chrome.

Utilities Overview

RZCommonUtils

Useful macros, mathematical functions, and more.

RZDispatch

Useful extensions for working with GCD/libdispatch.

RZLogHelper

A header with debug log macros that extend NSLog, including verbosity levels.

Test Utilities Overview

All utilities within this directory are intended for use in test code ONLY.

RZWaiter

A utility for aiding in testing asynchronous operations.

License

RZUtils is distributed under an MIT License. See the LICENSE file for more details.

Contributing

Contributions and pull requests are welcome. Please adhere to the following guidelines:

  • 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.
  • Ensure that headers are documented using appledoc-style comments. This will allow CocoaDocs to automatically create documentation when the updated podspec is pushed.
  • Aggressively use prefixes (RZ for classes, rz_ for methods) for category methods and class names in order to avoid potential naming collisions.

More Repositories

1

BonMot

Beautiful, easy attributed strings in Swift
Swift
3,538
star
2

RZTransitions

A library of custom iOS View Controller Animations and Interactions.
Objective-C
1,877
star
3

Anchorage

A collection of operators and utilities that simplify iOS layout code.
Swift
628
star
4

RZDataBinding

Lightweight KVO-based data binding options.
Objective-C
543
star
5

Eject

An eject button for Interface Builder to generate swift code
Swift
523
star
6

RZCellSizeManager

Dynamic size computation and caching for cells.
Objective-C
242
star
7

Swiftilities

A collection of useful Swift utilities.
Swift
184
star
8

BentoMap

Map Clustering for Swift.
Swift
182
star
9

AndroidDatabaseLibraryComparison

Java
148
star
10

RZBluetooth

Core Bluetooth helper library
Objective-C
136
star
11

Singleton

135
star
12

Parser

112
star
13

RZViewActions

A category on UIView that provides animation structure similar to SKAction from SpriteKit.
Objective-C
103
star
14

ios-template

A `cookiecutter` template for iOS projects
Swift
94
star
15

RaisinToast

A UIWindow subclass used to message information to the users of your app.
Objective-C
83
star
16

FRY

UIKit Integration Library
Objective-C
77
star
17

rust-universal-template

Template for creating Rust libraries with bindings to iOS, Android, WebAssembly and more
Shell
58
star
18

UniversalAdapter

A single adapter implementation for any scrolling view or ViewGroup.
Java
53
star
19

ARKit-CoreML

Utilities and examples for using CoreML in conjunction with ARKit
Swift
47
star
20

RZCollectionList

A framework for dealing with displaying data from Core Data and other sources in UITableViews.
Objective-C
44
star
21

FreshAir-Android

Java
41
star
22

RIGImageGallery

An image gallery view controller designed to work with the Raizlabs Interface Guidelines for iOS
Swift
40
star
23

CardParser

Credit Card Type Parsing for Swift
Swift
40
star
24

Raizlabs-Android-Style

The Raizlabs Android Style Guide
38
star
25

RZAndroidBaseUtils

Base Utility set for Android applications
Java
36
star
26

RZTouchID

Basic TouchID implementation
Objective-C
34
star
27

Griddle

Groovy
34
star
28

Raizlabs-Cocoa-Style

The Raizlabs iOS Style Guide
Objective-C
32
star
29

ViewHolderInflater

31
star
30

android-template

A `cookiecutter` template for Android projects
Kotlin
28
star
31

RZTweenSpirit

Piecewise tweening/animation library for iOS
Objective-C
25
star
32

DebugModule

Java
22
star
33

Shift

A library of custom iOS View Controller Animations and Interactions written in Swift.
Swift
22
star
34

RZVinyl

Stack management, ActiveRecord utilities, and seamless importing for Core Data
Objective-C
21
star
35

Broker

21
star
36

RZDebugMenu

Configurable debug menu for iOS apps
Objective-C
20
star
37

Raze

A supplemental graphics engine for apps
Objective-C
20
star
38

RZImport

Automatic importing of data from NSDictionary to Cocoa objects
Objective-C
18
star
39

Stackable

Supercharged UIStackViews for Swift
Swift
18
star
40

AndroidWebServiceManager

Java
17
star
41

RZIntrinsicContentSizeTextView

Objective-C
17
star
42

RZSafariKeychain

A simple implementation of Safari Keychain
Objective-C
17
star
43

RZSplitViewController

A custom iOS SplitViewController.
16
star
44

FrictionLess

A collection of UX-focused swift components for reducing friction in "user work".
Swift
15
star
45

BoardingPass

A navigation controller interactive pan to push and pop.
Swift
14
star
46

WebServiceManager

13
star
47

ViewState

Small library for lightweight UIView and UIViewController state management on iOS
Swift
12
star
48

Pourcast

JavaScript
12
star
49

SketchyCode

An experimental tool to generate Swift code from Sketch files
Swift
12
star
50

CoreUtils

Java
12
star
51

UniversalFontComponents

A library that allows you to set a custom font in xml for all your TextViews
Java
11
star
52

opencv-swift

OpenCV / Swift Package Manager / XCFramework / Podspec
Ruby
10
star
53

RZNumberPad

Never write a custom number pad from scratch again.
Objective-C
9
star
54

conference-room

Conference room management system
C#
9
star
55

CompoundComponents

Android sample project that shows how to use Compound Components to make reusable UI. Also shows examples for creating reusable UI with the <include> tag and with Fragments.
Java
9
star
56

Geode

Location management made easy.
Swift
8
star
57

RZPoseurWebView

RZPoseurWebView
7
star
58

RZAssert

Useful assertion macros from the fine folks at Raizlabs.
Objective-C
7
star
59

RZEffects

Apply shader effects to UIKit elements.
7
star
60

RZBuildScripts

Xcode command line build script for building/signing/packaging iOS builds
Ruby
7
star
61

ai-discipline-ollama-rag

Python
7
star
62

Actionable

A cleaner delegation pattern for iOS.
Swift
6
star
63

RZOpenGL

Raizlabs OpenGL Library
6
star
64

localizable

Swift command line utility to take a CSV input of strings and output localizable string formats for iOS/macOS and Android.
Swift
5
star
65

RZKeychain

Easy keychain manipulation in iOS
4
star
66

FreshAir

Objective-C
4
star
67

RZLogin

A Reusable Login View Controller.
4
star
68

sample-scrolling-controls-ios

Sample code for a blog post about controls in scroll views on iOS
Swift
4
star
69

RZArrayCandy

Some functional sugar for your NSArrays
4
star
70

RZCollectionTableView

A UICollectionView that behaves like a UITableView
4
star
71

RZMapView

Simple custom mapping for iOS
Objective-C
4
star
72

sample-smart-animated-deselection-ios

Sample code for a blog post on smarter animated deselection on iOS
Swift
4
star
73

sample-float-remapping-ios

Sample code for a blog post on float remapping on iOS
Swift
3
star
74

RZDataManager

An iOS framework for Importing and Managing Data in your App.
3
star
75

slog

A simple logging utility for Swift
Shell
3
star
76

Drafter

Drafter - A nice way to draft up some constraints programmatically
3
star
77

DialogFactory

3
star
78

ios-template-output

For running CircleCI on output of ios-template
Swift
3
star
79

example-xcframework-build

Shell
3
star
80

CtrlZ

3
star
81

RZRadioKit

2
star
82

jss-react-template

Sample JSS React project using the OpenWeather API
JavaScript
2
star
83

RZSpriteTools

A library for creating and managing SpriteKit objects.
2
star
84

viewmodel-inject

Utilizes Dagger to generate a ViewModelProvider.Factory
Kotlin
2
star
85

RZAffirm

Raizlabs Swift Assertion Library
Swift
2
star
86

DataHub

Java
2
star
87

RZSegmentViewController

A customizable View Controller Container that lets you switch between view controllers using a segment control.
2
star
88

RZRevealViewController

RZRevealViewController is a Basement Menu style Containment View Controller.
1
star
89

FlowStacks-iOS-15-Bug

Demonstrating SwiftUI navigation bug in FlowStacks on iOS 15
Swift
1
star
90

maven-releases

1
star
91

PeopleCards

Flashcard game to learn new hire names/faces
JavaScript
1
star
92

AirQualityDashboard-iOS

Air quality dashboard for our BLE AQI device
Swift
1
star
93

RZSequenceController

A view controller container that arranges child view controller in either a horizontal or vertical scrolling flow.
1
star
94

air_quality_bluetooth_le

Bluetooth Low Energy interface for SDS011 APM2.5 air quality sensor
Python
1
star
95

react-native-touch-sensor

Java
1
star
96

RPLogging

Log level settings for iOS, macOS, tvOS, & watchOS
Swift
1
star
97

CustomVisionTools

Useful utilities for training object detection models with Custom Vision.
Python
1
star
98

Azure-Search-Query-Builder

This is a library that uses expression tree parsing to build a parameters object for performing search, suggest, and autocomplete actions with the Azure Search .NET SDK.
C#
1
star