Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #8 from kmonaghan/master

Handling a ’ character in device name
  • Loading branch information...
commit 3c499a63f0203c41d4b4f8f3a6069f3945ff90c0 2 parents b521dd2 + a337dd2
Jake Boxer authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  JBDeviceOwner/JBDeviceOwner.m
3  JBDeviceOwner/JBDeviceOwner.m
View
@@ -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];
Please sign in to comment.
Something went wrong with that request. Please try again.