iOS 基础函数解析 - Foundation Functions Reference

iOS 基础函数解析 - Foundation Functions Reference

太阳火神的美丽人生 (http://blog.csdn.net/opengl_es)

本文遵循“署名-非商业用途-保持一致”创作公用协议

转载请保留此句:太阳火神的美丽人生 -  本博客专注于 敏捷开发及移动和物联设备研究:iOS、Android、Html5、Arduino、pcDuino,否则,出自本博客的文章拒绝转载或再转载,谢谢合作。

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

时间: 2024-07-29 23:04:38

iOS 基础函数解析 - Foundation Functions Reference的相关文章

《慕客网:IOS基础入门之Foundation框架初体验》学习笔记 <五> NSDicionary + NSMutableDictionary

1 int main(int argc, const char * argv[]) { 2 @autoreleasepool { 3 //字典, 存储的内存不是连续的 用key和value进行对应(键值) 4 //kvc 键值编码 5 NSDictionary *dic = [NSDictionary dictionaryWithObject:@"1" forKey:@"a"]; 6 NSLog(@"%@",dic);//以上的方法是不常用的 7

PHP基础知识之————匿名函数(Anonymous functions)

  匿名函数(Anonymous functions),也叫闭包函数(closures),允许 临时创建一个没有指定名称的函数.最经常用作回调函数(callback)参数的值.当然,也有其它应用的情况. 创建闭包 Example #1 匿名函数变量赋值示例(http://laravelacademy.org/post/4341.html) <?php $fun = function($name){ printf("Hello %s\r\n",$name); }; echo $fu

IOS中Json解析实例方法详解(四种方法)_IOS

作为一种轻量级的数据交换格式,json正在逐步取代xml,成为网络数据的通用格式. 有的json代码格式比较混乱,可以使用此"http://www.bejson.com/"网站来进行JSON格式化校验(点击打开链接).此网站不仅可以检测Json代码中的错误,而且可以以视图形式显示json中的数据内容,很是方便. 从IOS5开始,APPLE提供了对json的原生支持(NSJSONSerialization),但是为了兼容以前的iOS版本,可以使用第三方库来解析Json. 本文将介绍Tou

【Alljoyn】Alljoyn学习笔记五 AllJoyn开源技术基础概念解析

AllJoyn开源技术基础概念解析 摘要: 总线(Bus) 实现P2P通信的基础 AllJoyn 的底层协议类似于D-Bus,相当于是跨设备分布式的 D-Bus 总线附件(Bus Attachment) 每一个连接到总线上的Alljoyn应用程序被称为总线附件,可用C++或Java编写 每个总线附件 ... 总线(Bus) 实现P2P通信的基础 AllJoyn 的底层协议类似于D-Bus,相当于是跨设备分布式的 D-Bus总线附件(Bus Attachment) 每一个连接到总线上的Alljoy

IOS基础学习UIButton使用详解

  UIButton按钮是IOS开发中最常用的控件,作为IOS基础学习教程知识 ,初学者需要了解其基本定义和常用设置,以便在开发在熟练运用. 第一.UIButton的定义 UIButton *button=[[UIButton buttonWithType:(UIButtonType); 能够定义的button类型有以下6种, typedef enum { UIButtonTypeCustom = 0, 自定义风格 UIButtonTypeRoundedRect, 圆角矩形 UIButtonTy

c语言-C语言 PCRE正则表达式 函数解析

问题描述 C语言 PCRE正则表达式 函数解析 求指教:PCRE库函数中,pcre_exec()的返回值是什么意思? *ovector数组的元素又是代表什么意 解决方案 int pcre_exec(const pcre *code, const pcre_extra *extra, const char *subject, int length, int startoffset, int options, int *ovector, int ovecsize) pcre_exec()返回匹配串的

JavaScript基础函数整理汇总_基础知识

这里给大家整理汇总了一些javascript的基础函数,都是比较常用和实用的.整理出来也有助于大家更好的理解javascript. 复制代码 代码如下: <script type="text/javascript">     /*创建函数和字面量函数*/     /*         function add(){             alert("函数创建成功")         };         var testfunction=functi

关于ios数据嵌套解析, 怎么实现嵌套内部遍历赋值

问题描述 关于ios数据嵌套解析, 怎么实现嵌套内部遍历赋值 ios数据解析怎么实现嵌套遍历赋值? 求大神指点, 赋值后用点属性的方法无法打印出来总是Crash, 什么原因啊? 解决方案 先看你遍历的索引等是否正确,具体crash发生在什么点 解决方案二: 可以给项目添加一个all exception breakPoint,先看看crash在什么地方.我猜楼主是不是不小心数组越界了 解决方案三: 这是我的截图 解决方案四: 解决方案五: 解决方案六: events字典内出现空数据,导致报错.尝试

JavaScript 基础函数_深入剖析变量和作用域_基础知识

函数定义和调用 定义函数,在JavaScript中,定义函数的方式如下: function abs(x){ if(x >=0){ return x; }else{ return -x; } } 上述abs() 函数的定义如下: function 指出这是一个函数定义; abs 是函数的名称: (x) 括号内列出函数的参数,多个参数以,分隔: {...}之间的代码是函数体,可以包含若干语句,甚至可以没有任何语句. 注意:函数体内部的语句在执行时,一旦执行到return 时,函数就执行完毕,并将结果