9/17/09 1:26 PM, Konrad Windszus said:
I have a classical binding usecase: A NSArrayController is used for
displaying the columns of a NSTableView. The columns itself therefore
use the arrangedObject method of the NSArrayController. In the get
methods of the model itself (which normally retu
others with the same problem.
Konrad
Am 25.08.2009 um 19:45 schrieb Konrad Windszus:
I have a NSTreeController which is connected to a NSOutlineView. I
wish to have links to specific entries in the NSTreeController. With
these links I want to select those items. I therefore use the
I have a classical binding usecase: A NSArrayController is used for
displaying the columns of a NSTableView. The columns itself therefore
use the arrangedObject method of the NSArrayController. In the get
methods of the model itself (which normally return an NSString* which
should be displa
I have a NSTreeController which is connected to a NSOutlineView. I
wish to have links to specific entries in the NSTreeController. With
these links I want to select those items. I therefore use the
NSIndexPath. Unfortunately the NSIndexPath becomes invalid if the sort
order is changed by th
Did someone already open an documentation bug at apple regarding this
issue?
"If not successful, the method returns nil after setting outError
to point to an NSError that encapsulates the reason why the
document could not be instantiated."
Operative word being "an" NSError. Funny enough
If I set an NSError in the method readFromURL of my NSDocument, I
am not able to overwrite the NSLocalizedDescriptionKey.
...
Unfortunately only the strings of the keys
NSLocalizedFailureReasonErrorKey and
NSLocalizedRecoverySuggestionErrorKey are displayed together with a
standard err
If I set an NSError in the method readFromURL of my NSDocument, I am
not able to overwrite the NSLocalizedDescriptionKey.
If have the following code in that method:
- (BOOL)readFromURL:(NSURL *)absoluteURL ofType:(NSString *)typeName
error:(NSError **)outError
{
NSArray *objArray = [NSArray