Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Oct 25, 2010, 06:14 PM   #1
Samppaa
macrumors regular
 
Join Date: Mar 2010
Location: Jyväskylä, Finland
Custom tableview cells

Hey, I've been working with custom cells in the cocoa touch. The way they are done in the cocoa touch is brilliant. I can't find similar functionality in cocoa, so would someone lighten me up?
__________________
13" Macbook pro, 2,4GHz, 4GB RAM, 250GB HD; 32gb 4th gen iPod touch; 16gb black wifi iPad; 16gb silver/white iPhone 5s
Samppaa is offline   0 Reply With Quote
Old Oct 25, 2010, 09:50 PM   #2
kainjow
Moderator emeritus
 
kainjow's Avatar
 
Join Date: Jun 2000
Table cells in AppKit are very different. In UIKit they are just views (UIView subclasses), in AppKit they are a separate object NSCell (and subclasses). The difference is in UIKit you have multiple table cells in the view at once since they're subviews. In AppKit you have a single class per column (generally) that gets reused, like a stamp.

Search around for NSTableView, NSCell examples.
kainjow is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Copy Text from Numbers Cells adammgaines Mac Applications and Mac App Store 0 Feb 5, 2014 12:23 PM
Excel cells that attribute a score if two cells are the same ellisfella Mac Applications and Mac App Store 0 Nov 21, 2013 06:48 AM
When laptop makers say 4 cells etc, do they mean 18650? whitedragon101 MacBook Pro 5 Oct 27, 2013 08:15 PM
Springtomize 2 Custom Time Mode - Custom String GUILTIE Jailbreaks and iOS Hacks 10 Mar 7, 2013 04:18 PM
Why two cells is checked in UITableView? mikezang iPhone/iPad Programming 10 Oct 9, 2012 10:36 AM

Forum Jump

All times are GMT -5. The time now is 12:45 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC