Cocoa Design Patterns by Erik Buck & Donald A. Yacktman

Cocoa Design Patterns by Erik Buck & Donald A. Yacktman

Author:Erik Buck & Donald A. Yacktman
Language: eng
Format: epub
Publisher: Pearson Education
Published: 2010-03-11T05:00:00+00:00


The last method required to complete the application’s functionality is the action method –browerSelectionChanged:. It is called whenever the user clicks a cell in the browser. This method first makes sure that the browserPath array is updated. Then it takes the currently selected view, the last item in the array, and displays information about its class, position in the window, and size. Finally, the highlighting window is resized so that its frame is the same as the view’s frame rectangle. This causes the red rectangle around the selected view to be drawn.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.