NBUCore 2.1.0

NBUCore 2.1.0

TestsTested
LangLanguage Obj-CObjective C
License Apache 2
ReleasedLast Release Sep 2017

Maintained by Ernesto Rivera, Ernesto Rivera.



NBUCore 2.1.0

  • By
  • CyberAgent Inc. and Ernesto Rivera

Dependency Status

Convenience macros, functions and API availability checks for iOS projects.

NBULog and NBUKit's Additions used to be part of NBUCore.

Features

Macros and Functions

Macros to detect system versions, device idioms, widescreen devices, etc.

Functions to handle/transform UIInterfaceOrientations/UIDeviceOrientations, etc.

Availability

Temporarily make Xcode warn you when using new API calls that may crash on older devices.

// E.g. check for API that may crash on iOS 5.x devices.
#define __IPHONE_OS_VERSION_SOFT_MAX_REQUIRED __IPHONE_5_0
#import <NBUCore/NBUAvailability.h>

Installation

Simply add pod 'NBUCore' to your CocoaPods' Podfile.

Documentation

http://cocoadocs.org/docsets/NBUCore/

License

Copyright (c) 2012-2016 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.