Coder Social home page Coder Social logo

jobpassion / ios-nbukit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ca-archived/ios-nbukit

0.0 1.0 0.0 23.08 MB

UIKit and NSFoundation convenience categories and subclasses.

Home Page: http://cyberagent.github.io/iOS-NBUKit

License: Apache License 2.0

Objective-C 98.12% Ruby 0.48% C 0.85% Shell 0.56%

ios-nbukit's Introduction

NBUKit

Platform: iOS Version: 2.4.1 License: Apache 2.0 Dependency Status Build Status

UIKit and NSFoundation convenience categories and subclasses.

Uses NBUCore, supports NBULog.
Image Picker code moved to NBUImagePicker.

Demo

A demo project is included in the repository.

Features

Additions

  • Convenience methods to parse NSArray objets, support subbundles in NSBundle and handle file URLs with NSFileManager.
  • Check properties, retrieve common application directories and save/retrieve values from NSUserDefaults and Keychanin with UIApplication.
  • Programatically send a message through the responder chain with UIResponder.
  • Size/origin setter/getter shortcuts, read-only properties to retrieve a UIView's view, navigation or tab controller.
  • UIButton protocol to freely switch between UIButton and UIBarButtonItem objects.
  • Adjust orientation, crop, resize, flatten, write and read UIImage objects.
  • Scroll a UIScrollView to any edge with/without animation.
  • Retrieve/change system UserAgent, fire JavaScript events and get the HTML title from UIWebView objects.
  • Navigation item IBOutlet and force refresh orientation method for UIViewController's.
  • Show/hide UITabBarController's tab bar.
  • Additional properties, dismiss and pop to view controller and to root controller methods for UINavigationController objects.

UIKit Subclasses

  • Block-based NBUActionSheet and NBUAlertView.
  • NBUBadgeView and NBUBadgeSegmentedControl.
  • Block-based NBUMailComposeViewController that can be initialized with a mailto: URL.
  • Interface Builder-focused NBURefreshControl.
  • NBUTabBarController with customizable position and UITabBar.
  • NBUView with commonInit, and view controller-like view will/did appear/disappear methods.
  • NBUViewController with commonInit and supportedInterfaceOrientations writable property.
  • More...

Installation

For now add the following to your CocoaPods' Podfile:

platform :ios, '5.0'

pod 'NBUKit'

# Optional for dynamic logging
pod 'NBULog'

# Optional for on-device log console
pod 'LumberjackConsole'

Documentation

http://cocoadocs.org/docsets/NBUKit/

##License

Copyright 2012-2014 CyberAgent Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. 
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

ios-nbukit's People

Contributors

ahcbsa avatar bcylin avatar rivera-ernesto avatar samwgoldman avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.