测试已测试 | ✗ |
语言语言 | Obj-CObjective C |
许可 | Apache 2 |
发布最后发布 | 2017年9月 |
由 Ernesto Rivera,Ernesto Rivera 维护。
为 iOS 项目提供便利宏、函数和 API 可用性检查。
NBULog 和 NBUKit 的附加功能曾属于 NBUCore。
用于检测系统版本、设备语言、宽屏设备等的宏。
用于处理/转换 UIInterfaceOrientation
、UIDeviceOrientation
等的函数。
暂时让 Xcode 在使用可能导致旧设备崩溃的新 API 调用时警告你。
// 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>
只需将 pod 'NBUCore'
添加到 CocoaPods 的 Podfile 中。
http://cocoadocs.org/docsets/NBUCore/
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.