Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Minor fix

  • Loading branch information...
commit 9428b00cf1b0d04f5eb3309a40b3103cd74252c3 1 parent b68b29d
@exalted exalted authored
Showing with 5 additions and 5 deletions.
  1. +5 −5 PTShowcaseViewController/PTShowcaseView.m
View
10 PTShowcaseViewController/PTShowcaseView.m
@@ -62,23 +62,23 @@ - (NSInteger)numberOfItems
return [self.data count];
}
-- (NSString *)uniqueNameForItemAtIndex:(NSInteger)index;
+- (NSString *)uniqueNameForItemAtIndex:(NSInteger)index
{
id object = [[self.data objectAtIndex:index] objectForKey:@"uniqueName"];
return object == [NSNull null] ? nil : object;
}
-- (PTContentType)contentTypeForItemAtIndex:(NSInteger)index;
+- (PTContentType)contentTypeForItemAtIndex:(NSInteger)index
{
return [[[self.data objectAtIndex:index] objectForKey:@"contentType"] integerValue];
}
-- (PTItemOrientation)orientationForItemAtIndex:(NSInteger)index;
+- (PTItemOrientation)orientationForItemAtIndex:(NSInteger)index
{
return [[[self.data objectAtIndex:index] objectForKey:@"orientation"] integerValue];
}
-- (NSString *)sourceForItemAtIndex:(NSInteger)index;
+- (NSString *)sourceForItemAtIndex:(NSInteger)index
{
id object = [[self.data objectAtIndex:index] objectForKey:@"source"];
return object == [NSNull null] ? nil : object;
@@ -90,7 +90,7 @@ - (NSString *)sourceForItemThumbnailAtIndex:(NSInteger)index
return object == [NSNull null] ? nil : object;
}
-- (NSString *)textForItemAtIndex:(NSInteger)index;
+- (NSString *)textForItemAtIndex:(NSInteger)index
{
id object = [[self.data objectAtIndex:index] objectForKey:@"text"];
return object == [NSNull null] ? nil : object;
Please sign in to comment.
Something went wrong with that request. Please try again.