iOS 基础函数解析 - Foundation Functions Reference

Foundation Functions Reference

Framework
Foundation/Foundation.h
Declared in
NSBundle.h
NSByteOrder.h
NSDecimal.h
NSException.h
NSObjCRuntime.h
NSObject.h
NSPathUtilities.h
NSRange.h
NSZone.h

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.

Bundles

For additional information on generating strings files see “Using Strings Files for User-Facing Text” in Internationalization Programming Topics.

Byte Ordering

Decimals

You can also use the class NSDecimalNumber for decimal arithmetic.

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.

Managing Object Allocation and Deallocation

Interacting with the Objective-C Runtime

Logging Output

Managing File Paths

Managing Ranges

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.

Core Foundation ARC Integration

Managing Memory

Managing Zones

Zones are ignored on iOS and 64-bit runtime on OS X. You should not use zones in current development.


Copyright ? 2014 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2014-04-09


iOS 基础函数解析 - Foundation Functions Reference,布布扣,bubuko.com

iOS 基础函数解析 - Foundation Functions Reference

上一篇:iOS 基础类解析 - NSNumber


下一篇:Android Graphics专题(1)--- Canvas基础