Permalink
Browse files

Merge pull request #5 from JoshuaKaden/chore/cleanup-system-message

Chore/cleanup system message
  • Loading branch information...
JoshuaKaden committed Aug 4, 2015
2 parents 0964cf8 + 8ca1de1 commit a3b6cb334bb5d35bc6c9da4658f55b9a1e5284e8
@@ -7,6 +7,11 @@
objects = {
/* Begin PBXBuildFile section */
77195CFE1B70E9CF00E11518 /* NetPlayerHandler.m in Sources */ = {isa = PBXBuildFile; fileRef = 77195CFD1B70E9CF00E11518 /* NetPlayerHandler.m */; };
7721B8751B6FA4B1004D3BE0 /* Reachability.m in Sources */ = {isa = PBXBuildFile; fileRef = 7721B8741B6FA4B1004D3BE0 /* Reachability.m */; };
7721B8781B6FA748004D3BE0 /* NetworkManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 7721B8771B6FA748004D3BE0 /* NetworkManager.m */; };
7795A2941B70211000382382 /* NetHostHandler.m in Sources */ = {isa = PBXBuildFile; fileRef = 7795A2931B70211000382382 /* NetHostHandler.m */; };
7795A29A1B70D48400382382 /* NetHandler.m in Sources */ = {isa = PBXBuildFile; fileRef = 7795A2991B70D48400382382 /* NetHandler.m */; };
9300C7D8175BFCA00047AA15 /* GameTesterMenuItems.m in Sources */ = {isa = PBXBuildFile; fileRef = 9300C7D7175BFCA00047AA15 /* GameTesterMenuItems.m */; };
9303BE5117467CAE0065ADD2 /* JoinGameViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 9303BE5017467CAE0065ADD2 /* JoinGameViewController.m */; };
9303BE551746836A0065ADD2 /* GameJoiner.m in Sources */ = {isa = PBXBuildFile; fileRef = 9303BE541746836A0065ADD2 /* GameJoiner.m */; };
@@ -47,7 +52,6 @@
936510D41741597500F2AD06 /* JSKSystemMessage.m in Sources */ = {isa = PBXBuildFile; fileRef = 936510CD1741597500F2AD06 /* JSKSystemMessage.m */; };
936510D51741597500F2AD06 /* JSKViewStack.m in Sources */ = {isa = PBXBuildFile; fileRef = 936510CF1741597500F2AD06 /* JSKViewStack.m */; };
936510DC1741598800F2AD06 /* NSManagedObjectContext+FetchAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = 936510D81741598800F2AD06 /* NSManagedObjectContext+FetchAdditions.m */; };
936510DD1741598800F2AD06 /* Reachability.m in Sources */ = {isa = PBXBuildFile; fileRef = 936510DB1741598800F2AD06 /* Reachability.m */; };
936510E3174159C900F2AD06 /* RootViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 936510E0174159C900F2AD06 /* RootViewController.m */; };
936510E4174159C900F2AD06 /* SystemMessage.m in Sources */ = {isa = PBXBuildFile; fileRef = 936510E2174159C900F2AD06 /* SystemMessage.m */; };
936510EB17415A1000F2AD06 /* MainMenuItems.m in Sources */ = {isa = PBXBuildFile; fileRef = 936510EA17415A1000F2AD06 /* MainMenuItems.m */; };
@@ -132,7 +136,18 @@
/* End PBXBuildFile section */
/* Begin PBXFileReference section */
77195CFC1B70E9CF00E11518 /* NetPlayerHandler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = NetPlayerHandler.h; path = Classes/NetPlayerHandler.h; sourceTree = "<group>"; };
77195CFD1B70E9CF00E11518 /* NetPlayerHandler.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = NetPlayerHandler.m; path = Classes/NetPlayerHandler.m; sourceTree = "<group>"; };
7721B8731B6FA4B1004D3BE0 /* Reachability.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Reachability.h; sourceTree = "<group>"; };
7721B8741B6FA4B1004D3BE0 /* Reachability.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Reachability.m; sourceTree = "<group>"; };
7721B8761B6FA748004D3BE0 /* NetworkManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = NetworkManager.h; path = Classes/NetworkManager.h; sourceTree = "<group>"; };
7721B8771B6FA748004D3BE0 /* NetworkManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = NetworkManager.m; path = Classes/NetworkManager.m; sourceTree = "<group>"; };
775407A31B6EE8B9002AE2DA /* Partisans-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Partisans-Bridging-Header.h"; sourceTree = "<group>"; };
7795A2921B70211000382382 /* NetHostHandler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = NetHostHandler.h; path = Classes/NetHostHandler.h; sourceTree = "<group>"; };
7795A2931B70211000382382 /* NetHostHandler.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = NetHostHandler.m; path = Classes/NetHostHandler.m; sourceTree = "<group>"; };
7795A2971B70583400382382 /* JSKCommandMessageProtocol.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = JSKCommandMessageProtocol.h; path = "Classes/Libraries/My Library/JSKCommandMessageProtocol.h"; sourceTree = "<group>"; };
7795A2981B70D48400382382 /* NetHandler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = NetHandler.h; path = Classes/NetHandler.h; sourceTree = "<group>"; };
7795A2991B70D48400382382 /* NetHandler.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = NetHandler.m; path = Classes/NetHandler.m; sourceTree = "<group>"; };
9300C7D6175BFCA00047AA15 /* GameTesterMenuItems.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = GameTesterMenuItems.h; path = Classes/GameTesterMenuItems.h; sourceTree = "<group>"; };
9300C7D7175BFCA00047AA15 /* GameTesterMenuItems.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = GameTesterMenuItems.m; path = Classes/GameTesterMenuItems.m; sourceTree = "<group>"; };
9303BE4F17467CAD0065ADD2 /* JoinGameViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = JoinGameViewController.h; path = Classes/JoinGameViewController.h; sourceTree = "<group>"; };
@@ -204,8 +219,6 @@
936510CF1741597500F2AD06 /* JSKViewStack.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = JSKViewStack.m; path = "Classes/Libraries/My Library/JSKViewStack.m"; sourceTree = "<group>"; };
936510D71741598800F2AD06 /* NSManagedObjectContext+FetchAdditions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSManagedObjectContext+FetchAdditions.h"; sourceTree = "<group>"; };
936510D81741598800F2AD06 /* NSManagedObjectContext+FetchAdditions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSManagedObjectContext+FetchAdditions.m"; sourceTree = "<group>"; };
936510DA1741598800F2AD06 /* Reachability.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Reachability.h; sourceTree = "<group>"; };
936510DB1741598800F2AD06 /* Reachability.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Reachability.m; sourceTree = "<group>"; };
936510DF174159C900F2AD06 /* RootViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RootViewController.h; path = Classes/RootViewController.h; sourceTree = "<group>"; };
936510E0174159C900F2AD06 /* RootViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = RootViewController.m; path = Classes/RootViewController.m; sourceTree = "<group>"; };
936510E1174159C900F2AD06 /* SystemMessage.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SystemMessage.h; path = Classes/SystemMessage.h; sourceTree = "<group>"; };
@@ -388,10 +401,18 @@
children = (
9307B3D2177F8A41003CEC6F /* HostFinder.h */,
9307B3D3177F8A41003CEC6F /* HostFinder.m */,
7795A2981B70D48400382382 /* NetHandler.h */,
7795A2991B70D48400382382 /* NetHandler.m */,
936CDFBC1761276900C6A4EE /* NetHost.h */,
936CDFBD1761276900C6A4EE /* NetHost.m */,
7795A2921B70211000382382 /* NetHostHandler.h */,
7795A2931B70211000382382 /* NetHostHandler.m */,
936CDFC0176202E500C6A4EE /* NetPlayer.h */,
936CDFC1176202E500C6A4EE /* NetPlayer.m */,
77195CFC1B70E9CF00E11518 /* NetPlayerHandler.h */,
77195CFD1B70E9CF00E11518 /* NetPlayerHandler.m */,
7721B8761B6FA748004D3BE0 /* NetworkManager.h */,
7721B8771B6FA748004D3BE0 /* NetworkManager.m */,
);
name = Network;
sourceTree = "<group>";
@@ -550,6 +571,7 @@
children = (
936510C41741597500F2AD06 /* JSKCommandMessage.h */,
936510C51741597500F2AD06 /* JSKCommandMessage.m */,
7795A2971B70583400382382 /* JSKCommandMessageProtocol.h */,
9365111D17415D0A00F2AD06 /* JSKCommandParcel.h */,
9365111E17415D0A00F2AD06 /* JSKCommandParcel.m */,
936510C61741597500F2AD06 /* JSKDataMiner.h */,
@@ -600,8 +622,8 @@
936510D91741598800F2AD06 /* Reachability */ = {
isa = PBXGroup;
children = (
936510DA1741598800F2AD06 /* Reachability.h */,
936510DB1741598800F2AD06 /* Reachability.m */,
7721B8731B6FA4B1004D3BE0 /* Reachability.h */,
7721B8741B6FA4B1004D3BE0 /* Reachability.m */,
);
name = Reachability;
path = Classes/Libraries/Reachability;
@@ -919,6 +941,7 @@
files = (
9365109F1741578C00F2AD06 /* main.m in Sources */,
936510A31741578C00F2AD06 /* AppDelegate.m in Sources */,
7721B8751B6FA4B1004D3BE0 /* Reachability.m in Sources */,
936510BF1741596200F2AD06 /* ILColorPickerView.m in Sources */,
936510C01741596200F2AD06 /* ILHuePickerView.m in Sources */,
936510C11741596200F2AD06 /* ILSaturationBrightnessPickerView.m in Sources */,
@@ -930,8 +953,8 @@
936510D41741597500F2AD06 /* JSKSystemMessage.m in Sources */,
936510D51741597500F2AD06 /* JSKViewStack.m in Sources */,
936510DC1741598800F2AD06 /* NSManagedObjectContext+FetchAdditions.m in Sources */,
936510DD1741598800F2AD06 /* Reachability.m in Sources */,
936510E3174159C900F2AD06 /* RootViewController.m in Sources */,
7795A2941B70211000382382 /* NetHostHandler.m in Sources */,
936510E4174159C900F2AD06 /* SystemMessage.m in Sources */,
936510EB17415A1000F2AD06 /* MainMenuItems.m in Sources */,
936510F317415A4E00F2AD06 /* ColorPickerViewController.m in Sources */,
@@ -946,6 +969,7 @@
93C10B9D1744028300B47095 /* GameEnvoy.m in Sources */,
93C10BBA17440C4500B47095 /* PlayGameMenuItems.m in Sources */,
93C10BC8174439B300B47095 /* SetupGameMenuItems.m in Sources */,
77195CFE1B70E9CF00E11518 /* NetPlayerHandler.m in Sources */,
93FECAB1174521A40046529A /* LabelProgressView.m in Sources */,
93FECAB3174521A40046529A /* ProgressCell.m in Sources */,
9303BE5117467CAE0065ADD2 /* JoinGameViewController.m in Sources */,
@@ -964,7 +988,9 @@
936CDFC2176202E500C6A4EE /* NetPlayer.m in Sources */,
93BF3B531771CABF00B20A71 /* GameDirector.m in Sources */,
93BF3B571771CEA500B20A71 /* MissionEnvoy.m in Sources */,
7795A29A1B70D48400382382 /* NetHandler.m in Sources */,
9398A9C6177224EE00E5D31C /* Image.m in Sources */,
7721B8781B6FA748004D3BE0 /* NetworkManager.m in Sources */,
9398A9CA177224EE00E5D31C /* Player.m in Sources */,
9398A9D2177224EF00E5D31C /* Scorecard.m in Sources */,
939697E717732A110013B125 /* RoundEnvoy.m in Sources */,
@@ -1038,7 +1064,7 @@
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 6.1;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2";
@@ -1062,7 +1088,7 @@
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 6.1;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1";
SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2";
@@ -1076,13 +1102,15 @@
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "Partisans/Partisans-Prefix.pch";
INFOPLIST_FILE = "Partisans/Partisans-Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "com.chadfordsoftware.${PRODUCT_NAME:rfc1034identifier}";
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE = "";
SWIFT_OBJC_BRIDGING_HEADER = "Partisans/Partisans-Bridging-Header.h";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
WRAPPER_EXTENSION = app;
@@ -1095,7 +1123,7 @@
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "Partisans/Partisans-Prefix.pch";
INFOPLIST_FILE = "Partisans/Partisans-Info.plist";
@@ -22,6 +22,7 @@
#import "JSKDataMiner.h"
#import "RootViewController.h"
#import "NetworkManager.h"
#import "SystemMessage.h"
@interface AppDelegate ()
@@ -49,19 +50,19 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
- (void)applicationWillResignActive:(UIApplication *)application
{
[SystemMessage putPlayerOffline];
[NetworkManager putPlayerOffline];
}
- (void)applicationDidEnterBackground:(UIApplication *)application
{
[SystemMessage putPlayerOffline];
[NetworkManager putPlayerOffline];
[JSKDataMiner save];
}
- (void)applicationWillTerminate:(UIApplication *)application
{
[JSKDataMiner save];
[SystemMessage putPlayerOffline];
[NetworkManager putPlayerOffline];
}
@end
@@ -25,6 +25,7 @@
#import "GamePrecis.h"
#import "JSKCommandParcel.h"
#import "MissionEnvoy.h"
#import "NetworkManager.h"
#import "PlayerEnvoy.h"
#import "RoundEnvoy.h"
#import "SystemMessage.h"
@@ -81,7 +82,7 @@ - (void)startGame
[self saveGame];
JSKCommandParcel *parcel = [[JSKCommandParcel alloc] initWithType:JSKCommandParcelTypeUpdate to:nil from:[SystemMessage playerEnvoy].peerID object:gameEnvoy];
[SystemMessage sendParcelToPlayers:parcel];
[NetworkManager sendParcelToPlayers:parcel];
}
- (void)startMission
@@ -172,13 +173,6 @@ - (void)saveGame
{
GameEnvoy *gameEnvoy = self.gameEnvoy;
[gameEnvoy commitAndSave];
// NSDate *oldDate = [NSDate distantPast];
// [self sendGameUpdateTo:nil modifiedDate:oldDate shouldSendAllData:NO];
// JSKCommandParcel *parcel = [[JSKCommandParcel alloc] initWithType:JSKCommandParcelTypeUpdate to:nil from:[SystemMessage playerEnvoy].peerID object:gameEnvoy];
// [SystemMessage sendParcelToPlayers:parcel];
// [parcel release];
}
@@ -234,11 +228,11 @@ - (void)sendGameUpdateTo:(NSString *)peerID modifiedDate:(NSDate *)modifiedDate
JSKCommandParcel *parcel = [[JSKCommandParcel alloc] initWithType:JSKCommandParcelTypeUpdate to:peerID from:hostID object:gameEnvoy];
if (peerID)
{
[SystemMessage sendCommandParcel:parcel shouldAwaitResponse:NO];
[NetworkManager sendCommandParcel:parcel shouldAwaitResponse:NO];
}
else
{
[SystemMessage sendParcelToPlayers:parcel];
[NetworkManager sendParcelToPlayers:parcel];
}
return;
}
@@ -278,11 +272,11 @@ - (void)sendGameUpdateTo:(NSString *)peerID modifiedDate:(NSDate *)modifiedDate
JSKCommandParcel *parcel = [[JSKCommandParcel alloc] initWithType:JSKCommandParcelTypeUpdate to:peerID from:hostID object:objectArray];
if (peerID)
{
[SystemMessage sendCommandParcel:parcel shouldAwaitResponse:NO];
[NetworkManager sendCommandParcel:parcel shouldAwaitResponse:NO];
}
else
{
[SystemMessage sendParcelToPlayers:parcel];
[NetworkManager sendParcelToPlayers:parcel];
}
}
@@ -131,11 +131,10 @@ - (NSString *)menuViewController:(JSKMenuViewController *)menuViewController tit
- (NSString *)menuViewController:(JSKMenuViewController *)menuViewController labelAtIndexPath:(NSIndexPath *)indexPath
{
NSString *returnValue = nil;
GameTesterMenuSection menuSection = indexPath.section;
GameTesterMenuSection menuSection = (GameTesterMenuSection)indexPath.section;
switch (menuSection) {
case GameTesterMenuSectionAction:
{
GameTesterMenuRow menuRow = indexPath.row;
case GameTesterMenuSectionAction: {
GameTesterMenuRow menuRow = (GameTesterMenuRow)indexPath.row;
switch (menuRow) {
case GameTesterMenuRowAddPlayers:
returnValue = @"Add Players";
@@ -150,8 +149,7 @@ - (NSString *)menuViewController:(JSKMenuViewController *)menuViewController lab
}
case GameTesterMenuSectionPlayers:
{
if (self.players.count > 0)
{
if (self.players.count > 0) {
PlayerEnvoy *playerEnvoy = [self.players objectAtIndex:indexPath.row];
returnValue = playerEnvoy.playerName;
}
@@ -166,7 +164,7 @@ - (NSString *)menuViewController:(JSKMenuViewController *)menuViewController lab
- (UIImage *)menuViewController:(JSKMenuViewController *)menuViewController imageForIndexPath:(NSIndexPath *)indexPath
{
UIImage *returnValue = nil;
GameTesterMenuSection menuSection = indexPath.section;
GameTesterMenuSection menuSection = (GameTesterMenuSection)indexPath.section;
switch (menuSection) {
case GameTesterMenuSectionAction:
break;
@@ -197,12 +195,11 @@ - (void)menuViewControllerInvokedRefresh:(JSKMenuViewController *)menuViewContro
- (void)menuViewController:(JSKMenuViewController *)menuViewController didSelectRowAt:(NSIndexPath *)indexPath
{
GameTesterMenuSection menuSection = indexPath.section;
if (!(menuSection == GameTesterMenuSectionAction))
{
GameTesterMenuSection menuSection = (GameTesterMenuSection)indexPath.section;
if (!(menuSection == GameTesterMenuSectionAction)) {
return;
}
GameTesterMenuRow menuRow = indexPath.row;
GameTesterMenuRow menuRow = (GameTesterMenuRow)indexPath.row;
switch (menuRow) {
case GameTesterMenuRowAddPlayers:
[self addPlayers];
@@ -21,6 +21,7 @@
#import "HostFinder.h"
#import "GameEnvoy.h"
#import "NetworkManager.h"
#import "PlayerEnvoy.h"
#import "SystemMessage.h"
@@ -53,7 +54,7 @@ - (void)dealloc
- (BOOL)isConnected
{
self.isConnected = [SystemMessage isPlayerOnline];
self.isConnected = [NetworkManager isPlayerOnline];
return m_isConnected;
}
@@ -65,14 +66,14 @@ - (NSString *)hostPeerID
- (void)connect
{
if ([SystemMessage isPlayerOnline])
if ([NetworkManager isPlayerOnline])
{
return;
}
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(hostReadyToCommunicate:) name:kPartisansNotificationHostReadyToCommunicate object:nil];
[SystemMessage putPlayerOnline];
[NetworkManager putPlayerOnline];
if (!self.timer)
{
@@ -119,7 +119,7 @@ - (void)viewWillAppear:(BOOL)animated
}
NSString *prefix = NSLocalizedString(@"The Game Code is", @"The Game Code is -- prefix");
NSString *message = [NSString stringWithFormat:@"%@ %ul.", prefix, self.gameCode];
NSString *message = [NSString stringWithFormat:@"%@ %lul.", prefix, (unsigned long)self.gameCode];
[self addStatusMessage:message];
message = NSLocalizedString(@"Tap to start scanning.", @"Tap to start scanning. -- status message");
@@ -207,7 +207,7 @@ - (void)startScanning {
[self.viewStack clearViews];
NSString *prefix = NSLocalizedString(@"The Game Code is", @"The Game Code is -- prefix");
NSString *message = [NSString stringWithFormat:@"%@ %d.", prefix, self.gameCode];
NSString *message = [NSString stringWithFormat:@"%@ %lu.", prefix, (unsigned long)self.gameCode];
[self addStatusMessage:message];
if (!self.gameJoiner)
Oops, something went wrong.

0 comments on commit a3b6cb3

Please sign in to comment.