- 
            
            as seen on Stack Overflow
            - Search for 'Stack Overflow' 
            
 So I started reading this book:
http://www.amazon.com/Cocoa-Design-Patterns-Erik-Buck/dp/0321535022
On chapter 2 it explains about the MVC design pattern and gives and example which I need some clarification to.
The simple example shows a view with the following fields:
hourlyRate, WorkHours, Standarthours…
            >>> More
 
- 
            
            as seen on Stack Overflow
            - Search for 'Stack Overflow' 
            
 Hello,
I want to drag a row from my tableview and drop it into any other NSTextField in Mac OS X 10.6, and have a string of text be dropped. 
Drag and drop already works within my app (between a NSTableView and an NSBrowser), but I have had no success putting any data on the pasteboard that can…
            >>> More
 
- 
            
            as seen on Stack Overflow
            - Search for 'Stack Overflow' 
            
 I need to translate the a carbon method into cocoa into and I am having trouble finding any documentation about what the carbon method getPtrSize really does.  From the code I am translating it seems that it returns the byte representation of an image but that doesn't really match up with the name…
            >>> More
 
- 
            
            as seen on Stack Overflow
            - Search for 'Stack Overflow' 
            
 Hi
I am trying to send some text in an email from my cocoa app (by using Mail.app). Initially I tried using HTML to send properly formatted text. But the mailto: URL does not support html tags (even after setting headers)
So I decided to use formatted string (left-aligning of string) This is what…
            >>> More
 
- 
            
            as seen on Stack Overflow
            - Search for 'Stack Overflow' 
            
 Having just updated Mono to 2.6.3 (on OS X), I noticed in the installer that cocoa# 0.9.5 is also installed. However using MonoDevelop there are no cocoa# project templates by default, and I was wondering if anyone knew more about creating cocoa# apps.
If you goto the cocoa# page on the Mono site…
            >>> More
 
        - 
            
            as seen on Stack Overflow
            - Search for 'Stack Overflow' 
            
 Hi there, 
I've got a code snippet here that I can't make working.
NSUInteger i;
//NSMutableArray *textures = [[NSMutableArray alloc] initWithCapacity:kNumTextures];
//NSMutableArray *texturesHighlighted = [[NSMutableArray alloc] initWithCapacity:kNumTextures];
NSMutableArray *textures= [[NSMutableArray…
            >>> More
 
- 
            
            as seen on Stack Overflow
            - Search for 'Stack Overflow' 
            
 I have two NSArray objects that I would like to be sorted the same. One contains NSString objects, the other custom Attribute objects.  Here is what my "key" NSArray looks like:
// The master order
NSArray *stringOrder = [NSArray arrayWithObjects:@"12", @"10", @"2", nil];
The NSArray with custom…
            >>> More
 
- 
            
            as seen on Stack Overflow
            - Search for 'Stack Overflow' 
            
 I have an NSMutableArray that is populated with objects of strings. For simplicity sake we'll say that the objects are a person and each person object contains information about that person.
Thus I would have an NSMutableArray that is populated with person objects:
person.firstName
person.lastName
person…
            >>> More
 
- 
            
            as seen on Stack Overflow
            - Search for 'Stack Overflow' 
            
 At some point in my Application, I have an NSArray whose contents change. Those contents are shown in a UITableView. I'm trying to find a way to find the diff between the contents of before and after of the NSArray so i can pass the correct indexPaths to insertRowsAtIndexPaths:withRowAnimation: and…
            >>> More
 
- 
            
            as seen on Stack Overflow
            - Search for 'Stack Overflow' 
            
 So, my second question based off of this application I'm teaching myself Objective C with.  I have a Data Source class, which for now looks mostly like:
- (id) init
{
    if (self = [super init]){
    listNames =  [[NSArray alloc] initWithObjects: @"Grocery", @"Wedding", @"History class",@"CS Class"…
            >>> More