JKCategories

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

Github星跟蹤圖

JKCategories(iOS-Categories)

License MIT 
CocoaPods 
CocoaPods 
Support 
Build Status

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 "<JKCategories/NSArray+JKSafeAccess.h>",

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

onekey import all categories of framework

"JKUIKit.h" or "<JKCategories/JKUIKit.h>",
"JKFoundation.h" or "<JKCategories/JKFoundation.h>",
"JKCoreData.h" or "<JKCategories/JKCoreData.h>",
"JKCoreLocation.h" or "<JKCategories/JKCoreLocation.h>",
"JKMapKit.h"  or "<JKCategories/JKMapKit.h>",
"JKQuartzCore.h"  or "<JKCategories/JKQuartzCore.h>""

onekey import all categories of all frameworks

"JKCategories.h" or <JKCategories/JKCategories.h>,

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.

主要指標

概覽
名稱與所有者shaojiankui/JKCategories
主編程語言Objective-C
編程語言Objective-C (語言數: 2)
平台
許可證MIT License
所有者活动
創建於2014-12-15 01:21:32
推送於2024-05-31 02:54:22
最后一次提交2021-09-30 17:14:20
發布數17
最新版本名稱1.9.3 (發布於 2021-09-30 17:32:13)
第一版名稱iOS-Categories (發布於 2016-05-28 16:52:37)
用户参与
星數3.3k
關注者數130
派生數0.9k
提交數190
已啟用問題?
問題數51
打開的問題數12
拉請求數19
打開的拉請求數3
關閉的拉請求數8
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?