Re: closed - NSTableView is not updated on [reloadData]

2009-07-23 Thread Greg Guerin
Alexander Bokovikov wrote: Also I was sure that BAD_ACCESS exception should occur if not initialized outlet is used to send a message to. An uninitialized outlet is always nil. It is always legal to send messages to nil, although some returned values may be undefined. Re- read the basic

Re: closed - NSTableView is not updated on [reloadData]

2009-07-23 Thread Graham Cox
On 24/07/2009, at 1:52 AM, Alexander Bokovikov wrote: Also I was sure that BAD_ACCESS exception should occur if not initialized outlet is used to send a message to. Definitely not. Uninitialized outlets are set to nil, and messages to nil are legal - they simply swallow the messages. On

Re: closed - NSTableView is not updated on [reloadData]

2009-07-23 Thread Alexander Bokovikov
On 23.07.2009, at 21:25, I. Savant wrote: Is your "myTable" outlet connected to the table view? I'm fool... :( sorry... I was pretty sure it is, but really it isn't. Also I was sure that BAD_ACCESS exception should occur if not initialized outlet is used to send a message to. Fixed it