Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/shaojiankui/JKCategories

JKCategories(iOS-Categories,Category), a collection of useful Objective-C Categories extending iOS Frameworks such as Foundation,UIKit,CoreData,QuartzCore,CoreLocation,MapKit Etc.
https://github.com/shaojiankui/JKCategories

categories category extensions ios ios-categories jkcategories objective-c

Last synced: 3 months ago
JSON representation

JKCategories(iOS-Categories,Category), a collection of useful Objective-C Categories extending iOS Frameworks such as Foundation,UIKit,CoreData,QuartzCore,CoreLocation,MapKit Etc.

Awesome Lists containing this project

README

        

JKCategories(iOS-Categories)
================
[![License MIT](https://img.shields.io/badge/license-MIT-green.svg?style=flat)](https://raw.githubusercontent.com/shaojiankui/JKCategories/master/LICENSE) 
[![CocoaPods](http://img.shields.io/cocoapods/v/JKCategories.svg?style=flat)](http://cocoapods.org/?q=JKCategories) 
[![CocoaPods](http://img.shields.io/cocoapods/p/JKCategories.svg?style=flat)](http://cocoapods.org/?q=JKCategories) 
[![Support](https://img.shields.io/badge/support-iOS%206%2B%20-blue.svg?style=flat)](https://www.apple.com/nl/ios/) 
[![Build Status](https://travis-ci.org/shaojiankui/JKCategories.svg?branch=master)](https://travis-ci.org/shaojiankui/JKCategories)

JKCategories(iOS-Categories), a collection of useful Objective-C Categories extending iOS Frameworks such as Foundation,UIKit,CoreData,QuartzCore,CoreLocation,MapKit Etc.

## Requirements
This library requires `iOS 7.0+` and `Xcode 8.0+`.

## Installation

### Installation with CocoaPods
when you will use the all Categories:

platform :ios
pod 'JKCategories'

when you will use the some one type framework lib,such as `Foundation`:

platform :ios
pod 'JKCategories/Foundation'

when you will use a more detailed class type lib, in some one type framework lib,such as `Foundation's NSDictionary`:

platform :ios
pod 'JKCategories/Foundation/NSDictionary'

you will find all sublib with `pod search JKCategories` or Podfile or in the project folder hierarchy
### Manually

Copy JKCategories or some specific class file to your project

## Usage
import the header file into any class where you wish to make use of the functionality such as

#import "NSArray+JKSafeAccess.h" or "",

Not recommended for import all the header files of JKCategories into pch or baseclass

#### onekey import all categories of framework

"JKUIKit.h" or "",
"JKFoundation.h" or "",
"JKCoreData.h" or "",
"JKCoreLocation.h" or "",
"JKMapKit.h" or "",
"JKQuartzCore.h" or """

#### onekey import all categories of all frameworks

"JKCategories.h" or ,

## Content
### Foundation
* NSArray
* NSBundle
* NSData
* NSDate
* NSDateFormatter
* NSNotificationCenter
* NSDictionary
* NSException
* NSFileManager
* NSIndexPath
* NSNumber
* NSObject
* NSSet
* NSString
* NSTimer
* NSURL
* NSUserDefaults
* NSHTTPCookieStorage
* NSFileHandle
* NSRunLoop
* NSURLRequest
* NSOperation
* NSInvocation
* NSURLConnection
* NSURLSession

### UIKit
* UIAlertView
* UIApplication
* UIBarButtonItem
* UIBezierPath
* UIButton
* UIColor
* UIFont
* UIControl
* UIDevice
* UIImage
* UIImageView
* UILable
* UINavigationBar
* UINavigationController
* UINavigationItem
* UIResponder
* UIScreen
* UIScrollView
* UISearchBar
* UISplitViewController
* UITableView
* UITableViewCell
* UITextField
* UITextView
* UIView
* UIViewController
* UIWebView
* UIWindow
* UIPopoverController
* UICollectionView

### QuartzCore
* CALayer
* CAMediaTimingFunction
* CAAnimation
* CAShapeLayer
* CATransaction

### CoreData
* NSManagedObjectContext
* NSFetchRequest
* NSManagedObject
* NSPersistentStoreCoordinator

### CoreLocation
* CLLocationManager
* CLLocation

### MapKit
* MKMapView

## License

JKCategories is available under the MIT license.