在objective-c中,这个 ^ 号是什么意思啊?

誰伴我闖荡 2011-12-01 04:05:20
如题,请详细说明一下,或者给个不错的链接,,谢谢了。
...全文
747 6 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
程序员小迷 2012-01-09
  • 打赏
  • 举报
回复
就是一段代码可以写在一个函数里面实现类似函数的功能。
为了方便阅读代码。
程序员小迷 2012-01-09
  • 打赏
  • 举报
回复
block
volcan1987 2011-12-07
  • 打赏
  • 举报
回复
blocks编程
多鱼的夏天 2011-12-02
  • 打赏
  • 举报
回复
是blocks,和python的lambda很类似

http://sech.iteye.com/blog/897386
wang7535067 2011-12-01
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 darkdong 的回复:]
xcode文档中搜索blocks
[/Quote]

同意
巴依老爷 2011-12-01
  • 打赏
  • 举报
回复
xcode文档中搜索blocks
开发 iPhone程序必须学会的语言 I N T R O D U C T I O N Introduction to The Objective-C Programming Language An object-oriented approach to application development makes programs more intuitive to design, faster to develop, more amenable to modification, and easier to understand. Most object-oriented development environments consist of at least three parts: ■ A library of objects ■ A set of development tools ■ An object-oriented programming language and support library This document is about the third component of the development environment—the programming language and its runtime environment. It fully describes the Objective-C language, and provides a foundation for learning about the Mac OS X Objective-C application development framework—Cocoa. The Objective-C language is a simple computer language designed to enable sophisticated object-oriented programming. Objective-C is defined as small but powerful set of extensions to the standard ANSI C language. Its additions to C are mostly based on Smalltalk, one of the first object-oriented programming languages. Objective-C is designed to give C full object-oriented programming capabilities, and to do so in a simple and straightforward way. For those who have never used object-oriented programming to create applications before, this document is also designed to help you become familiar with object-oriented development. It spells out some of the implications of object-oriented design and gives you a flavor of what writing an object-oriented program is really like.

29,049

社区成员

发帖
与我相关
我的任务
社区描述
主要讨论与iOS相关的软件和技术
社区管理员
  • iOS
  • 大熊猫侯佩
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧