• Stars
    star
    115
  • Rank 305,916 (Top 7 %)
  • Language
    Objective-C
  • License
    Apache License 2.0
  • Created almost 12 years ago
  • Updated about 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

NBUCore

Platform: iOS Version: 2.1.0 License: Apache 2.0 Dependency Status Build 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 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.