Created
December 4, 2013 23:14
-
-
Save zaneclaes/7797342 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if(self.socialConnections.count == 0) { | |
return @"EMPTY STATE...";// TODO: ZC What does the empty state look like? | |
} | |
else if(self.socialConnections.count == 1) { | |
return connection.caption; | |
} | |
else if(self.socialConnections.count == 2) { | |
BBSocialConnection *otherConnection = self.socialConnections[1]; | |
return [NSString stringWithFormat:BBLocalizedString(@"mobile.all.connections_single", @"%@ and %@ are connected to %@", @"Viewing a user profile: people are connected through facebook friends, etc."),connection.targetUser.shortName,otherConnection.targetUser.shortName,self.user.shortName]; | |
} | |
else { | |
return [NSString stringWithFormat:BBLocalizedString(@"mobile.all.connections_many", @"%@ and %d others are connected to %@", @"Viewing a user profile: people are connected through facebook friends, etc."),connection.targetUser.shortName,self.user.shortName]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment