Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (20 sloc) 488 Bytes
//
// BRMediaShelfView_SMF.m
// SMFramework
//
// Created by Thomas Cool on 7/11/11.
// Copyright 2011 tomcool.org. All rights reserved.
//
#import "BRMediaShelfView_SMF.h"
@implementation BRMediaShelfView (SMF)
-(long)focusedIndex
{
return (long)[[self focusedIndexPath] indexAtPosition:1];
}
-(void)setFocusedIndex:(long)index
{
NSIndexPath *pp = [NSIndexPath indexPathWithIndex:0];
pp=[pp indexPathByAddingIndex:index];
[self setFocusedIndexPath:pp];
}
@end
Something went wrong with that request. Please try again.