Permalink
Browse files

Merge pull request #8 from kmonaghan/master

Handling a ’ character in device name
  • Loading branch information...
2 parents b521dd2 + a337dd2 commit 3c499a63f0203c41d4b4f8f3a6069f3945ff90c0 @jakeboxer committed Aug 1, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 JBDeviceOwner/JBDeviceOwner.m
View
3 JBDeviceOwner/JBDeviceOwner.m
@@ -44,7 +44,8 @@ - (id)initWithDevice:(UIDevice *)aDevice {
self.device = aDevice;
NSMutableString *deviceName = [NSMutableString stringWithString:self.device.name];
- NSArray *stringsToStrip = [NSArray arrayWithObjects:@"'s",
+ NSArray *stringsToStrip = [NSArray arrayWithObjects:@"’s",
+ @"'s",
@"ipad",
@"iphone",
@"ipod touch", nil];

0 comments on commit 3c499a6

Please sign in to comment.