On 26/06/2009, at 2:19 AM, Richard Gutierrez wrote:
NSArray* path = [NSArray arrayWithObject:url];
if (path) {
[NSThread
detachNewThreadSelector:@selector(addImagesWithPaths:) toTarget:self
withObject:path];
}
[imageBrowser setSelectionIndexes:[NSIndexSet indexSetWithIndex
You need to call [imageBrowser reloadData]. When you call
setSelectionIndexes there need to be items in the list calling
reloadData will ensure that there are items.
On Thu, Jun 25, 2009 at 12:19 PM, Richard
Gutierrez wrote:
> I did place this in the awakeFromNib... I also tried placing it in
> "
I did place this in the awakeFromNib... I also tried placing it in
"updateDatasource", "addImagesWithPath", and "addImagesWithPaths". All of the
calls do not work. Here is my awakeFromNib code:
- (void)awakeFromNib {
images = [[NSMutableArray alloc] init];
importedImages = [[NSMutableAr
On 23/06/2009, at 10:08 AM, Richard Gutierrez wrote:
I have been researching extensively on how to set an
IKImageBrowserView's initial selection upon load to 0 index. Here is
the call I am making:
[imageBrowser setSelectionIndexes:[NSIndexSet indexSetWithIndex:0]
byExtendingSelection:NO]
I have been researching extensively on how to set an IKImageBrowserView's
initial selection upon load to 0 index. Here is the call I am making:
[imageBrowser setSelectionIndexes:[NSIndexSet indexSetWithIndex:0]
byExtendingSelection:NO];
Seems like the IKImageBrowserView is not fully loaded whe