iOS 基础函数解析 - Foundation Functions Reference
来源:互联网 发布:网络歌手 知乎 编辑:程序博客网 时间:2024/06/04 20:04
iOS 基础函数解析 - Foundation Functions Reference
太阳火神的美丽人生 (http://blog.csdn.net/opengl_es)
本文遵循“署名-非商业用途-保持一致”创作公用协议
转载请保留此句:太阳火神的美丽人生 - 本博客专注于 敏捷开发及移动和物联设备研究:iOS、Android、Html5、Arduino、pcDuino,否则,出自本博客的文章拒绝转载或再转载,谢谢合作。
Foundation Functions Reference
Overview
This chapter describes the functions and function-like macros defined in the Foundation Framework.
Functions by Task
Assertions
For additional information about Assertions, see Assertions and Logging Programming Guide.
NSAssert
NSAssert1
NSAssert2
NSAssert3
NSAssert4
NSAssert5
NSCAssert
NSCAssert1
NSCAssert2
NSCAssert3
NSCAssert4
NSCAssert5
NSCParameterAssert
NSParameterAssert
Bundles
For additional information on generating strings files see “Using Strings Files for User-Facing Text” in Internationalization Programming Topics.
NSLocalizedString
NSLocalizedStringFromTable
NSLocalizedStringFromTableInBundle
NSLocalizedStringWithDefaultValue
Byte Ordering
NSConvertHostDoubleToSwapped
NSConvertHostFloatToSwapped
NSConvertSwappedDoubleToHost
NSConvertSwappedFloatToHost
NSHostByteOrder
NSSwapBigDoubleToHost
NSSwapBigFloatToHost
NSSwapBigIntToHost
NSSwapBigLongLongToHost
NSSwapBigLongToHost
NSSwapBigShortToHost
NSSwapDouble
NSSwapFloat
NSSwapHostDoubleToBig
NSSwapHostDoubleToLittle
NSSwapHostFloatToBig
NSSwapHostFloatToLittle
NSSwapHostIntToBig
NSSwapHostIntToLittle
NSSwapHostLongLongToBig
NSSwapHostLongLongToLittle
NSSwapHostLongToBig
NSSwapHostLongToLittle
NSSwapHostShortToBig
NSSwapHostShortToLittle
NSSwapInt
NSSwapLittleDoubleToHost
NSSwapLittleFloatToHost
NSSwapLittleIntToHost
NSSwapLittleLongLongToHost
NSSwapLittleLongToHost
NSSwapLittleShortToHost
NSSwapLong
NSSwapLongLong
NSSwapShort
Decimals
You can also use the class NSDecimalNumber
for decimal arithmetic.
NSDecimalAdd
NSDecimalCompact
NSDecimalCompare
NSDecimalCopy
NSDecimalDivide
NSDecimalIsNotANumber
NSDecimalMultiply
NSDecimalMultiplyByPowerOf10
NSDecimalNormalize
NSDecimalPower
NSDecimalRound
NSDecimalString
NSDecimalSubtract
Exception Handling
You can find the following macros implemented in NSException.h
. They are obsolete and should not be used. See Exception Programming Topics for information on how to handle exceptions.
NS_DURING
NS_ENDHANDLER
NS_HANDLER
NS_VALUERETURN
NS_VOIDRETURN
Managing Object Allocation and Deallocation
NSAllocateObject
NSCopyObject
NSDeallocateObject
NSDecrementExtraRefCountWasZero
NSExtraRefCount
NSIncrementExtraRefCount
NSShouldRetainWithZone
Interacting with the Objective-C Runtime
NSGetSizeAndAlignment
NSClassFromString
NSStringFromClass
NSSelectorFromString
NSStringFromSelector
NSStringFromProtocol
NSProtocolFromString
Logging Output
NSLog
NSLogv
Managing File Paths
NSFullUserName
NSHomeDirectory
NSHomeDirectoryForUser
NSOpenStepRootDirectory
NSSearchPathForDirectoriesInDomains
NSTemporaryDirectory
NSUserName
Managing Ranges
NSEqualRanges
NSIntersectionRange
NSLocationInRange
NSMakeRange
NSMaxRange
NSRangeFromString
NSStringFromRange
NSUnionRange
Uncaught Exception Handlers
Whether there’s an uncaught exception handler function, any uncaught exceptions cause the program to terminate, unless the exception is raised during the posting of a notification.
NSGetUncaughtExceptionHandler
NSSetUncaughtExceptionHandler
Core Foundation ARC Integration
CFBridgingRetain
CFBridgingRelease
Managing Memory
NSAllocateMemoryPages
NSCopyMemoryPages
NSDeallocateMemoryPages
NSLogPageSize
NSPageSize
NSRealMemoryAvailable
NSRoundDownToMultipleOfPageSize
NSRoundUpToMultipleOfPageSize
NSMakeCollectable
Managing Zones
Zones are ignored on iOS and 64-bit runtime on OS X. You should not use zones in current development.
NSCreateZone
NSRecycleZone
NSSetZoneName
NSZoneCalloc
NSZoneFree
NSZoneFromPointer
NSZoneMalloc
NSZoneName
NSZoneRealloc
NSDefaultMallocZone
Copyright © 2014 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2014-04-09
- iOS 基础函数解析 - Foundation Functions Reference
- IOS-foundation基础 NSDictionary
- iOS Foundation 基础框架
- iOS --- 数学函数 Math Functions
- 黑马程序员-iOS基础-Foundation框架基础
- javaScript--arrow functions(箭头函数)解析
- SQL Functions Programmers Reference
- XPath Functions Quick Reference
- IOS学习---OC基础学习(Foundation)
- 黑马程序员-IOS-OC基础-Foundation
- iOS基础(foundation)-数组
- iOS基础(foundation)-字典
- iOS基础(foundation)-反射
- 黑马程序员---iOS基础---Foundation框架
- Brief Intro to Foundation Functions
- php_lang_ref:Language Reference >> Functions >> Anonymous functions
- iOS Foundation
- ios foundation
- 80端口穿透服务之nat端口映射技术实现应用及实际使用示例
- Maven Study Notes 1
- 链表算法六之多项式相加
- 不错的todo建议:应该往todo-list添加什么内容
- 基于QML Pathview的大型游戏英雄联盟-预览界面
- iOS 基础函数解析 - Foundation Functions Reference
- HashMap performance improvements in Java 8
- __stdcall、__cdecl、CALLBACK、WINAPI区别
- 硬件电路的一些常识(由CS8900a学习得到) .
- Linux 系统挂载数据盘
- 到底什么是MVC?
- iOS 基础类解析 - NSData、NSMutableData
- configure: error: ZLib not installed
- 正则