Tarun Tyagi

5个库

活动

活动是 UIView 子类,可以创建自定义的加载指示器。* 模仿 App Store 和音乐中的 Apple 加载指示器。/em>

许可证:MIT

  • Objective-C

AssetPicker

AssetPicker 是 UIViewController 子类,提供了一种针对标准 UIImagePickerController 的替代解决方案。亮点包括:

                * Have both modes within single screen (Use Library or Use Camera).
                * Select Multiple Assets (Photos / Videos).
                * Browse all the albums within one screen.
                * Filters :- Photos(Default), Videos, All
                * Supports Portrait & Landscape Modes. (Autorotation supported (UIInterfaceOrientationMaskAllButUpsideDown))
                * Uses Blocks for completion & cancel (Maintains integrity of code)
                * Provides original ALAsset in returned response. (Better use it's properties)
                * Provides ContentsURL for both Photos & Videos. (No UIImage directly, memory issues with multiple selection)
                * Considers standard TabBarHeight and leaves space for that if set YES.
                * Set Maximum Limits Independently on Photos, Videos, Assets.

许可证:MIT

  • Objective-C

ClearTextLabel

ClearTextLabel 是 UILabel 子类,创建一个带有透明文本的标签。ClearTextLabel 以透明方式绘制提供的文本。

                * It uses CoreGraphics Context to draw the letters' CGPath.
                * Letters' CGPath, how ? Well what's CoreText there for ?

许可证:MIT

  • Objective-C

RateView

RateView 是 UIView 子类,可以创建包含评分星星的自定义评分视图。它以百分比填充方式填充星星。它可以用于 - * 显示项目的评分 canRate = NO OR * 实际上提供用户对任何产品或项进行评分的机会 canRate = YES。

许可证:MIT

  • Objective-C

开关

Switch 是 UIControl 子类,可以使用提供的图像创建类似于 UISwitch 的控件。

                * Switch uses the image and visible width combination to toggle between states.
                * You can provide cornerRadius of your choice to make it appear roundedCorner style or any other.

许可证:MIT

  • Objective-C