NBUCore
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 UIInterfaceOrientation
s/UIDeviceOrientation
s, 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 9.x devices.
#define __IPHONE_OS_VERSION_SOFT_MAX_REQUIRED __IPHONE_9_0
#import <NBUCore/NBUAvailability.h>
Installation
Simply add pod 'NBUCore'
to your CocoaPods' Podfile.
Documentation
http://cocoadocs.org/docsets/NBUCore/
License
Copyright (c) 2012-2017 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.