Menu
This is how technical books should be written. If you want to learn Cocoa programming for Mac OS X, I highly recommend this book. The author does an excellent job of walking the reader through the need-to-know parts of developing Cocoa software on the Mac. His style is very approachable. Jun 20, 2016 Read Java Programming with Mac OS X Ebook Free. Browse more videos. Playing next. Apr 09, 2019 Read Cocoa Programming for Mac OS X (4th Edition) 4th (fourth) Edition by Hillegass, Aaron.
- Basic Programming For Mac
- Cocoa R Programming For Mac R Os X 2017
- Cocoa R Programming For Mac R Os X 1
- Cocoa R Programming For Mac R Os X 10
作者: Aaron Hillegass
出版社: Addison-Wesley Professional
出版年: 2004-04-30
页数: 480
定价: USD 49.99
装帧: Paperback
ISBN: 9780321213143
出版社: Addison-Wesley Professional
出版年: 2004-04-30
页数: 480
定价: USD 49.99
装帧: Paperback
ISBN: 9780321213143
7.9
5星70.0%4星20.0%
3星10.0%
2星0.0%
1星0.0%
- 加入购书单已在购书单
内容简介 · · · · · ·
According to Apple, 'The Cocoa application environment is designed specifically for Mac OS X-only native applications. It is comprised of a set of object-oriented frameworks that support rapid development and high productivity. The Cocoa frameworks include a full-featured set of classes designed to create robust and powerful Mac OS X applications. The object-oriented design s...
According to Apple, 'The Cocoa application environment is designed specifically for Mac OS X-only native applications. It is comprised of a set of object-oriented frameworks that support rapid development and high productivity. The Cocoa frameworks include a full-featured set of classes designed to create robust and powerful Mac OS X applications. The object-oriented design simplifies application development and debugging.' Cocoa Programming for Mac OS X, 2/e teaches programmers and developers all the tools for Cocoa development. This book has a strong tutorial format and is completely updated for Mac OS X 10.2. The reader is guided through writing five applications and an InterfaceBuilder palette. Each project teaches several new ideas. As a new concept or technique is introduced, the text describes it in detail. This book will cover in depth the following topics: Cocoa: What is it? Where did it come from; ProjectBuilder, Objective-C, Controls, Archiving, Helper Objects, Multiple nibs, Getting and Setting User Defaults, Using Notifications, Custom Views, Responders and Keyboard events, Creating InterfaceBuilder Palettes, NSTimer, Updating Menus, Working with NSTextView and Using Java with Cocoa. </P>
作者简介 · · · · · ·
Aaron Hillegas,曾就职于Next和Apple,现在在Big Nerd Ranch主讲Cocoa编程。第一套OpenStep(Cocoa的前身)教程即出自其手。本书基于Aaron在Big Nerd Ranch的教学内容,并融入了他在OpenStep和Cocoa方面15年的工作经验。
豆瓣成员常用的标签(共10个) · · · · · ·
喜欢读'Cocoa(R) Programming for Mac(R) OS X (2nd Edition)'的人也喜欢 · · · · · ·
- UNIX编程艺术
- JAVASCRIPT权威指南(第四版)
- 重构
- 算法导论(原书第2版)
- Dive Into Python
- 精通正则表达式
- 深入理解计算机系统
- 设计模式
- 我是沃兹
- 程序员修炼之道
Basic Programming For Mac
> 更多短评 2 条
无论是一部作品、一个人,还是一件事,都往往可以衍生出许多不同的话题。将这些话题细分出来,分别进行讨论,会有更多收获。
我要写书评Cocoa(R) Programming for Mac(R) OS X (2nd Edition)的书评 · · · · · · ( 全部 10 条 )
热门 / 最新 / 好友
翻译很差,看原版吧~
很欢乐的一本书。开头是A Litter History, 先扯点Apple的八卦 Once upon a time, two guys namedSteve started a company called Apple Computer in their garage. The company grew rapidly,so they hired an experienced executive named John Sculley to be its CEO. ... (展开)
非常好的入门书籍
没想到我能做这本经典书的第一个评论人, 这也是我在豆瓣的第一个评论。 这本书我从第二版开始阅读的, 第二版主要针对Panther(Mac OS X 10.3),这个版本主要是针对Tiger(Mac OS X10.4), 内容改变并不是很大 。 这本书最大的优点是通俗易懂, 我想大多数读者都跟我一... (展开)
对完全的初学者还是又难度的
通过阅读这本书发现。由于cocoa构架自身采用了很多设计模式来实现代码的重用。如果一个初学者对设计模式不太熟悉,可能理解上会又问题。而书中涉及到一些细节,往往是之言片语,没有展开。所以难免在读后感觉到:知其然而不知所以然。 不过目前市面上也没多少可供选择的... (展开)
看的第三版
内容还成,包括了方方面面,算是入门必看书籍了,虽然MacOS开发不太火,这本书也能帮助理解iOS开发。小众平台开发一直是我的最爱。 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 不短不端 不短不端不短不端不短不端不短不端不短不端不短不端不短不端不短不端不短不端... (展开)
还是挺不错的一本关于cocoa的书而不是ios
还是挺不错的一本关于cocoa的书而不是ios,现在市面上都是关于iphone开发的,找了很久也只找到了两三本是关于cocoa的,作者讲解浅显易懂。 不过读这本书之前,最好是先看一本关于objective-c2.0的书。。不然,就杯具的。 。。 好吧,我是在网上看了17章,,可是现在网上很难买... (展开)
苹果开发必备
内容简洁但深度到位,对内存管理,target/action,datasource,notification,delegate 那些写得都不错,把其它几本书不清晰的部分都写出 来了,苹果开发必看的书,没发现能代替的书 (展开)
Cocoa(R) Programming for Mac(R) OS X (3rd Edition)
Amazon.com There's a reason that a large slice of the open-source movement has defected from running Linux on its laptops to running Mac OS X. The reason is the Unix core that underlies Mac OS X, and the development tools that run on that core. Cocoa makes ... (展开)
书中有不少代码是有问题的
这篇书评可能有关键情节透露
例如6.2 page:101 变量的声明部分: vNSArray *voiceList; 应该是NSArray 8.1 page 127 MyDocument的部分就是错的。编译产生的程序是没有图形界面的。只有一个菜单栏。 我到网上下了这本书的源代码。发现和书上的代码根本不同。这种低级错误实在不可原谅!! 我按照... (展开) 其实这书不错
第一眼看这本书不是很好,但是读的时候感觉不错,会写到很多细节,并且会有些原理性的东西,虽然不是很深入。 这书适合于Objective-C已经基本入门的人看,否则看起来会比较吃力,这书的重点也不是Objective-C。 (展开)
我晕,竟然没人评论
这篇书评可能有关键情节透露
现在回过头来,发现上次看过此书后的理解是那么浅薄。。。 书要多读才算正道。 看书切忌放过疑点。 ----- 抱歉,我的评论不短了 豆瓣什么时候变的这么bt, e心了。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。... (展开) > 更多书评 10篇
论坛 · · · · · ·
第三版已经出版 | 来自孔祥波 | 1 回应 | 2008-05-21 |
不错的书 | 来自时间之翼 | 2008-02-01 |
Enabling a window of your app to assume full-screen mode, taking over the entire screen, provides users with a more immersive, cinematic experience. Full-screen appearance can be striking and can make your app stand out. From a practical standpoint, full-screen mode presents a better view of users’ data, enabling them to concentrate fully on their content without the distractions of other apps or the desktop.
In full-screen mode, by default, the menu bar and Dock are autohidden; that is, they are normally hidden but reappear when the user moves the pointer to the top or bottom of the screen. A full-screen window does not draw its titlebar and may have special handling for its toolbar.
The full-screen experience makes sense for many apps but not for all. For example, the Finder, Address Book, and Calculator would not provide any benefit to users by assuming full-screen mode. The same is probably true for most utility apps. Media-rich apps, on the other hand, can often benefit from full-screen presentation.
Beginning with OS X v10.7, Cocoa includes support for full-screen mode through APIs in
NSApplication
, NSWindow
, and NSWindowDelegate
protocol. When the user chooses to enter full-screen mode, Cocoa dynamically creates a space and puts the window into that space. This behavior enables the user to have one window of an app running in full-screen mode in one space, while using other windows of that app, as well as other apps, on the desktop in other spaces. While in full-screen mode, the user can switch between windows in the current app or switch apps.Apps that have implemented full-screen user interfaces in previous versions of OS X should consider standardizing on the full-screen APIs in OS X v10.7.
Full-Screen API in NSApplication
Full-screen support in
NSApplication
is provided by the presentation option NSApplicationPresentationFullScreen
. You can find the current presentation mode via the NSApplication
method currentSystemPresentationOptions
, which is also key-value observable. You can set the presentation options using the NSApplication
method setPresentationOptions:
. (Be sure to observe the restrictions on presentation option combinations documented with NSApplicationPresentationOptions
, and set the presentation options in a try-catch block to ensure that your program does not crash from an invalid combination of options.)A window delegate may also specify that the window toolbar be removed from the window in full-screen mode and be shown automatically with the menu bar by including
NSApplicationPresentationAutoHideToolbar
in the presentation options returned from the window:willUseFullScreenPresentationOptions:
method of NSWindowDelegate
.Full-Screen API in NSWindow
The app must specify whether a given window can enter full-screen mode. Apps can set collection behavior using the
setCollectionBehavior:
method by passing in various constants, and the current options may be accessed via the collectionBehavior
method. You can choose between two constants to override the window collection behavior, as shown in the following table:Constant | Behavior |
---|---|
NSWindowCollectionBehaviorFullScreenPrimary | The frontmost window with this collection behaviorbecomes the full-screen window. A window with this collection behavior has a full-screen button in the upper right of its titlebar. |
NSWindowCollectionBehaviorFullScreenAuxiliary | Windows with this collection behavior can be shown in the same space with the full-screen window. |
When a window goes into full-screen mode, the
styleMask
changes to NSFullScreenWindowMask
to reflect the state of the window.The setting of the styleMask
goes through the setStyleMask:
method. As a result, a window can override this method if it has customization to do when entering or exiting full-screen. A window can be taken into or out of full-screen mode using the
toggleFullScreen:
method. If an app supports full-screen mode, it should add a menu item to the View menu with toggleFullScreen:
as the action, and nil
as the target.Full-Screen API in NSWindowDelegate Protocol
Cocoa R Programming For Mac R Os X 2017
The following notifications are sent before and after the window enters and exits full-screen mode:
The window delegate has the following corresponding window delegate notification methods:
The
NSWindowDelegate
protocol methods supporting full-screen mode are listed in Table 3-1.Cocoa R Programming For Mac R Os X 1
Method | Description |
---|---|
Invoked to allow the delegate to modify the full-screen content size. | |
Returns the presentation options the window will use when transitioning to full-screen mode. | |
Invoked when the window is about to enter full-screen mode. The window delegate can implement this method to customize the animation by returning a custom window or array of windows containing layers or other effects. | |
The system has started its animation into full-screen mode, including transitioning into a new space. You can implement this method to perform custom animation with the given duration to be in sync with the system animation. | |
Invoked if the window failed to enter full-screen mode. | |
Invoked when the window is about to exit full-screen mode. The window delegate can implement this method to customize the animation when the window is about to exit full-screen by returning a custom window or array of windows containing layers or other effects. | |
The system has started its animation out of full-screen, including transitioning back to the desktop space. You can implement this method to perform custom animation with the given duration to be in sync with the system animation. | |
Invoked if the window failed to exit full-screen mode. |
For more information about full-screen mode, see NSWindowDelegate Protocol Reference and the OS X Human Interface Guidelines.
Cocoa R Programming For Mac R Os X 10
Copyright © 2015 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2015-03-09