background preloader

Cocoa

Facebook Twitter

Practical Cloud Computing. Code the Code - Projects - class-dump. This is a command-line utility for examining the Objective-C runtime information stored in Mach-O files. It generates declarations for the classes, categories and protocols. This is the same information provided by using ‘otool -ov’, but presented as normal Objective-C declarations, so it is much more compact and readable. Why use class-dump? It’s a great tool for the curious. Download Current version: 3.5 (64 bit Intel) Requires Mac OS X 10.8 or later. Changes - News Contact You can email questions and bug reports to me at nygard at gmail.com. Usage License This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Levey/QuadCurveMenu - GitHub. AlanQuatermain/AQGridView - GitHub. Mattgemmell/MGSplitViewController - GitHub. A Bindable Custom NSView Subclass | Blog @ Tim Isted. In this post I’ll walk through writing a custom subclass of NSView that can bind to an NSArrayController to display information either from some generic array connected to the array controller, or from a Core Data object model.

The view we’ll be creating is a custom view to display a pie-chart; in the sample app the pie-chart will be drawn from data entered in an NSTableView. The finished application looks like the following: If you’ve read previous posts on this site, you just might possibly have realized that I’m quite a big fan of Core Data. Unsurprisingly, therefore, the sample application is a Core Data document-based app.

We’ll be looking at binding to an array controller’s ‘arrangedObjects’ key, and also its ‘selectionIndexes’ key to enable the user to change which object is selected by clicking in our view. Basic Principles To be able to display our information in the view, the view needs to maintain its own store of the data. Creating our View The View Subclass The Data Model. Kolinkrewinkel/KKGridView - GitHub. How To Design A Custom UITableViewCell From Scratch. In this tutorial, our guest blogger Tope will be showing you how to design a Table View with custom cells.

Why would you want to do this, you ask? Well, sometimes the default list view from Apple just doesn’t cut it anymore. Having a nice, custom design is a good way to give your app a chance on being featured by Apple, the holy grail that all developers want for their apps. At the end of this tutorial, you will be able to implement the Table View in the image below.

This is a sample design for a social networking app. We will use some sample design resources to spruce up each cell and I will include a sample project with the design resources at the end of the post. Let’s get started. The first step is to launch XCode and create a new project. Now let’s create a new UITableViewCell. You should now have a new UITableViewCell, or not? The view we just created is not right for a TableViewCell so we need to use the right one. Adding the Design Elements Designing the cell Now the magic begins. Chrismiles/CMPopTipView - GitHub.