public
Description: XBMC iPhone Remote
Homepage: remote.collect3.com.au
Clone URL: git://github.com/djfumberger/xbmc-remote.git
xbmc-remote / NSObjectExtension.m
100644 27 lines (20 sloc) 0.436 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
//
// NSObjectExtension.m
// xbmcremote
//
// Created by David Fumberger on 4/11/08.
// Copyright 2008 collect3. All rights reserved.
//
 
#import "NSObjectExtension.h"
 
 
 
@implementation NSObject (Extension)
 
#if (TARGET_OS_IPHONE)
- (NSString *)className
{
return [NSString stringWithUTF8String:class_getName([self class])];
}
+ (NSString *)className
{
return [NSString stringWithUTF8String:class_getName(self)];
}
#endif
 
@end