Need help with JKCategories?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

shaojiankui
3.2K Stars 949 Forks MIT License 185 Commits 14 Opened issues

Description

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

Services available

!
?

Need anything else?

Contributors list

# 68,809
C
Objecti...
apns
iOS
7 commits
# 59,062
Ruby
iOS
Objecti...
4 commits
# 24,834
Objecti...
iOS
Swift
Xcode
3 commits
# 98,238
Ruby
iOS
Objecti...
1 commit
# 25,050
iOS
Objecti...
macOS
pac
1 commit
# 199,700
iOS
Objecti...
inversi...
HTML
1 commit
# 62,306
Shell
CSS
Objecti...
iOS
1 commit
# 205,742
Ruby
iOS
Objecti...
1 commit
# 205,876
Ruby
iOS
Objecti...
1 commit
# 98,586
Objecti...
cocoapo...
HTML
photobr...
1 commit
# 30,113
iOS
Objecti...
Shell
PHP
1 commit

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 "",

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.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.