Chances are you're calling add: on the arrayController and then
assuming that the newly added object is added to the array immediately.
I'm pretty sure the documentation says that that's an incorrect
assumption. If the value absolutely positively has to be there right
away, use addObject:. Th
On Feb 25, 2009, at 19:12, Walker Argendeli wrote:
The code is now this, which works- kindof:
[notebookController add:sender];
[notebookTableView editColumn:0 row:[notebookTableView selectedRow]
withEvent:nil select:YES];
Only problem is, for the second line, I actually have to kick off a
The code is now this, which works- kindof:
[notebookController add:sender];
[notebookTableView editColumn:0 row:[notebookTableView selectedRow]
withEvent:nil select:YES];
Only problem is, for the second line, I actually have to kick off a
timer...:
[NSTimer scheduledTimerWithTimeInterval:.
On Feb 25, 2009, at 2:11 PM, Walker Argendeli wrote:
I have a table with one column, that's bound to an array
controller. It calls add: on the array controller when I hit a plus
button. Problem is, I want the textFieldCell to be selected on
creation. I rewired the plus button to call a
On Wed, Feb 25, 2009 at 5:11 PM, Walker Argendeli
wrote:
> I have a table with one column
[...snip...]
> [tableView editColumn:1 row:[tableView selectedRow] withEvent:nil
> select:YES];
You are aware that arrays are 0-indexed, right?
--Kyle Sluder
__
I have a table with one column, that's bound to an array controller.
It calls add: on the array controller when I hit a plus button.
Problem is, I want the textFieldCell to be selected on creation. I
rewired the plus button to call a method in a custom class. The first
thing the custom