Skip to Main Content
Mac OSX Developer's Guide
book

Mac OSX Developer's Guide

by Jesse Feiler
October 2001
Intermediate to advanced content levelIntermediate to advanced
594 pages
21h 44m
English
Morgan Kaufmann
Content preview from Mac OSX Developer's Guide
Using Windows
9 433
See the next section for information on adding views to win-
dows.
Removing Views
You sometimes need to remove a view from its hierarchy. The
removeFromSupervi ew method does that. Note that this is
the method of the view that you are removing: Cocoa takes
care of fixing up the superview's hierarchy, responder chain,
and the like.
public void removeFromSuperview( ) ; //Java
- (void)removeFromSuperview; //Objective-C
Using Windows
Cocoa windows are much lighter-weight objects than you
may be used to working with. In the first place, they are not
descendants of the view class, so they do not bring with them
a ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

OSX Mavericks Essentials

OSX Mavericks Essentials

Wiley
Beginning Mac OS® X Programming

Beginning Mac OS® X Programming

Michael Trent, Drew McCormack
Cocoa in a Nutshell

Cocoa in a Nutshell

Michael Beam, James Duncan Davidson
Cocoa Programming for OS X: The Big Nerd Ranch Guide

Cocoa Programming for OS X: The Big Nerd Ranch Guide

Aaron Hillegass, Adam Preble, Nate Chandler

Publisher Resources

ISBN: 9780122513411