- Update
No files matched your search
@@ -0,0 +1,449 @@
|
||||
// !$*UTF8*$!
|
||||
{
|
||||
archiveVersion = 1;
|
||||
classes = {
|
||||
};
|
||||
objectVersion = 46;
|
||||
objects = {
|
||||
|
||||
/* Begin PBXBuildFile section */
|
||||
5FDCBDF6171F2BF700FB7055 /* left-paper-128.png in Resources */ = {isa = PBXBuildFile; fileRef = 5FDCBDF3171F2BF700FB7055 /* left-paper-128.png */; };
|
||||
5FDCBDF7171F2BF700FB7055 /* left-rock-128.png in Resources */ = {isa = PBXBuildFile; fileRef = 5FDCBDF4171F2BF700FB7055 /* left-rock-128.png */; };
|
||||
5FDCBDF8171F2BF700FB7055 /* left-scissors-128.png in Resources */ = {isa = PBXBuildFile; fileRef = 5FDCBDF5171F2BF700FB7055 /* left-scissors-128.png */; };
|
||||
5FDCBDFC171F32A300FB7055 /* right-paper-128.png in Resources */ = {isa = PBXBuildFile; fileRef = 5FDCBDF9171F32A200FB7055 /* right-paper-128.png */; };
|
||||
5FDCBDFD171F32A300FB7055 /* right-rock-128.png in Resources */ = {isa = PBXBuildFile; fileRef = 5FDCBDFA171F32A300FB7055 /* right-rock-128.png */; };
|
||||
5FDCBDFE171F32A300FB7055 /* right-scissors-128.png in Resources */ = {isa = PBXBuildFile; fileRef = 5FDCBDFB171F32A300FB7055 /* right-scissors-128.png */; };
|
||||
5FDCBE00171F3DA900FB7055 /* left-paper-88.png in Resources */ = {isa = PBXBuildFile; fileRef = 5FDCBDFF171F3DA800FB7055 /* left-paper-88.png */; };
|
||||
5FDCBE02171F3DC200FB7055 /* left-rock-88.png in Resources */ = {isa = PBXBuildFile; fileRef = 5FDCBE01171F3DC200FB7055 /* left-rock-88.png */; };
|
||||
5FDCBE04171F3DC900FB7055 /* left-scissors-88.png in Resources */ = {isa = PBXBuildFile; fileRef = 5FDCBE03171F3DC900FB7055 /* left-scissors-88.png */; };
|
||||
5FDCBE06171F3DD000FB7055 /* right-paper-88.png in Resources */ = {isa = PBXBuildFile; fileRef = 5FDCBE05171F3DD000FB7055 /* right-paper-88.png */; };
|
||||
5FDCBE08171F3DD700FB7055 /* right-rock-88.png in Resources */ = {isa = PBXBuildFile; fileRef = 5FDCBE07171F3DD600FB7055 /* right-rock-88.png */; };
|
||||
5FDCBE0A171F3DDC00FB7055 /* right-scissors-88.png in Resources */ = {isa = PBXBuildFile; fileRef = 5FDCBE09171F3DDC00FB7055 /* right-scissors-88.png */; };
|
||||
84070D1B1540AA2B00E39703 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 84070D1A1540AA2B00E39703 /* UIKit.framework */; };
|
||||
84070D1D1540AA2B00E39703 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 84070D1C1540AA2B00E39703 /* Foundation.framework */; };
|
||||
84070D1F1540AA2B00E39703 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 84070D1E1540AA2B00E39703 /* CoreGraphics.framework */; };
|
||||
84070D251540AA2B00E39703 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 84070D231540AA2B00E39703 /* InfoPlist.strings */; };
|
||||
84070D271540AA2B00E39703 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 84070D261540AA2B00E39703 /* main.m */; };
|
||||
84070D2B1540AA2B00E39703 /* RPSAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 84070D2A1540AA2B00E39703 /* RPSAppDelegate.m */; };
|
||||
84070D2E1540AA2B00E39703 /* RPSGameViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 84070D2D1540AA2B00E39703 /* RPSGameViewController.m */; };
|
||||
84070D351540AA2B00E39703 /* RPSFriendsViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 84070D341540AA2B00E39703 /* RPSFriendsViewController.m */; };
|
||||
84070D3C1540AA2B00E39703 /* RPSGameViewController_iPhone.xib in Resources */ = {isa = PBXBuildFile; fileRef = 84070D3A1540AA2B00E39703 /* RPSGameViewController_iPhone.xib */; };
|
||||
84070D3F1540AA2B00E39703 /* RPSGameViewController_iPad.xib in Resources */ = {isa = PBXBuildFile; fileRef = 84070D3D1540AA2B00E39703 /* RPSGameViewController_iPad.xib */; };
|
||||
84070D421540AA2B00E39703 /* RPSFriendsViewController_iPhone.xib in Resources */ = {isa = PBXBuildFile; fileRef = 84070D401540AA2B00E39703 /* RPSFriendsViewController_iPhone.xib */; };
|
||||
84070D451540AA2B00E39703 /* RPSFriendsViewController_iPad.xib in Resources */ = {isa = PBXBuildFile; fileRef = 84070D431540AA2B00E39703 /* RPSFriendsViewController_iPad.xib */; };
|
||||
84C1E1D6171481E70037E406 /* RPSCommonObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = 84C1E1D5171481E70037E406 /* RPSCommonObjects.m */; };
|
||||
84EB807117033179007561AE /* AVFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 84EB807017033179007561AE /* AVFoundation.framework */; };
|
||||
84FF0AB71700AE880035CF65 /* IconFacebook-72@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 84FF0AB61700AE880035CF65 /* IconFacebook-72@2x.png */; };
|
||||
85AFB4CA158F9B8B000AF7F5 /* Icon-72.png in Resources */ = {isa = PBXBuildFile; fileRef = 85AFB4C6158F9B8B000AF7F5 /* Icon-72.png */; };
|
||||
85AFB4CB158F9B8B000AF7F5 /* Icon-72@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 85AFB4C7158F9B8B000AF7F5 /* Icon-72@2x.png */; };
|
||||
85AFB4CC158F9B8B000AF7F5 /* Icon.png in Resources */ = {isa = PBXBuildFile; fileRef = 85AFB4C8158F9B8B000AF7F5 /* Icon.png */; };
|
||||
85AFB4CD158F9B8B000AF7F5 /* Icon@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 85AFB4C9158F9B8B000AF7F5 /* Icon@2x.png */; };
|
||||
85C69D741602B098008AD9A0 /* Default-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 85C69D711602B098008AD9A0 /* Default-568h@2x.png */; };
|
||||
85C69D751602B098008AD9A0 /* Default.png in Resources */ = {isa = PBXBuildFile; fileRef = 85C69D721602B098008AD9A0 /* Default.png */; };
|
||||
85C69D761602B098008AD9A0 /* Default@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 85C69D731602B098008AD9A0 /* Default@2x.png */; };
|
||||
DD37EA7F15ABA42D0015966B /* FacebookSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DD37EA7E15ABA42D0015966B /* FacebookSDK.framework */; };
|
||||
DE1C9C2C15CC8FE400809B9E /* FBUserSettingsViewResources.bundle in Resources */ = {isa = PBXBuildFile; fileRef = DE1C9C2B15CC8FE400809B9E /* FBUserSettingsViewResources.bundle */; };
|
||||
/* End PBXBuildFile section */
|
||||
|
||||
/* Begin PBXFileReference section */
|
||||
5FDCBDF3171F2BF700FB7055 /* left-paper-128.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "left-paper-128.png"; sourceTree = "<group>"; };
|
||||
5FDCBDF4171F2BF700FB7055 /* left-rock-128.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "left-rock-128.png"; sourceTree = "<group>"; };
|
||||
5FDCBDF5171F2BF700FB7055 /* left-scissors-128.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "left-scissors-128.png"; sourceTree = "<group>"; };
|
||||
5FDCBDF9171F32A200FB7055 /* right-paper-128.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "right-paper-128.png"; sourceTree = "<group>"; };
|
||||
5FDCBDFA171F32A300FB7055 /* right-rock-128.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "right-rock-128.png"; sourceTree = "<group>"; };
|
||||
5FDCBDFB171F32A300FB7055 /* right-scissors-128.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "right-scissors-128.png"; sourceTree = "<group>"; };
|
||||
5FDCBDFF171F3DA800FB7055 /* left-paper-88.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "left-paper-88.png"; sourceTree = "<group>"; };
|
||||
5FDCBE01171F3DC200FB7055 /* left-rock-88.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "left-rock-88.png"; sourceTree = "<group>"; };
|
||||
5FDCBE03171F3DC900FB7055 /* left-scissors-88.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "left-scissors-88.png"; sourceTree = "<group>"; };
|
||||
5FDCBE05171F3DD000FB7055 /* right-paper-88.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "right-paper-88.png"; sourceTree = "<group>"; };
|
||||
5FDCBE07171F3DD600FB7055 /* right-rock-88.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "right-rock-88.png"; sourceTree = "<group>"; };
|
||||
5FDCBE09171F3DDC00FB7055 /* right-scissors-88.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "right-scissors-88.png"; sourceTree = "<group>"; };
|
||||
84070D161540AA2B00E39703 /* RPSSample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = RPSSample.app; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
84070D1A1540AA2B00E39703 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
|
||||
84070D1C1540AA2B00E39703 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
|
||||
84070D1E1540AA2B00E39703 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
|
||||
84070D221540AA2B00E39703 /* RPSSample-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "RPSSample-Info.plist"; sourceTree = "<group>"; };
|
||||
84070D241540AA2B00E39703 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
|
||||
84070D261540AA2B00E39703 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
|
||||
84070D281540AA2B00E39703 /* RPSSample-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "RPSSample-Prefix.pch"; sourceTree = "<group>"; };
|
||||
84070D291540AA2B00E39703 /* RPSAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RPSAppDelegate.h; sourceTree = "<group>"; };
|
||||
84070D2A1540AA2B00E39703 /* RPSAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RPSAppDelegate.m; sourceTree = "<group>"; };
|
||||
84070D2C1540AA2B00E39703 /* RPSGameViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RPSGameViewController.h; sourceTree = "<group>"; };
|
||||
84070D2D1540AA2B00E39703 /* RPSGameViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RPSGameViewController.m; sourceTree = "<group>"; };
|
||||
84070D331540AA2B00E39703 /* RPSFriendsViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RPSFriendsViewController.h; sourceTree = "<group>"; };
|
||||
84070D341540AA2B00E39703 /* RPSFriendsViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RPSFriendsViewController.m; sourceTree = "<group>"; };
|
||||
84070D3B1540AA2B00E39703 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/RPSGameViewController_iPhone.xib; sourceTree = "<group>"; };
|
||||
84070D3E1540AA2B00E39703 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/RPSGameViewController_iPad.xib; sourceTree = "<group>"; };
|
||||
84070D411540AA2B00E39703 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/RPSFriendsViewController_iPhone.xib; sourceTree = "<group>"; };
|
||||
84070D441540AA2B00E39703 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/RPSFriendsViewController_iPad.xib; sourceTree = "<group>"; };
|
||||
8409694E1545D10B00479AD9 /* OGProtocols.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OGProtocols.h; sourceTree = "<group>"; };
|
||||
84C1E1D5171481E70037E406 /* RPSCommonObjects.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RPSCommonObjects.m; sourceTree = "<group>"; };
|
||||
84EB807017033179007561AE /* AVFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AVFoundation.framework; path = System/Library/Frameworks/AVFoundation.framework; sourceTree = SDKROOT; };
|
||||
84FF0AB61700AE880035CF65 /* IconFacebook-72@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "IconFacebook-72@2x.png"; sourceTree = "<group>"; };
|
||||
85AFB4C6158F9B8B000AF7F5 /* Icon-72.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Icon-72.png"; sourceTree = "<group>"; };
|
||||
85AFB4C7158F9B8B000AF7F5 /* Icon-72@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Icon-72@2x.png"; sourceTree = "<group>"; };
|
||||
85AFB4C8158F9B8B000AF7F5 /* Icon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Icon.png; sourceTree = "<group>"; };
|
||||
85AFB4C9158F9B8B000AF7F5 /* Icon@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Icon@2x.png"; sourceTree = "<group>"; };
|
||||
85C69D711602B098008AD9A0 /* Default-568h@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default-568h@2x.png"; sourceTree = "<group>"; };
|
||||
85C69D721602B098008AD9A0 /* Default.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Default.png; sourceTree = "<group>"; };
|
||||
85C69D731602B098008AD9A0 /* Default@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default@2x.png"; sourceTree = "<group>"; };
|
||||
DD37EA7E15ABA42D0015966B /* FacebookSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = FacebookSDK.framework; path = ../../build/FacebookSDK.framework; sourceTree = "<group>"; };
|
||||
DE1C9C2B15CC8FE400809B9E /* FBUserSettingsViewResources.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; name = FBUserSettingsViewResources.bundle; path = ../../build/FacebookSDK.framework/Versions/A/Resources/FBUserSettingsViewResources.bundle; sourceTree = "<group>"; };
|
||||
/* End PBXFileReference section */
|
||||
|
||||
/* Begin PBXFrameworksBuildPhase section */
|
||||
84070D131540AA2B00E39703 /* Frameworks */ = {
|
||||
isa = PBXFrameworksBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
84EB807117033179007561AE /* AVFoundation.framework in Frameworks */,
|
||||
84070D1B1540AA2B00E39703 /* UIKit.framework in Frameworks */,
|
||||
84070D1D1540AA2B00E39703 /* Foundation.framework in Frameworks */,
|
||||
84070D1F1540AA2B00E39703 /* CoreGraphics.framework in Frameworks */,
|
||||
DD37EA7F15ABA42D0015966B /* FacebookSDK.framework in Frameworks */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXFrameworksBuildPhase section */
|
||||
|
||||
/* Begin PBXGroup section */
|
||||
84070D0B1540AA2B00E39703 = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
84070D201540AA2B00E39703 /* RPSSample */,
|
||||
84070D191540AA2B00E39703 /* Frameworks */,
|
||||
84070D171540AA2B00E39703 /* Products */,
|
||||
);
|
||||
indentWidth = 4;
|
||||
sourceTree = "<group>";
|
||||
tabWidth = 4;
|
||||
};
|
||||
84070D171540AA2B00E39703 /* Products */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
84070D161540AA2B00E39703 /* RPSSample.app */,
|
||||
);
|
||||
name = Products;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
84070D191540AA2B00E39703 /* Frameworks */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
84EB807017033179007561AE /* AVFoundation.framework */,
|
||||
DE1C9C2B15CC8FE400809B9E /* FBUserSettingsViewResources.bundle */,
|
||||
DD37EA7E15ABA42D0015966B /* FacebookSDK.framework */,
|
||||
84070D1A1540AA2B00E39703 /* UIKit.framework */,
|
||||
84070D1C1540AA2B00E39703 /* Foundation.framework */,
|
||||
84070D1E1540AA2B00E39703 /* CoreGraphics.framework */,
|
||||
);
|
||||
name = Frameworks;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
84070D201540AA2B00E39703 /* RPSSample */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
84C1E1D5171481E70037E406 /* RPSCommonObjects.m */,
|
||||
8409694E1545D10B00479AD9 /* OGProtocols.h */,
|
||||
84070D291540AA2B00E39703 /* RPSAppDelegate.h */,
|
||||
84070D2A1540AA2B00E39703 /* RPSAppDelegate.m */,
|
||||
84070D2C1540AA2B00E39703 /* RPSGameViewController.h */,
|
||||
84070D2D1540AA2B00E39703 /* RPSGameViewController.m */,
|
||||
84070D331540AA2B00E39703 /* RPSFriendsViewController.h */,
|
||||
84070D341540AA2B00E39703 /* RPSFriendsViewController.m */,
|
||||
84070D3A1540AA2B00E39703 /* RPSGameViewController_iPhone.xib */,
|
||||
84070D3D1540AA2B00E39703 /* RPSGameViewController_iPad.xib */,
|
||||
84070D401540AA2B00E39703 /* RPSFriendsViewController_iPhone.xib */,
|
||||
84070D431540AA2B00E39703 /* RPSFriendsViewController_iPad.xib */,
|
||||
84070D211540AA2B00E39703 /* Supporting Files */,
|
||||
);
|
||||
path = RPSSample;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
84070D211540AA2B00E39703 /* Supporting Files */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
5FDCBE01171F3DC200FB7055 /* left-rock-88.png */,
|
||||
5FDCBDFF171F3DA800FB7055 /* left-paper-88.png */,
|
||||
5FDCBE03171F3DC900FB7055 /* left-scissors-88.png */,
|
||||
5FDCBE07171F3DD600FB7055 /* right-rock-88.png */,
|
||||
5FDCBE05171F3DD000FB7055 /* right-paper-88.png */,
|
||||
5FDCBE09171F3DDC00FB7055 /* right-scissors-88.png */,
|
||||
5FDCBDF4171F2BF700FB7055 /* left-rock-128.png */,
|
||||
5FDCBDF3171F2BF700FB7055 /* left-paper-128.png */,
|
||||
5FDCBDF5171F2BF700FB7055 /* left-scissors-128.png */,
|
||||
5FDCBDFA171F32A300FB7055 /* right-rock-128.png */,
|
||||
5FDCBDF9171F32A200FB7055 /* right-paper-128.png */,
|
||||
5FDCBDFB171F32A300FB7055 /* right-scissors-128.png */,
|
||||
84FF0AB61700AE880035CF65 /* IconFacebook-72@2x.png */,
|
||||
85C69D711602B098008AD9A0 /* Default-568h@2x.png */,
|
||||
85C69D721602B098008AD9A0 /* Default.png */,
|
||||
85C69D731602B098008AD9A0 /* Default@2x.png */,
|
||||
85AFB4C6158F9B8B000AF7F5 /* Icon-72.png */,
|
||||
85AFB4C7158F9B8B000AF7F5 /* Icon-72@2x.png */,
|
||||
85AFB4C8158F9B8B000AF7F5 /* Icon.png */,
|
||||
85AFB4C9158F9B8B000AF7F5 /* Icon@2x.png */,
|
||||
84070D221540AA2B00E39703 /* RPSSample-Info.plist */,
|
||||
84070D231540AA2B00E39703 /* InfoPlist.strings */,
|
||||
84070D261540AA2B00E39703 /* main.m */,
|
||||
84070D281540AA2B00E39703 /* RPSSample-Prefix.pch */,
|
||||
);
|
||||
name = "Supporting Files";
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
/* End PBXGroup section */
|
||||
|
||||
/* Begin PBXNativeTarget section */
|
||||
84070D151540AA2B00E39703 /* RPSSample */ = {
|
||||
isa = PBXNativeTarget;
|
||||
buildConfigurationList = 84070D481540AA2B00E39703 /* Build configuration list for PBXNativeTarget "RPSSample" */;
|
||||
buildPhases = (
|
||||
84070D121540AA2B00E39703 /* Sources */,
|
||||
84070D131540AA2B00E39703 /* Frameworks */,
|
||||
84070D141540AA2B00E39703 /* Resources */,
|
||||
);
|
||||
buildRules = (
|
||||
);
|
||||
dependencies = (
|
||||
);
|
||||
name = RPSSample;
|
||||
productName = RPSSample;
|
||||
productReference = 84070D161540AA2B00E39703 /* RPSSample.app */;
|
||||
productType = "com.apple.product-type.application";
|
||||
};
|
||||
/* End PBXNativeTarget section */
|
||||
|
||||
/* Begin PBXProject section */
|
||||
84070D0D1540AA2B00E39703 /* Project object */ = {
|
||||
isa = PBXProject;
|
||||
attributes = {
|
||||
LastUpgradeCheck = 0460;
|
||||
};
|
||||
buildConfigurationList = 84070D101540AA2B00E39703 /* Build configuration list for PBXProject "RPSSample" */;
|
||||
compatibilityVersion = "Xcode 3.2";
|
||||
developmentRegion = English;
|
||||
hasScannedForEncodings = 0;
|
||||
knownRegions = (
|
||||
en,
|
||||
he,
|
||||
);
|
||||
mainGroup = 84070D0B1540AA2B00E39703;
|
||||
productRefGroup = 84070D171540AA2B00E39703 /* Products */;
|
||||
projectDirPath = "";
|
||||
projectRoot = "";
|
||||
targets = (
|
||||
84070D151540AA2B00E39703 /* RPSSample */,
|
||||
);
|
||||
};
|
||||
/* End PBXProject section */
|
||||
|
||||
/* Begin PBXResourcesBuildPhase section */
|
||||
84070D141540AA2B00E39703 /* Resources */ = {
|
||||
isa = PBXResourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
84070D251540AA2B00E39703 /* InfoPlist.strings in Resources */,
|
||||
84070D3C1540AA2B00E39703 /* RPSGameViewController_iPhone.xib in Resources */,
|
||||
84070D3F1540AA2B00E39703 /* RPSGameViewController_iPad.xib in Resources */,
|
||||
84070D421540AA2B00E39703 /* RPSFriendsViewController_iPhone.xib in Resources */,
|
||||
84070D451540AA2B00E39703 /* RPSFriendsViewController_iPad.xib in Resources */,
|
||||
85AFB4CA158F9B8B000AF7F5 /* Icon-72.png in Resources */,
|
||||
85AFB4CB158F9B8B000AF7F5 /* Icon-72@2x.png in Resources */,
|
||||
85AFB4CC158F9B8B000AF7F5 /* Icon.png in Resources */,
|
||||
85AFB4CD158F9B8B000AF7F5 /* Icon@2x.png in Resources */,
|
||||
DE1C9C2C15CC8FE400809B9E /* FBUserSettingsViewResources.bundle in Resources */,
|
||||
85C69D741602B098008AD9A0 /* Default-568h@2x.png in Resources */,
|
||||
85C69D751602B098008AD9A0 /* Default.png in Resources */,
|
||||
85C69D761602B098008AD9A0 /* Default@2x.png in Resources */,
|
||||
84FF0AB71700AE880035CF65 /* IconFacebook-72@2x.png in Resources */,
|
||||
5FDCBDF6171F2BF700FB7055 /* left-paper-128.png in Resources */,
|
||||
5FDCBDF7171F2BF700FB7055 /* left-rock-128.png in Resources */,
|
||||
5FDCBDF8171F2BF700FB7055 /* left-scissors-128.png in Resources */,
|
||||
5FDCBDFC171F32A300FB7055 /* right-paper-128.png in Resources */,
|
||||
5FDCBDFD171F32A300FB7055 /* right-rock-128.png in Resources */,
|
||||
5FDCBDFE171F32A300FB7055 /* right-scissors-128.png in Resources */,
|
||||
5FDCBE00171F3DA900FB7055 /* left-paper-88.png in Resources */,
|
||||
5FDCBE02171F3DC200FB7055 /* left-rock-88.png in Resources */,
|
||||
5FDCBE04171F3DC900FB7055 /* left-scissors-88.png in Resources */,
|
||||
5FDCBE06171F3DD000FB7055 /* right-paper-88.png in Resources */,
|
||||
5FDCBE08171F3DD700FB7055 /* right-rock-88.png in Resources */,
|
||||
5FDCBE0A171F3DDC00FB7055 /* right-scissors-88.png in Resources */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXResourcesBuildPhase section */
|
||||
|
||||
/* Begin PBXSourcesBuildPhase section */
|
||||
84070D121540AA2B00E39703 /* Sources */ = {
|
||||
isa = PBXSourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
84070D271540AA2B00E39703 /* main.m in Sources */,
|
||||
84070D2B1540AA2B00E39703 /* RPSAppDelegate.m in Sources */,
|
||||
84070D2E1540AA2B00E39703 /* RPSGameViewController.m in Sources */,
|
||||
84070D351540AA2B00E39703 /* RPSFriendsViewController.m in Sources */,
|
||||
84C1E1D6171481E70037E406 /* RPSCommonObjects.m in Sources */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXSourcesBuildPhase section */
|
||||
|
||||
/* Begin PBXVariantGroup section */
|
||||
84070D231540AA2B00E39703 /* InfoPlist.strings */ = {
|
||||
isa = PBXVariantGroup;
|
||||
children = (
|
||||
84070D241540AA2B00E39703 /* en */,
|
||||
);
|
||||
name = InfoPlist.strings;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
84070D3A1540AA2B00E39703 /* RPSGameViewController_iPhone.xib */ = {
|
||||
isa = PBXVariantGroup;
|
||||
children = (
|
||||
84070D3B1540AA2B00E39703 /* en */,
|
||||
);
|
||||
name = RPSGameViewController_iPhone.xib;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
84070D3D1540AA2B00E39703 /* RPSGameViewController_iPad.xib */ = {
|
||||
isa = PBXVariantGroup;
|
||||
children = (
|
||||
84070D3E1540AA2B00E39703 /* en */,
|
||||
);
|
||||
name = RPSGameViewController_iPad.xib;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
84070D401540AA2B00E39703 /* RPSFriendsViewController_iPhone.xib */ = {
|
||||
isa = PBXVariantGroup;
|
||||
children = (
|
||||
84070D411540AA2B00E39703 /* en */,
|
||||
);
|
||||
name = RPSFriendsViewController_iPhone.xib;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
84070D431540AA2B00E39703 /* RPSFriendsViewController_iPad.xib */ = {
|
||||
isa = PBXVariantGroup;
|
||||
children = (
|
||||
84070D441540AA2B00E39703 /* en */,
|
||||
);
|
||||
name = RPSFriendsViewController_iPad.xib;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
/* End PBXVariantGroup section */
|
||||
|
||||
/* Begin XCBuildConfiguration section */
|
||||
84070D461540AA2B00E39703 /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
|
||||
CLANG_ENABLE_OBJC_ARC = YES;
|
||||
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
||||
CLANG_WARN_ENUM_CONVERSION = YES;
|
||||
CLANG_WARN_INT_CONVERSION = YES;
|
||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
||||
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
|
||||
COPY_PHASE_STRIP = NO;
|
||||
GCC_C_LANGUAGE_STANDARD = gnu99;
|
||||
GCC_DYNAMIC_NO_PIC = NO;
|
||||
GCC_OPTIMIZATION_LEVEL = 0;
|
||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
"DEBUG=1",
|
||||
"$(inherited)",
|
||||
);
|
||||
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
|
||||
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
|
||||
GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
|
||||
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
||||
GCC_WARN_UNINITIALIZED_AUTOS = YES;
|
||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 5.0;
|
||||
SDKROOT = iphoneos;
|
||||
TARGETED_DEVICE_FAMILY = "1,2";
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
84070D471540AA2B00E39703 /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
|
||||
CLANG_ENABLE_OBJC_ARC = YES;
|
||||
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
||||
CLANG_WARN_ENUM_CONVERSION = YES;
|
||||
CLANG_WARN_INT_CONVERSION = YES;
|
||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
||||
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
|
||||
COPY_PHASE_STRIP = YES;
|
||||
GCC_C_LANGUAGE_STANDARD = gnu99;
|
||||
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
|
||||
GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
|
||||
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
||||
GCC_WARN_UNINITIALIZED_AUTOS = YES;
|
||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 5.0;
|
||||
OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1";
|
||||
SDKROOT = iphoneos;
|
||||
TARGETED_DEVICE_FAMILY = "1,2";
|
||||
VALIDATE_PRODUCT = YES;
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
84070D491540AA2B00E39703 /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
FRAMEWORK_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
"\"$(SRCROOT)/../../build\"",
|
||||
);
|
||||
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
||||
GCC_PREFIX_HEADER = "RPSSample/RPSSample-Prefix.pch";
|
||||
INFOPLIST_FILE = "RPSSample/RPSSample-Info.plist";
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 5.0;
|
||||
OTHER_LDFLAGS = "-ObjC";
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
WRAPPER_EXTENSION = app;
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
84070D4A1540AA2B00E39703 /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
FRAMEWORK_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
"\"$(SRCROOT)/../../build\"",
|
||||
);
|
||||
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
||||
GCC_PREFIX_HEADER = "RPSSample/RPSSample-Prefix.pch";
|
||||
INFOPLIST_FILE = "RPSSample/RPSSample-Info.plist";
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 5.0;
|
||||
OTHER_LDFLAGS = "-ObjC";
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
WRAPPER_EXTENSION = app;
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
/* End XCBuildConfiguration section */
|
||||
|
||||
/* Begin XCConfigurationList section */
|
||||
84070D101540AA2B00E39703 /* Build configuration list for PBXProject "RPSSample" */ = {
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
84070D461540AA2B00E39703 /* Debug */,
|
||||
84070D471540AA2B00E39703 /* Release */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
};
|
||||
84070D481540AA2B00E39703 /* Build configuration list for PBXNativeTarget "RPSSample" */ = {
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
84070D491540AA2B00E39703 /* Debug */,
|
||||
84070D4A1540AA2B00E39703 /* Release */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
};
|
||||
/* End XCConfigurationList section */
|
||||
};
|
||||
rootObject = 84070D0D1540AA2B00E39703 /* Project object */;
|
||||
}
|
||||
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 6.4 KiB |
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 25 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 21 KiB |
|
After Width: | Height: | Size: 5.6 KiB |
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
* Copyright 2010-present Facebook.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import <FacebookSDK/FacebookSDK.h>
|
||||
|
||||
// FBSample logic
|
||||
// The protocols here show how to setup typed access to graph and open graph objects.
|
||||
// The SDK automatically implements the properties of any protocol derived from
|
||||
// FBGraphObject in terms of objectForKey and setObject:forKey; allowing applications
|
||||
// to describe the expected structure of the objects used by the application in a
|
||||
// lightweight and maintanable fashion. See the FBGraphObject.h header file for more
|
||||
// details about FBGraphObject and related types.
|
||||
|
||||
// RPSGraphGesture protocol (graph accessors)
|
||||
//
|
||||
// Summary:
|
||||
// Used to create and consume Gesture open graph objects
|
||||
@protocol RPSGraphGesture<FBGraphObject>
|
||||
|
||||
@property (retain, nonatomic) NSString *id;
|
||||
@property (retain, nonatomic) NSString *url;
|
||||
@property (retain, nonatomic) NSString *title;
|
||||
|
||||
@end
|
||||
|
||||
// RPSGraphThrowAction protocol (graph accessors)
|
||||
//
|
||||
// Summary:
|
||||
// Used to create and consume Throw open graph actions
|
||||
@protocol RPSGraphThrowAction<FBOpenGraphAction>
|
||||
|
||||
@property (retain, nonatomic) id<RPSGraphGesture> gesture;
|
||||
@property (retain, nonatomic) id<RPSGraphGesture> opposing_gesture;
|
||||
|
||||
@end
|
||||
|
||||
// RPSGraphPublishedThrowAction protocol (graph accessors)
|
||||
//
|
||||
// Summary:
|
||||
// Used to consume published Throw open graph actions
|
||||
@protocol RPSGraphPublishedThrowAction<FBOpenGraphAction>
|
||||
|
||||
@property (retain, nonatomic) id<RPSGraphThrowAction> data;
|
||||
@property (retain, nonatomic) NSNumber *publish_time;
|
||||
@property (retain, nonatomic) NSDate *publish_date;
|
||||
|
||||
@end
|
||||
|
||||
// RPSGraphActionList protocol (graph accessors)
|
||||
//
|
||||
// Summary:
|
||||
// Used to consume published collections of open graph actions
|
||||
@protocol RPSGraphActionList<FBOpenGraphAction>
|
||||
|
||||
@property (retain, nonatomic) NSArray *data;
|
||||
|
||||
@end
|
||||
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
/*
|
||||
* Copyright 2010-present Facebook.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
#import <FacebookSDK/FacebookSDK.h>
|
||||
|
||||
// Boolean OG (Rock the Logic!) sample application
|
||||
//
|
||||
// The purpose of this sample application is to provide an example of
|
||||
// how to publish and read Open Graph actions with Facebook. The goal
|
||||
// of the sample is to show how to use FBRequest, FBRequestConnection,
|
||||
// and FBSession classes, as well as the FBOpenGraphAction protocol and
|
||||
// related types in order to create a social app using Open Graph
|
||||
|
||||
@interface RPSAppDelegate : UIResponder <UIApplicationDelegate, UITabBarControllerDelegate>
|
||||
|
||||
@property (strong, nonatomic) UIWindow *window;
|
||||
//@property (strong, nonatomic) UITabBarController *tabBarController;
|
||||
@property (strong, nonatomic) UINavigationController *navigationController;
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* Copyright 2010-present Facebook.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#import "RPSAppDelegate.h"
|
||||
#import "RPSGameViewController.h"
|
||||
#import "RPSFriendsViewController.h"
|
||||
|
||||
@implementation RPSAppDelegate
|
||||
|
||||
- (BOOL)application:(UIApplication *)application
|
||||
openURL:(NSURL *)url
|
||||
sourceApplication:(NSString *)sourceApplication
|
||||
annotation:(id)annotation {
|
||||
return [FBAppCall handleOpenURL:url
|
||||
sourceApplication:sourceApplication];
|
||||
}
|
||||
|
||||
- (void)applicationDidBecomeActive:(UIApplication *)application {
|
||||
[FBAppEvents activateApp];
|
||||
[FBAppCall handleDidBecomeActive];
|
||||
}
|
||||
|
||||
- (void)applicationWillTerminate:(UIApplication *)application {
|
||||
// all good things must come to an end
|
||||
// this is a good idea because things may be hanging off the session, that need
|
||||
// releasing (completion block, etc.) and other components in the app may be awaiting
|
||||
// close notification in order to do cleanup
|
||||
[FBSession.activeSession close];
|
||||
}
|
||||
|
||||
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
|
||||
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
|
||||
// Override point for customization after application launch.
|
||||
|
||||
#ifdef DEBUG
|
||||
[FBSettings enableBetaFeature:FBBetaFeaturesOpenGraphShareDialog | FBBetaFeaturesShareDialog];
|
||||
#endif
|
||||
UIViewController *viewControllerGame;
|
||||
FBUserSettingsViewController *viewControllerSettings;
|
||||
if ([[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPhone) {
|
||||
viewControllerGame = [[RPSGameViewController alloc] initWithNibName:@"RPSGameViewController_iPhone" bundle:nil];
|
||||
} else {
|
||||
viewControllerGame = [[RPSGameViewController alloc] initWithNibName:@"RPSGameViewController_iPad" bundle:nil];
|
||||
}
|
||||
viewControllerSettings = [[FBUserSettingsViewController alloc] init];
|
||||
viewControllerSettings.title = @"Facebook Settings";
|
||||
viewControllerSettings.tabBarItem.image = [UIImage imageNamed:@"second"];
|
||||
|
||||
self.navigationController = [[UINavigationController alloc] initWithRootViewController:viewControllerGame];
|
||||
self.window.rootViewController = self.navigationController;
|
||||
[self.window makeKeyAndVisible];
|
||||
|
||||
[FBSession openActiveSessionWithAllowLoginUI:NO];
|
||||
|
||||
return YES;
|
||||
}
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,20 @@
|
||||
/*
|
||||
* Copyright 2010-present Facebook.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
NSString *builtInOpenGraphObjects[3] = {
|
||||
@"349677488467004", // rock
|
||||
@"231845580291424", // paper
|
||||
@"120373648159839"}; // scissors
|
||||
@@ -0,0 +1,28 @@
|
||||
/*
|
||||
* Copyright 2010-present Facebook.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
#import <FacebookSDK/FacebookSDK.h>
|
||||
|
||||
@interface RPSFriendsViewController : FBFriendPickerViewController
|
||||
|
||||
@property (strong, nonatomic) IBOutlet UITextView *activityTextView;
|
||||
|
||||
@property (unsafe_unretained, nonatomic) IBOutlet UIButton *inviteButton;
|
||||
|
||||
- (IBAction)clickInviteFriends:(id)sender;
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,235 @@
|
||||
/*
|
||||
* Copyright 2010-present Facebook.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#import "RPSFriendsViewController.h"
|
||||
#import "RPSAppDelegate.h"
|
||||
#import "OGProtocols.h"
|
||||
|
||||
@interface RPSFriendsViewController () <FBFriendPickerDelegate, UIAlertViewDelegate>
|
||||
|
||||
@property (readwrite, nonatomic, copy) NSString *fbidSelection;
|
||||
@property (readwrite, nonatomic, retain) FBFrictionlessRecipientCache *friendCache;
|
||||
|
||||
- (void)updateActivityForID:(NSString *)fbid;
|
||||
|
||||
@end
|
||||
|
||||
@implementation RPSFriendsViewController
|
||||
|
||||
@synthesize activityTextView = _activityTextView;
|
||||
@synthesize friendCache = _friendCache;
|
||||
|
||||
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil {
|
||||
self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
|
||||
if (self) {
|
||||
self.title = NSLocalizedString(@"Rock w/Friends", @"Rock w/Friends");
|
||||
self.fieldsForRequest = [NSSet setWithObject:@"installed"];
|
||||
self.allowsMultipleSelection = NO;
|
||||
self.delegate = self;
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
- (void)viewDidLoad {
|
||||
[super viewDidLoad];
|
||||
self.doneButton = nil;
|
||||
}
|
||||
|
||||
- (void)refreshView {
|
||||
[self loadData];
|
||||
|
||||
// we use frictionless requests, so let's get a cache and request the
|
||||
// current list of frictionless friends before enabling the invite button
|
||||
if (!self.friendCache) {
|
||||
self.friendCache = [[FBFrictionlessRecipientCache alloc] init];
|
||||
[self.friendCache prefetchAndCacheForSession:nil
|
||||
completionHandler:^(FBRequestConnection *connection, id result, NSError *error) {
|
||||
|
||||
self.inviteButton.enabled = YES;
|
||||
}];
|
||||
} else {
|
||||
// if we already have a primed cache, let's just run with it
|
||||
self.inviteButton.enabled = YES;
|
||||
}
|
||||
}
|
||||
|
||||
#pragma mark - View lifecycle
|
||||
|
||||
- (void)viewDidAppear:(BOOL)animated {
|
||||
[super viewDidAppear:animated];
|
||||
if (FBSession.activeSession.isOpen) {
|
||||
[self refreshView];
|
||||
} else {
|
||||
self.inviteButton.enabled = NO;
|
||||
self.friendCache = nil;
|
||||
|
||||
// display the message that we have
|
||||
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Log In with Facebook"
|
||||
message:@"When you Log In with Facebook, you can view "
|
||||
@"friends' activity within Rock Paper Scissors, and "
|
||||
@"invite friends to play.\n\n"
|
||||
@"What would you like to do?"
|
||||
delegate:self
|
||||
cancelButtonTitle:@"Do Nothing"
|
||||
otherButtonTitles:@"Log In", nil];
|
||||
[alert show];
|
||||
}
|
||||
}
|
||||
|
||||
- (void)viewDidUnload {
|
||||
self.activityTextView = nil;
|
||||
|
||||
[self setInviteButton:nil];
|
||||
[super viewDidUnload];
|
||||
}
|
||||
|
||||
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
|
||||
// Return YES for supported orientations
|
||||
if ([[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPhone) {
|
||||
return (interfaceOrientation != UIInterfaceOrientationPortraitUpsideDown);
|
||||
} else {
|
||||
return YES;
|
||||
}
|
||||
}
|
||||
|
||||
#pragma mark - FBFriendPickerDelegate implementation
|
||||
|
||||
// FBSample logic
|
||||
// The following two methods implement the FBFriendPickerDelegate protocol. This shows an example of two
|
||||
// interesting SDK features: 1) filtering support in the friend picker, 2) the "installed" field field when
|
||||
// fetching me/friends. Filtering lets you choose whether or not to display each friend, based on application
|
||||
// determined criteria; the installed field is present (and true) if the friend is also a user of the calling
|
||||
// application.
|
||||
|
||||
- (void)friendPickerViewControllerSelectionDidChange:(FBFriendPickerViewController *)friendPicker {
|
||||
self.activityTextView.text = @"";
|
||||
if (friendPicker.selection.count) {
|
||||
[self updateActivityForID:[[friendPicker.selection objectAtIndex:0] id]];
|
||||
} else {
|
||||
self.fbidSelection = nil;
|
||||
}
|
||||
}
|
||||
|
||||
- (BOOL)friendPickerViewController:(FBFriendPickerViewController *)friendPicker
|
||||
shouldIncludeUser:(id <FBGraphUser>)user {
|
||||
return [[user objectForKey:@"installed"] boolValue];
|
||||
}
|
||||
|
||||
#pragma mark - private methods
|
||||
|
||||
// FBSample logic
|
||||
// This is the workhorse method of this view. It updates the textView with the activity of a given user. It
|
||||
// accomplishes this by fetching the "throw" actions for the selected user.
|
||||
- (void)updateActivityForID:(NSString *)fbid {
|
||||
|
||||
// keep track of the selction
|
||||
self.fbidSelection = fbid;
|
||||
|
||||
// create a request for the "throw" activity
|
||||
FBRequest *playActivity = [FBRequest requestForGraphPath:[NSString stringWithFormat:@"%@/fb_sample_rps:throw", fbid]];
|
||||
[playActivity.parameters setObject:@"U" forKey:@"date_format"];
|
||||
|
||||
// this block is the one that does the real handling work for the requests
|
||||
void (^handleBlock)(id) = ^(id<RPSGraphActionList> result) {
|
||||
if (result) {
|
||||
for (id<RPSGraphPublishedThrowAction> entry in result.data) {
|
||||
// we translate the date into something useful for sorting and displaying
|
||||
entry.publish_date = [NSDate dateWithTimeIntervalSince1970:entry.publish_time.intValue];
|
||||
}
|
||||
}
|
||||
|
||||
// sort the array by date
|
||||
NSMutableArray *activity = [NSMutableArray arrayWithArray:result.data];
|
||||
[activity sortUsingComparator:^NSComparisonResult(id<RPSGraphPublishedThrowAction> obj1,
|
||||
id<RPSGraphPublishedThrowAction> obj2) {
|
||||
if (obj1.publish_date && obj2.publish_date) {
|
||||
return [obj2.publish_date compare:obj1.publish_date];
|
||||
}
|
||||
return NSOrderedSame;
|
||||
}];
|
||||
|
||||
NSMutableString *output = [NSMutableString string];
|
||||
for (id<RPSGraphPublishedThrowAction> entry in activity) {
|
||||
NSDateComponents *c = [[NSCalendar currentCalendar]
|
||||
components:NSDayCalendarUnit | NSMonthCalendarUnit | NSYearCalendarUnit
|
||||
fromDate:entry.publish_date];
|
||||
[output appendFormat:@"%02d/%02d/%02d - %@ %@ %@\n",
|
||||
c.month,
|
||||
c.day,
|
||||
c.year,
|
||||
entry.data.gesture.title,
|
||||
@"vs",
|
||||
entry.data.opposing_gesture.title];
|
||||
}
|
||||
self.activityTextView.text = output;
|
||||
};
|
||||
|
||||
// this is an example of a batch request using FBRequestConnection; we accomplish this by adding
|
||||
// two request objects to the connection, and then calling start; note that each request handles its
|
||||
// own response, despite the fact that the SDK is serializing them into a single request to the server
|
||||
FBRequestConnection *connection = [[FBRequestConnection alloc] init];
|
||||
[connection addRequest:playActivity
|
||||
completionHandler:^(FBRequestConnection *connection, id result, NSError *error) {
|
||||
handleBlock(result);
|
||||
}];
|
||||
// start the actual request
|
||||
[connection start];
|
||||
}
|
||||
|
||||
- (IBAction)clickInviteFriends:(id)sender {
|
||||
// if there is a selected user, seed the dialog with that user
|
||||
NSDictionary *parameters = self.fbidSelection ? @{@"to":self.fbidSelection} : nil;
|
||||
[FBWebDialogs presentRequestsDialogModallyWithSession:nil
|
||||
message:@"Please come play RPS with me!"
|
||||
title:@"Invite a Friend"
|
||||
parameters:parameters
|
||||
handler:^(FBWebDialogResult result, NSURL *resultURL, NSError *error) {
|
||||
if (result == FBWebDialogResultDialogCompleted) {
|
||||
NSLog(@"Web dialog complete: %@", resultURL);
|
||||
} else {
|
||||
NSLog(@"Web dialog not complete, error: %@", error.description);
|
||||
}
|
||||
}
|
||||
friendCache:self.friendCache];
|
||||
}
|
||||
|
||||
- (void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex {
|
||||
switch (buttonIndex) {
|
||||
case 0: // do nothing
|
||||
[self.navigationController popToRootViewControllerAnimated:YES];
|
||||
break;
|
||||
case 1: { // log in
|
||||
// we will update the view *once* upon successful login
|
||||
__block RPSFriendsViewController *me = self;
|
||||
[FBSession openActiveSessionWithReadPermissions:nil
|
||||
allowLoginUI:YES
|
||||
completionHandler:^(FBSession *session, FBSessionState status, NSError *error) {
|
||||
if (me) {
|
||||
if (session.isOpen) {
|
||||
[me refreshView];
|
||||
} else {
|
||||
[me.navigationController popToRootViewControllerAnimated:YES];
|
||||
}
|
||||
me = nil;
|
||||
}
|
||||
}];
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Copyright 2010-present Facebook.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface RPSGameViewController : UIViewController
|
||||
|
||||
@property (unsafe_unretained, nonatomic) IBOutlet UILabel *rockLabel;
|
||||
@property (unsafe_unretained, nonatomic) IBOutlet UILabel *paperLabel;
|
||||
@property (unsafe_unretained, nonatomic) IBOutlet UILabel *scissorsLabel;
|
||||
|
||||
@property (unsafe_unretained, nonatomic) IBOutlet UILabel *shootLabel;
|
||||
|
||||
@property (unsafe_unretained, nonatomic) IBOutlet UIImageView *playerHand;
|
||||
@property (unsafe_unretained, nonatomic) IBOutlet UIImageView *computerHand;
|
||||
|
||||
@property (unsafe_unretained, nonatomic) IBOutlet UIButton *rockButton;
|
||||
@property (unsafe_unretained, nonatomic) IBOutlet UIButton *paperButton;
|
||||
@property (unsafe_unretained, nonatomic) IBOutlet UIButton *scissorsButton;
|
||||
|
||||
@property (unsafe_unretained, nonatomic) IBOutlet UIButton *againButton;
|
||||
@property (unsafe_unretained, nonatomic) IBOutlet UIButton *facebookButton;
|
||||
|
||||
@property (unsafe_unretained, nonatomic) IBOutlet UILabel *resultLabel;
|
||||
@property (unsafe_unretained, nonatomic) IBOutlet UILabel *scoreLabel;
|
||||
|
||||
- (IBAction)clickRPSButton:(id)sender;
|
||||
- (IBAction)clickAgainButton:(id)sender;
|
||||
- (IBAction)clickFacebookButton:(id)sender;
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,517 @@
|
||||
/*
|
||||
* Copyright 2010-present Facebook.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#import "RPSGameViewController.h"
|
||||
#import "RPSAppDelegate.h"
|
||||
#import <FacebookSDK/FacebookSDK.h>
|
||||
#import <QuartzCore/QuartzCore.h>
|
||||
#import "OGProtocols.h"
|
||||
#import "RPSFriendsViewController.h"
|
||||
#import <AVFoundation/AVFoundation.h>
|
||||
|
||||
typedef enum {
|
||||
RPSCallNone = -1, RPSCallRock = 0, RPSCallPaper = 1, RPSCallScissors = 2 // enum is also used to index arrays
|
||||
} RPSCall;
|
||||
|
||||
typedef enum {
|
||||
RPSResultWin = 0, RPSResultLoss = 1, RPSResultTie = 2
|
||||
} RPSResult;
|
||||
|
||||
// Some constants for creating Open Graph objects.
|
||||
static NSString *kResults[] = {
|
||||
@"won",
|
||||
@"lost",
|
||||
@"tied"
|
||||
};
|
||||
|
||||
// We upload photos for games, but we'd like to reuse the same objects during a session.
|
||||
static NSString *photoURLs[] = {
|
||||
nil,
|
||||
nil,
|
||||
nil
|
||||
};
|
||||
|
||||
extern NSString *builtInOpenGraphObjects[3];
|
||||
|
||||
typedef void (^RPSBlock)(void);
|
||||
|
||||
@interface RPSGameViewController () <UIActionSheetDelegate, UIAlertViewDelegate>
|
||||
@end
|
||||
|
||||
@implementation RPSGameViewController {
|
||||
BOOL _needsInitialAnimation;
|
||||
BOOL _interestedInImplicitShare;
|
||||
RPSCall _lastPlayerCall, _lastComputerCall;
|
||||
UIImage *_rightImages[3];
|
||||
UIImage *_leftImages[3];
|
||||
UIImage *_imagesToPublish[3];
|
||||
RPSBlock _alertOkHandler;
|
||||
int _wins, _losses, _ties;
|
||||
}
|
||||
|
||||
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil {
|
||||
self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
|
||||
if (self) {
|
||||
self.title = NSLocalizedString(@"You Rock!", @"You Rock!");
|
||||
self.tabBarItem.image = [UIImage imageNamed:@"first"];
|
||||
|
||||
BOOL ipad = ([[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPad);
|
||||
|
||||
NSString *rockRight = ipad ? @"right-rock-128.png" : @"right-rock-88.png";
|
||||
NSString *paperRight = ipad ? @"right-paper-128.png" : @"right-paper-88.png";
|
||||
NSString *scissorsRight = ipad ? @"right-scissors-128.png" : @"right-scissors-88.png";
|
||||
|
||||
NSString *rockLeft = ipad ? @"left-rock-128.png" : @"left-rock-88.png";
|
||||
NSString *paperLeft = ipad ? @"left-paper-128.png" : @"left-paper-88.png";
|
||||
NSString *scissorsLeft = ipad ? @"left-scissors-128.png" : @"left-scissors-88.png";
|
||||
|
||||
_rightImages[RPSCallRock] = [UIImage imageNamed:rockRight];
|
||||
_rightImages[RPSCallPaper] = [UIImage imageNamed:paperRight];
|
||||
_rightImages[RPSCallScissors] = [UIImage imageNamed:scissorsRight];
|
||||
|
||||
_leftImages[RPSCallRock] = [UIImage imageNamed:rockLeft];
|
||||
_leftImages[RPSCallPaper] = [UIImage imageNamed:paperLeft];
|
||||
_leftImages[RPSCallScissors] = [UIImage imageNamed:scissorsLeft];
|
||||
|
||||
_imagesToPublish[RPSCallRock] = [UIImage imageNamed:@"left-rock-128.png"];
|
||||
_imagesToPublish[RPSCallPaper] = [UIImage imageNamed:@"left-paper-128.png"];
|
||||
_imagesToPublish[RPSCallScissors] = [UIImage imageNamed:@"left-scissors-128.png"];
|
||||
|
||||
_lastPlayerCall = _lastComputerCall = RPSCallNone;
|
||||
_wins = _losses = _ties = 0;
|
||||
_alertOkHandler = nil;
|
||||
_needsInitialAnimation = YES;
|
||||
_interestedInImplicitShare = YES;
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
- (void)viewDidLoad {
|
||||
UIColor *fontColor = self.rockLabel.textColor;
|
||||
[self.rockButton.layer setCornerRadius:8.0];
|
||||
[self.rockButton.layer setBorderWidth:4.0];
|
||||
[self.rockButton.layer setBorderColor:fontColor.CGColor];
|
||||
self.rockButton.clipsToBounds = YES;
|
||||
self.rockButton.tag = RPSCallRock;
|
||||
|
||||
[self.paperButton.layer setCornerRadius:8.0];
|
||||
[self.paperButton.layer setBorderWidth:4.0];
|
||||
[self.paperButton.layer setBorderColor:fontColor.CGColor];
|
||||
self.paperButton.clipsToBounds = YES;
|
||||
self.paperButton.tag = RPSCallPaper;
|
||||
|
||||
[self.scissorsButton.layer setCornerRadius:8.0];
|
||||
[self.scissorsButton.layer setBorderWidth:4.0];
|
||||
[self.scissorsButton.layer setBorderColor:fontColor.CGColor];
|
||||
self.scissorsButton.clipsToBounds = YES;
|
||||
self.scissorsButton.tag = RPSCallScissors;
|
||||
|
||||
[self.againButton.layer setCornerRadius:8.0];
|
||||
[self.againButton.layer setBorderWidth:4.0];
|
||||
[self.againButton.layer setBorderColor:fontColor.CGColor];
|
||||
|
||||
[self.computerHand.layer setCornerRadius:8.0];
|
||||
self.computerHand.layer.shadowColor = [UIColor blackColor].CGColor;
|
||||
self.computerHand.layer.shadowOpacity = 0.5;
|
||||
self.computerHand.layer.shadowRadius = 8;
|
||||
self.computerHand.layer.shadowOffset = CGSizeMake(12.0f, 12.0f);
|
||||
self.computerHand.clipsToBounds = YES;
|
||||
|
||||
[self.playerHand.layer setCornerRadius:8.0];
|
||||
self.playerHand.layer.shadowColor = [UIColor blackColor].CGColor;
|
||||
self.playerHand.layer.shadowOpacity = 0.5;
|
||||
self.playerHand.layer.shadowRadius = 8;
|
||||
self.playerHand.layer.shadowOffset = CGSizeMake(12.0f, 12.0f);
|
||||
self.playerHand.clipsToBounds = YES;
|
||||
|
||||
[self.facebookButton.layer setCornerRadius:8.0];
|
||||
[self.facebookButton.layer setBorderWidth:4.0];
|
||||
[self.facebookButton.layer setBorderColor:fontColor.CGColor];
|
||||
self.facebookButton.clipsToBounds = YES;
|
||||
|
||||
[self updateScoreLabel];
|
||||
[self resetField];
|
||||
}
|
||||
|
||||
- (void)viewWillAppear:(BOOL)animated {
|
||||
[super viewWillAppear:animated];
|
||||
self.navigationController.navigationBarHidden = YES;
|
||||
}
|
||||
|
||||
- (void)viewDidAppear:(BOOL)animated {
|
||||
[super viewDidAppear:animated];
|
||||
if (_needsInitialAnimation) {
|
||||
// get things rolling
|
||||
_needsInitialAnimation = NO;
|
||||
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, .5 * NSEC_PER_SEC), dispatch_get_current_queue(), ^{
|
||||
[self animateField];
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
- (void)viewWillDisappear:(BOOL)animated {
|
||||
[super viewWillDisappear:animated];
|
||||
self.navigationController.navigationBarHidden = NO;
|
||||
}
|
||||
|
||||
- (void)viewDidUnload {
|
||||
[self setRockLabel:nil];
|
||||
[self setPaperLabel:nil];
|
||||
[self setScissorsLabel:nil];
|
||||
[self setRockButton:nil];
|
||||
[self setRockButton:nil];
|
||||
[self setPaperButton:nil];
|
||||
[self setScissorsButton:nil];
|
||||
[self setShootLabel:nil];
|
||||
[self setComputerHand:nil];
|
||||
[self setAgainButton:nil];
|
||||
[self setPlayerHand:nil];
|
||||
[super viewDidUnload];
|
||||
}
|
||||
|
||||
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
|
||||
// Return YES for supported orientations
|
||||
if ([[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPhone) {
|
||||
return (interfaceOrientation != UIInterfaceOrientationPortraitUpsideDown);
|
||||
} else {
|
||||
return YES;
|
||||
}
|
||||
}
|
||||
|
||||
- (void)resetField {
|
||||
self.rockButton.hidden =
|
||||
self.paperButton.hidden =
|
||||
self.scissorsButton.hidden =
|
||||
self.rockLabel.hidden =
|
||||
self.paperLabel.hidden =
|
||||
self.scissorsLabel.hidden =
|
||||
self.shootLabel.hidden =
|
||||
self.computerHand.hidden =
|
||||
self.playerHand.hidden =
|
||||
self.againButton.hidden = YES;
|
||||
|
||||
self.rockButton.enabled =
|
||||
self.paperButton.enabled =
|
||||
self.scissorsButton.enabled = NO;
|
||||
|
||||
self.resultLabel.text = @"";
|
||||
}
|
||||
|
||||
- (void)setFieldForPlayAgain {
|
||||
self.shootLabel.hidden =
|
||||
self.rockButton.hidden =
|
||||
self.paperButton.hidden =
|
||||
self.scissorsButton.hidden = YES;
|
||||
|
||||
self.playerHand.hidden =
|
||||
self.againButton.hidden = NO;
|
||||
}
|
||||
|
||||
- (void)animateField {
|
||||
// rock
|
||||
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, .5 * NSEC_PER_SEC), dispatch_get_current_queue(), ^{
|
||||
self.rockLabel.hidden = NO;
|
||||
self.rockButton.hidden = NO;
|
||||
|
||||
// paper
|
||||
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, 1 * NSEC_PER_SEC), dispatch_get_current_queue(), ^{
|
||||
self.paperLabel.hidden = NO;
|
||||
self.paperButton.hidden = NO;
|
||||
|
||||
// scissors
|
||||
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, 1 * NSEC_PER_SEC), dispatch_get_current_queue(), ^{
|
||||
self.scissorsLabel.hidden = NO;
|
||||
self.scissorsButton.hidden = NO;
|
||||
|
||||
// shoot!
|
||||
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, 1 * NSEC_PER_SEC), dispatch_get_current_queue(), ^{
|
||||
self.shootLabel.hidden =
|
||||
self.computerHand.hidden = NO;
|
||||
self.rockButton.enabled =
|
||||
self.paperButton.enabled =
|
||||
self.scissorsButton.enabled = YES;
|
||||
|
||||
self.computerHand.animationImages = @[ _rightImages[RPSCallRock], _rightImages[RPSCallPaper], _rightImages[RPSCallScissors]];
|
||||
self.computerHand.animationDuration = .4;
|
||||
self.computerHand.animationRepeatCount = 0;
|
||||
[self.computerHand startAnimating];
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
- (RPSCall)callViaRandom {
|
||||
return (RPSCall)(arc4random() % 3);
|
||||
}
|
||||
|
||||
- (RPSResult)resultForPlayerCall:(RPSCall)playerCall
|
||||
computerCall:(RPSCall)computerCall {
|
||||
static RPSResult results[3][3] = {
|
||||
{RPSResultTie, RPSResultLoss, RPSResultWin},
|
||||
{RPSResultWin, RPSResultTie, RPSResultLoss},
|
||||
{RPSResultLoss, RPSResultWin, RPSResultTie}
|
||||
};
|
||||
return results[playerCall][computerCall];
|
||||
}
|
||||
|
||||
- (void)callGame:(RPSCall)playerCall {
|
||||
// stop animating and identify each opponent's call
|
||||
[self.computerHand stopAnimating];
|
||||
_lastPlayerCall = playerCall;
|
||||
_lastComputerCall = [self callViaRandom];
|
||||
self.computerHand.image = _rightImages[_lastComputerCall];
|
||||
|
||||
// update UI and counts based on result
|
||||
RPSResult result = [self resultForPlayerCall:_lastPlayerCall
|
||||
computerCall:_lastComputerCall];
|
||||
switch (result) {
|
||||
case RPSResultWin:
|
||||
_wins++;
|
||||
self.resultLabel.text = @"Win!";
|
||||
break;
|
||||
case RPSResultLoss:
|
||||
_losses++;
|
||||
self.resultLabel.text = @"Loss.";
|
||||
break;
|
||||
case RPSResultTie:
|
||||
_ties++;
|
||||
self.resultLabel.text = @"Tie...";
|
||||
break;
|
||||
}
|
||||
[self updateScoreLabel];
|
||||
|
||||
if (FBSession.activeSession.isOpen && _interestedInImplicitShare) {
|
||||
[self publishResult];
|
||||
}
|
||||
}
|
||||
|
||||
- (void)updateScoreLabel {
|
||||
self.scoreLabel.text = [NSString stringWithFormat:@"W = %d L = %d T = %d", _wins, _losses, _ties];
|
||||
}
|
||||
|
||||
- (IBAction)clickRPSButton:(id)sender {
|
||||
UIButton *button = sender;
|
||||
RPSCall choice = (RPSCall)button.tag;
|
||||
self.playerHand.image = _leftImages[choice];
|
||||
[self callGame:choice];
|
||||
[self setFieldForPlayAgain];
|
||||
}
|
||||
|
||||
- (IBAction)clickAgainButton:(id)sender {
|
||||
[self resetField];
|
||||
[self animateField];
|
||||
}
|
||||
|
||||
- (IBAction)clickFacebookButton:(id)sender {
|
||||
UIActionSheet *sheet = [[UIActionSheet alloc] initWithTitle:@"Facebook"
|
||||
delegate:self
|
||||
cancelButtonTitle:@"Do Nothing"
|
||||
destructiveButtonTitle:nil
|
||||
otherButtonTitles:@"Share on Facebook", @"See Friends", @"Check settings", nil];
|
||||
// Show the sheet
|
||||
[sheet showInView:sender];
|
||||
}
|
||||
|
||||
- (void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex {
|
||||
if (buttonIndex != 0) { // ok
|
||||
if (_alertOkHandler) {
|
||||
_alertOkHandler();
|
||||
_alertOkHandler = nil;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
- (void)actionSheet:(UIActionSheet *)actionSheet clickedButtonAtIndex:(NSInteger)buttonIndex {
|
||||
switch (buttonIndex) {
|
||||
case 0: { // share
|
||||
BOOL didDialog = NO;
|
||||
if (self.hasPlayedAtLeastOnce) {
|
||||
didDialog = [self shareGameActivity];
|
||||
} else {
|
||||
didDialog = [self shareGameLink];
|
||||
}
|
||||
if (!didDialog) {
|
||||
[self alertWithMessage:
|
||||
@"Upgrade the Facebook application on your device and "
|
||||
@"get cool new sharing features for this application. "
|
||||
@"What do you want to do?"
|
||||
ok:@"Upgrade Now"
|
||||
cancel:@"Decide Later"
|
||||
completion:^{
|
||||
// launch itunes to get the Facebook application installed/upgraded
|
||||
[[UIApplication sharedApplication]
|
||||
openURL:[NSURL URLWithString:@"itms-apps://itunes.com/apps/Facebook"]];
|
||||
}];
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 1: { // friends
|
||||
UIViewController *friends;
|
||||
if ([[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPhone) {
|
||||
friends = [[RPSFriendsViewController alloc] initWithNibName:@"RPSFriendsViewController_iPhone" bundle:nil];
|
||||
} else {
|
||||
friends = [[RPSFriendsViewController alloc] initWithNibName:@"RPSFriendsViewController_iPad" bundle:nil];
|
||||
}
|
||||
[self.navigationController pushViewController:friends
|
||||
animated:YES];
|
||||
break;
|
||||
}
|
||||
case 2: // settings
|
||||
[self.navigationController pushViewController:[[FBUserSettingsViewController alloc] init]
|
||||
animated:YES];
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
- (BOOL)hasPlayedAtLeastOnce {
|
||||
return _lastPlayerCall != RPSCallNone && _lastComputerCall != RPSCallNone;
|
||||
}
|
||||
|
||||
- (BOOL)shareGameActivity {
|
||||
id<FBOpenGraphAction> action = (id<FBOpenGraphAction>)[FBGraphObject openGraphActionForPost];
|
||||
action[@"gesture"] = builtInOpenGraphObjects[_lastPlayerCall]; // set action's gesture property
|
||||
action[@"opposing_gesture"] = builtInOpenGraphObjects[_lastComputerCall]; // set action's opposing_gesture property
|
||||
return nil !=
|
||||
[FBDialogs presentShareDialogWithOpenGraphAction:action
|
||||
actionType:@"fb_sample_rps:throw"
|
||||
previewPropertyName:@"gesture"
|
||||
handler:nil];
|
||||
}
|
||||
|
||||
- (BOOL)shareGameLink {
|
||||
NSURL *urlToShare = [NSURL URLWithString:@"https://developers.facebook.com/ios"];
|
||||
return nil !=
|
||||
[FBDialogs presentShareDialogWithLink:urlToShare
|
||||
name:@"Rock, Papers, Scissors Sample Application"
|
||||
handler:nil];
|
||||
}
|
||||
|
||||
- (NSMutableDictionary<FBOpenGraphObject> *)createGameObject {
|
||||
RPSResult result = [self resultForPlayerCall:_lastPlayerCall
|
||||
computerCall:_lastComputerCall];
|
||||
|
||||
NSString *resultName = kResults[result];
|
||||
|
||||
NSMutableDictionary<FBOpenGraphObject> *game = [FBGraphObject openGraphObjectForPost];
|
||||
game[@"type"] = @"fb_sample_rps:game";
|
||||
game[@"title"] = @"an awesome game of Rock, Paper, Scissors";
|
||||
game[@"data"][@"player_gesture"] = builtInOpenGraphObjects[_lastPlayerCall];
|
||||
game[@"data"][@"opponent_gesture"] = builtInOpenGraphObjects[_lastComputerCall];
|
||||
game[@"data"][@"result"] = resultName;
|
||||
|
||||
return game;
|
||||
}
|
||||
|
||||
- (NSMutableDictionary<FBOpenGraphAction> *)createPlayActionWithGame:(id)game {
|
||||
NSMutableDictionary<FBOpenGraphAction> *action = [FBGraphObject openGraphActionForPost];
|
||||
action[@"game"] = game;
|
||||
return action;
|
||||
}
|
||||
|
||||
- (void)requestPermissionsWithCompletion:(RPSBlock)completion {
|
||||
[FBSession.activeSession requestNewPublishPermissions:[NSArray arrayWithObject:@"publish_actions"]
|
||||
defaultAudience:FBSessionDefaultAudienceEveryone
|
||||
completionHandler:^(FBSession *session, NSError *error) {
|
||||
if (!error) {
|
||||
// Now have the permission
|
||||
completion();
|
||||
} else {
|
||||
NSLog(@"Error: %@", error.description);
|
||||
}
|
||||
}];
|
||||
}
|
||||
|
||||
- (void)alertWithMessage:(NSString *)message
|
||||
ok:(NSString *)ok
|
||||
cancel:(NSString *)cancel
|
||||
completion:(RPSBlock)completion {
|
||||
UIAlertView *alertView = [[UIAlertView alloc] initWithTitle:@"Share with Facebook"
|
||||
message:message
|
||||
delegate:self
|
||||
cancelButtonTitle:cancel
|
||||
otherButtonTitles:ok, nil];
|
||||
_alertOkHandler = [completion copy];
|
||||
[alertView show];
|
||||
}
|
||||
|
||||
- (void)publishPhotoForGesture:(RPSCall)gesture {
|
||||
[FBRequestConnection startForUploadStagingResourceWithImage:_imagesToPublish[gesture]
|
||||
completionHandler:^(FBRequestConnection *connection, id result, NSError *error) {
|
||||
if (error) {
|
||||
NSLog(@"%@", error);
|
||||
if (error.fberrorCategory == FBErrorCategoryPermissions) {
|
||||
NSLog(@"Re-requesting permissions");
|
||||
_interestedInImplicitShare = NO;
|
||||
[self alertWithMessage:@"Share game activity with your friends?"
|
||||
ok:@"Yes"
|
||||
cancel:@"Maybe Later"
|
||||
completion:^{
|
||||
_interestedInImplicitShare = YES;
|
||||
[self requestPermissionsWithCompletion:^{
|
||||
[self publishPhotoForGesture:gesture];
|
||||
}];
|
||||
}];
|
||||
return;
|
||||
}
|
||||
} else {
|
||||
photoURLs[gesture] = result[@"uri"];
|
||||
[self publishResult];
|
||||
}
|
||||
}];
|
||||
}
|
||||
|
||||
- (void)publishResult {
|
||||
// We want to upload a photo representing the gesture the player threw, and use it as the
|
||||
// image for our game OG object. But we optimize this and only upload one instance per session.
|
||||
// So if we already have the image URL, we use it, otherwise we'll initiate an upload and
|
||||
// publish the result once it finishes.
|
||||
if (!photoURLs[_lastPlayerCall]) {
|
||||
[self publishPhotoForGesture:_lastPlayerCall];
|
||||
return;
|
||||
}
|
||||
|
||||
FBRequestConnection *connection = [[FBRequestConnection alloc] init];
|
||||
|
||||
NSMutableDictionary<FBOpenGraphObject> *game = [self createGameObject];
|
||||
game[@"image"] = photoURLs[_lastPlayerCall];
|
||||
FBRequest *objectRequest = [FBRequest requestForPostOpenGraphObject:game];
|
||||
[connection addRequest:objectRequest
|
||||
completionHandler:^(FBRequestConnection *connection, id result, NSError *error) {
|
||||
if (error) {
|
||||
NSLog(@"Error: %@", error.description);
|
||||
}
|
||||
}
|
||||
batchEntryName:@"objectCreate"];
|
||||
|
||||
|
||||
NSMutableDictionary<FBGraphObject> *action = [self createPlayActionWithGame:@"{result=objectCreate:$.id}"];
|
||||
FBRequest *actionRequest = [FBRequest requestForPostWithGraphPath:@"me/fb_sample_rps:play"
|
||||
graphObject:action];
|
||||
[connection addRequest:actionRequest
|
||||
completionHandler:^(FBRequestConnection *connection, id result, NSError *error) {
|
||||
if (error) {
|
||||
NSLog(@"Error: %@", error.description);
|
||||
} else {
|
||||
NSLog(@"Posted OG action with id: %@", result[@"id"]);
|
||||
}
|
||||
}];
|
||||
|
||||
[connection start];
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
@@ -0,0 +1,79 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>en</string>
|
||||
<key>CFBundleDisplayName</key>
|
||||
<string>Facebook SDK RPS Sample</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>${EXECUTABLE_NAME}</string>
|
||||
<key>CFBundleIconFiles</key>
|
||||
<array>
|
||||
<string>Icon.png</string>
|
||||
<string>Icon@2x.png</string>
|
||||
<string>Icon-72.png</string>
|
||||
<string>Icon-72@2x.png</string>
|
||||
</array>
|
||||
<key>CFBundleIcons</key>
|
||||
<dict>
|
||||
<key>CFBundlePrimaryIcon</key>
|
||||
<dict>
|
||||
<key>CFBundleIconFiles</key>
|
||||
<array>
|
||||
<string>Icon.png</string>
|
||||
<string>Icon@2x.png</string>
|
||||
<string>Icon-72.png</string>
|
||||
<string>Icon-72@2x.png</string>
|
||||
</array>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>com.facebook.sdk.samples.rps</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>Rock Paper Scissors SDK Sample</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.0</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleURLTypes</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>CFBundleURLSchemes</key>
|
||||
<array>
|
||||
<string>fb157578437735213free</string>
|
||||
<string>fb157578437735213</string>
|
||||
</array>
|
||||
</dict>
|
||||
</array>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1.0</string>
|
||||
<key>FacebookAppID</key>
|
||||
<string>157578437735213</string>
|
||||
<key>FacebookDisplayName</key>
|
||||
<string>Rock Paper Scissors SDK Sample</string>
|
||||
<key>FacebookUrlSchemeSuffix</key>
|
||||
<string>free</string>
|
||||
<key>LSRequiresIPhoneOS</key>
|
||||
<true/>
|
||||
<key>UIRequiredDeviceCapabilities</key>
|
||||
<array>
|
||||
<string>armv7</string>
|
||||
</array>
|
||||
<key>UISupportedInterfaceOrientations</key>
|
||||
<array>
|
||||
<string>UIInterfaceOrientationPortrait</string>
|
||||
</array>
|
||||
<key>UISupportedInterfaceOrientations~ipad</key>
|
||||
<array>
|
||||
<string>UIInterfaceOrientationPortrait</string>
|
||||
<string>UIInterfaceOrientationPortraitUpsideDown</string>
|
||||
<string>UIInterfaceOrientationLandscapeLeft</string>
|
||||
<string>UIInterfaceOrientationLandscapeRight</string>
|
||||
</array>
|
||||
</dict>
|
||||
</plist>
|
||||
@@ -0,0 +1,14 @@
|
||||
//
|
||||
// Prefix header for all source files of the 'RPSSample' target in the 'RPSSample' project
|
||||
//
|
||||
|
||||
#import <Availability.h>
|
||||
|
||||
#ifndef __IPHONE_4_0
|
||||
#warning "This project uses features only available in iOS SDK 4.0 and later."
|
||||
#endif
|
||||
|
||||
#ifdef __OBJC__
|
||||
#import <UIKit/UIKit.h>
|
||||
#import <Foundation/Foundation.h>
|
||||
#endif
|
||||
@@ -0,0 +1,2 @@
|
||||
/* Localized versions of Info.plist keys */
|
||||
|
||||
@@ -0,0 +1,351 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<archive type="com.apple.InterfaceBuilder3.CocoaTouch.iPad.XIB" version="8.00">
|
||||
<data>
|
||||
<int key="IBDocument.SystemTarget">1552</int>
|
||||
<string key="IBDocument.SystemVersion">11G63b</string>
|
||||
<string key="IBDocument.InterfaceBuilderVersion">3084</string>
|
||||
<string key="IBDocument.AppKitVersion">1138.51</string>
|
||||
<string key="IBDocument.HIToolboxVersion">569.00</string>
|
||||
<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
|
||||
<string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string key="NS.object.0">2083</string>
|
||||
</object>
|
||||
<array key="IBDocument.IntegratedClassDependencies">
|
||||
<string>IBProxyObject</string>
|
||||
<string>IBUIButton</string>
|
||||
<string>IBUILabel</string>
|
||||
<string>IBUINavigationBar</string>
|
||||
<string>IBUINavigationItem</string>
|
||||
<string>IBUITableView</string>
|
||||
<string>IBUITextView</string>
|
||||
<string>IBUIView</string>
|
||||
</array>
|
||||
<array key="IBDocument.PluginDependencies">
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
</array>
|
||||
<object class="NSMutableDictionary" key="IBDocument.Metadata">
|
||||
<string key="NS.key.0">PluginDependencyRecalculationVersion</string>
|
||||
<integer value="1" key="NS.object.0"/>
|
||||
</object>
|
||||
<array class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
|
||||
<object class="IBProxyObject" id="841351856">
|
||||
<string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
|
||||
<string key="targetRuntimeIdentifier">IBIPadFramework</string>
|
||||
</object>
|
||||
<object class="IBProxyObject" id="606714003">
|
||||
<string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
|
||||
<string key="targetRuntimeIdentifier">IBIPadFramework</string>
|
||||
</object>
|
||||
<object class="IBUIView" id="766721923">
|
||||
<nil key="NSNextResponder"/>
|
||||
<int key="NSvFlags">274</int>
|
||||
<array class="NSMutableArray" key="NSSubviews">
|
||||
<object class="IBUINavigationBar" id="679231111">
|
||||
<reference key="NSNextResponder" ref="766721923"/>
|
||||
<int key="NSvFlags">290</int>
|
||||
<string key="NSFrameSize">{768, 44}</string>
|
||||
<reference key="NSSuperview" ref="766721923"/>
|
||||
<reference key="NSNextKeyView" ref="247861754"/>
|
||||
<bool key="IBUIOpaque">NO</bool>
|
||||
<bool key="IBUIClearsContextBeforeDrawing">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBIPadFramework</string>
|
||||
<array key="IBUIItems">
|
||||
<object class="IBUINavigationItem" id="28418998">
|
||||
<reference key="IBUINavigationBar" ref="679231111"/>
|
||||
<string key="IBUITitle"/>
|
||||
<string key="targetRuntimeIdentifier">IBIPadFramework</string>
|
||||
</object>
|
||||
</array>
|
||||
</object>
|
||||
<object class="IBUILabel" id="247861754">
|
||||
<reference key="NSNextResponder" ref="766721923"/>
|
||||
<int key="NSvFlags">292</int>
|
||||
<string key="NSFrame">{{20, 44}, {748, 24}}</string>
|
||||
<reference key="NSSuperview" ref="766721923"/>
|
||||
<reference key="NSNextKeyView" ref="85475434"/>
|
||||
<string key="NSReuseIdentifierKey">_NS:328</string>
|
||||
<bool key="IBUIOpaque">NO</bool>
|
||||
<bool key="IBUIClipsSubviews">YES</bool>
|
||||
<int key="IBUIContentMode">7</int>
|
||||
<bool key="IBUIUserInteractionEnabled">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBIPadFramework</string>
|
||||
<string key="IBUIText">Friends Rockin' RPS!</string>
|
||||
<object class="NSColor" key="IBUITextColor" id="997973704">
|
||||
<int key="NSColorSpace">1</int>
|
||||
<bytes key="NSRGB">MCAwIDAAA</bytes>
|
||||
<string key="IBUIColorCocoaTouchKeyPath">darkTextColor</string>
|
||||
</object>
|
||||
<nil key="IBUIHighlightedColor"/>
|
||||
<int key="IBUIBaselineAdjustment">1</int>
|
||||
<float key="IBUIMinimumFontSize">10</float>
|
||||
<object class="IBUIFontDescription" key="IBUIFontDescription" id="923989112">
|
||||
<int key="type">2</int>
|
||||
<double key="pointSize">17</double>
|
||||
</object>
|
||||
<object class="NSFont" key="IBUIFont" id="12663347">
|
||||
<string key="NSName">Helvetica-Bold</string>
|
||||
<double key="NSSize">17</double>
|
||||
<int key="NSfFlags">16</int>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBUITableView" id="85475434">
|
||||
<reference key="NSNextResponder" ref="766721923"/>
|
||||
<int key="NSvFlags">274</int>
|
||||
<string key="NSFrame">{{20, 76}, {728, 420}}</string>
|
||||
<reference key="NSSuperview" ref="766721923"/>
|
||||
<reference key="NSNextKeyView" ref="86295492"/>
|
||||
<string key="NSReuseIdentifierKey">_NS:408</string>
|
||||
<object class="NSColor" key="IBUIBackgroundColor" id="969353036">
|
||||
<int key="NSColorSpace">3</int>
|
||||
<bytes key="NSWhite">MQA</bytes>
|
||||
</object>
|
||||
<bool key="IBUIClipsSubviews">YES</bool>
|
||||
<string key="targetRuntimeIdentifier">IBIPadFramework</string>
|
||||
<bool key="IBUIAlwaysBounceVertical">YES</bool>
|
||||
<int key="IBUISeparatorStyle">1</int>
|
||||
<int key="IBUISectionIndexMinimumDisplayRowCount">0</int>
|
||||
<bool key="IBUIShowsSelectionImmediatelyOnTouchBegin">YES</bool>
|
||||
<float key="IBUIRowHeight">44</float>
|
||||
<float key="IBUISectionHeaderHeight">22</float>
|
||||
<float key="IBUISectionFooterHeight">22</float>
|
||||
</object>
|
||||
<object class="IBUILabel" id="86295492">
|
||||
<reference key="NSNextResponder" ref="766721923"/>
|
||||
<int key="NSvFlags">292</int>
|
||||
<string key="NSFrame">{{20, 504}, {728, 21}}</string>
|
||||
<reference key="NSSuperview" ref="766721923"/>
|
||||
<string key="NSReuseIdentifierKey">_NS:345</string>
|
||||
<bool key="IBUIOpaque">NO</bool>
|
||||
<bool key="IBUIClipsSubviews">YES</bool>
|
||||
<int key="IBUIContentMode">7</int>
|
||||
<bool key="IBUIUserInteractionEnabled">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBIPadFramework</string>
|
||||
<string key="IBUIText">Friend activity</string>
|
||||
<reference key="IBUITextColor" ref="997973704"/>
|
||||
<nil key="IBUIHighlightedColor"/>
|
||||
<int key="IBUIBaselineAdjustment">1</int>
|
||||
<float key="IBUIMinimumFontSize">10</float>
|
||||
<reference key="IBUIFontDescription" ref="923989112"/>
|
||||
<reference key="IBUIFont" ref="12663347"/>
|
||||
</object>
|
||||
<object class="IBUITextView" id="715347517">
|
||||
<reference key="NSNextResponder" ref="766721923"/>
|
||||
<int key="NSvFlags">292</int>
|
||||
<string key="NSFrame">{{20, 533}, {728, 335}}</string>
|
||||
<reference key="NSSuperview" ref="766721923"/>
|
||||
<string key="NSReuseIdentifierKey">_NS:640</string>
|
||||
<object class="NSColor" key="IBUIBackgroundColor">
|
||||
<int key="NSColorSpace">1</int>
|
||||
<bytes key="NSRGB">MSAxIDEAA</bytes>
|
||||
</object>
|
||||
<bool key="IBUIClipsSubviews">YES</bool>
|
||||
<bool key="IBUIMultipleTouchEnabled">YES</bool>
|
||||
<string key="targetRuntimeIdentifier">IBIPadFramework</string>
|
||||
<bool key="IBUIShowsHorizontalScrollIndicator">NO</bool>
|
||||
<bool key="IBUIEditable">NO</bool>
|
||||
<string key="IBUIText"/>
|
||||
<object class="IBUITextInputTraits" key="IBUITextInputTraits">
|
||||
<int key="IBUIAutocapitalizationType">2</int>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
</object>
|
||||
<object class="IBUIFontDescription" key="IBUIFontDescription">
|
||||
<int key="type">1</int>
|
||||
<double key="pointSize">14</double>
|
||||
</object>
|
||||
<object class="NSFont" key="IBUIFont">
|
||||
<string key="NSName">Helvetica</string>
|
||||
<double key="NSSize">14</double>
|
||||
<int key="NSfFlags">16</int>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBUIButton" id="430374051">
|
||||
<reference key="NSNextResponder" ref="766721923"/>
|
||||
<int key="NSvFlags">292</int>
|
||||
<string key="NSFrame">{{20, 888}, {728, 44}}</string>
|
||||
<reference key="NSSuperview" ref="766721923"/>
|
||||
<string key="NSReuseIdentifierKey">_NS:9</string>
|
||||
<bool key="IBUIOpaque">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBIPadFramework</string>
|
||||
<int key="IBUIContentHorizontalAlignment">0</int>
|
||||
<int key="IBUIContentVerticalAlignment">0</int>
|
||||
<int key="IBUIButtonType">1</int>
|
||||
<string key="IBUINormalTitle">Invite Friends</string>
|
||||
<reference key="IBUIHighlightedTitleColor" ref="969353036"/>
|
||||
<object class="NSColor" key="IBUINormalTitleColor">
|
||||
<int key="NSColorSpace">1</int>
|
||||
<bytes key="NSRGB">MC4xOTYwNzg0MzQ2IDAuMzA5ODAzOTMyOSAwLjUyMTU2ODY1NgA</bytes>
|
||||
</object>
|
||||
<object class="NSColor" key="IBUINormalTitleShadowColor">
|
||||
<int key="NSColorSpace">3</int>
|
||||
<bytes key="NSWhite">MC41AA</bytes>
|
||||
</object>
|
||||
<object class="IBUIFontDescription" key="IBUIFontDescription">
|
||||
<int key="type">2</int>
|
||||
<double key="pointSize">15</double>
|
||||
</object>
|
||||
<object class="NSFont" key="IBUIFont">
|
||||
<string key="NSName">Helvetica-Bold</string>
|
||||
<double key="NSSize">15</double>
|
||||
<int key="NSfFlags">16</int>
|
||||
</object>
|
||||
</object>
|
||||
</array>
|
||||
<string key="NSFrame">{{0, 20}, {768, 1004}}</string>
|
||||
<reference key="NSNextKeyView" ref="679231111"/>
|
||||
<object class="NSColor" key="IBUIBackgroundColor">
|
||||
<int key="NSColorSpace">3</int>
|
||||
<bytes key="NSWhite">MQA</bytes>
|
||||
<object class="NSColorSpace" key="NSCustomColorSpace">
|
||||
<int key="NSID">2</int>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics">
|
||||
<int key="IBUIStatusBarStyle">2</int>
|
||||
</object>
|
||||
<string key="targetRuntimeIdentifier">IBIPadFramework</string>
|
||||
</object>
|
||||
</array>
|
||||
<object class="IBObjectContainer" key="IBDocument.Objects">
|
||||
<array class="NSMutableArray" key="connectionRecords">
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">view</string>
|
||||
<reference key="source" ref="841351856"/>
|
||||
<reference key="destination" ref="766721923"/>
|
||||
</object>
|
||||
<int key="connectionID">7</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">tableView</string>
|
||||
<reference key="source" ref="841351856"/>
|
||||
<reference key="destination" ref="85475434"/>
|
||||
</object>
|
||||
<int key="connectionID">14</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">activityTextView</string>
|
||||
<reference key="source" ref="841351856"/>
|
||||
<reference key="destination" ref="715347517"/>
|
||||
</object>
|
||||
<int key="connectionID">17</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">inviteButton</string>
|
||||
<reference key="source" ref="841351856"/>
|
||||
<reference key="destination" ref="430374051"/>
|
||||
</object>
|
||||
<int key="connectionID">19</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchEventConnection" key="connection">
|
||||
<string key="label">clickInviteFriends:</string>
|
||||
<reference key="source" ref="430374051"/>
|
||||
<reference key="destination" ref="841351856"/>
|
||||
<int key="IBEventType">7</int>
|
||||
</object>
|
||||
<int key="connectionID">20</int>
|
||||
</object>
|
||||
</array>
|
||||
<object class="IBMutableOrderedSet" key="objectRecords">
|
||||
<array key="orderedObjects">
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">0</int>
|
||||
<array key="object" id="0"/>
|
||||
<reference key="children" ref="1000"/>
|
||||
<nil key="parent"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">-1</int>
|
||||
<reference key="object" ref="841351856"/>
|
||||
<reference key="parent" ref="0"/>
|
||||
<string key="objectName">File's Owner</string>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">-2</int>
|
||||
<reference key="object" ref="606714003"/>
|
||||
<reference key="parent" ref="0"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">2</int>
|
||||
<reference key="object" ref="766721923"/>
|
||||
<array class="NSMutableArray" key="children">
|
||||
<reference ref="679231111"/>
|
||||
<reference ref="247861754"/>
|
||||
<reference ref="86295492"/>
|
||||
<reference ref="85475434"/>
|
||||
<reference ref="430374051"/>
|
||||
<reference ref="715347517"/>
|
||||
</array>
|
||||
<reference key="parent" ref="0"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">5</int>
|
||||
<reference key="object" ref="679231111"/>
|
||||
<array class="NSMutableArray" key="children">
|
||||
<reference ref="28418998"/>
|
||||
</array>
|
||||
<reference key="parent" ref="766721923"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">6</int>
|
||||
<reference key="object" ref="28418998"/>
|
||||
<reference key="parent" ref="679231111"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">9</int>
|
||||
<reference key="object" ref="247861754"/>
|
||||
<reference key="parent" ref="766721923"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">10</int>
|
||||
<reference key="object" ref="85475434"/>
|
||||
<reference key="parent" ref="766721923"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">11</int>
|
||||
<reference key="object" ref="86295492"/>
|
||||
<reference key="parent" ref="766721923"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">15</int>
|
||||
<reference key="object" ref="715347517"/>
|
||||
<reference key="parent" ref="766721923"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">18</int>
|
||||
<reference key="object" ref="430374051"/>
|
||||
<reference key="parent" ref="766721923"/>
|
||||
</object>
|
||||
</array>
|
||||
</object>
|
||||
<dictionary class="NSMutableDictionary" key="flattenedProperties">
|
||||
<string key="-1.CustomClassName">RPSFriendsViewController</string>
|
||||
<string key="-1.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string key="-2.CustomClassName">UIResponder</string>
|
||||
<string key="-2.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string key="10.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string key="11.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string key="15.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string key="18.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string key="2.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string key="5.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string key="6.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string key="9.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
</dictionary>
|
||||
<dictionary class="NSMutableDictionary" key="unlocalizedProperties"/>
|
||||
<nil key="activeLocalization"/>
|
||||
<dictionary class="NSMutableDictionary" key="localizations"/>
|
||||
<nil key="sourceID"/>
|
||||
<int key="maxID">20</int>
|
||||
</object>
|
||||
<object class="IBClassDescriber" key="IBDocument.Classes"/>
|
||||
<int key="IBDocument.localizationMode">0</int>
|
||||
<string key="IBDocument.TargetRuntimeIdentifier">IBIPadFramework</string>
|
||||
<bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
|
||||
<int key="IBDocument.defaultPropertyAccessControl">3</int>
|
||||
<string key="IBCocoaTouchPluginVersion">2083</string>
|
||||
</data>
|
||||
</archive>
|
||||
@@ -0,0 +1,310 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="8.00">
|
||||
<data>
|
||||
<int key="IBDocument.SystemTarget">1552</int>
|
||||
<string key="IBDocument.SystemVersion">11G63b</string>
|
||||
<string key="IBDocument.InterfaceBuilderVersion">3084</string>
|
||||
<string key="IBDocument.AppKitVersion">1138.51</string>
|
||||
<string key="IBDocument.HIToolboxVersion">569.00</string>
|
||||
<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
|
||||
<string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string key="NS.object.0">2083</string>
|
||||
</object>
|
||||
<array key="IBDocument.IntegratedClassDependencies">
|
||||
<string>IBProxyObject</string>
|
||||
<string>IBUIButton</string>
|
||||
<string>IBUILabel</string>
|
||||
<string>IBUITableView</string>
|
||||
<string>IBUITextView</string>
|
||||
<string>IBUIView</string>
|
||||
</array>
|
||||
<array key="IBDocument.PluginDependencies">
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
</array>
|
||||
<object class="NSMutableDictionary" key="IBDocument.Metadata">
|
||||
<string key="NS.key.0">PluginDependencyRecalculationVersion</string>
|
||||
<integer value="1" key="NS.object.0"/>
|
||||
</object>
|
||||
<array class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
|
||||
<object class="IBProxyObject" id="372490531">
|
||||
<string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
</object>
|
||||
<object class="IBProxyObject" id="263589821">
|
||||
<string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
</object>
|
||||
<object class="IBUIView" id="191373211">
|
||||
<nil key="NSNextResponder"/>
|
||||
<int key="NSvFlags">274</int>
|
||||
<array class="NSMutableArray" key="NSSubviews">
|
||||
<object class="IBUILabel" id="957538452">
|
||||
<reference key="NSNextResponder" ref="191373211"/>
|
||||
<int key="NSvFlags">292</int>
|
||||
<string key="NSFrame">{{20, 2}, {280, 21}}</string>
|
||||
<reference key="NSSuperview" ref="191373211"/>
|
||||
<reference key="NSNextKeyView" ref="799478532"/>
|
||||
<string key="NSReuseIdentifierKey">_NS:328</string>
|
||||
<bool key="IBUIOpaque">NO</bool>
|
||||
<bool key="IBUIClipsSubviews">YES</bool>
|
||||
<int key="IBUIContentMode">7</int>
|
||||
<bool key="IBUIUserInteractionEnabled">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<string key="IBUIText">Friends Rockin' RPS!</string>
|
||||
<object class="NSColor" key="IBUITextColor" id="316081567">
|
||||
<int key="NSColorSpace">1</int>
|
||||
<bytes key="NSRGB">MCAwIDAAA</bytes>
|
||||
<string key="IBUIColorCocoaTouchKeyPath">darkTextColor</string>
|
||||
</object>
|
||||
<nil key="IBUIHighlightedColor"/>
|
||||
<int key="IBUIBaselineAdjustment">1</int>
|
||||
<float key="IBUIMinimumFontSize">10</float>
|
||||
<object class="IBUIFontDescription" key="IBUIFontDescription" id="12708685">
|
||||
<int key="type">2</int>
|
||||
<double key="pointSize">17</double>
|
||||
</object>
|
||||
<object class="NSFont" key="IBUIFont" id="707773368">
|
||||
<string key="NSName">Helvetica-Bold</string>
|
||||
<double key="NSSize">17</double>
|
||||
<int key="NSfFlags">16</int>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBUITableView" id="799478532">
|
||||
<reference key="NSNextResponder" ref="191373211"/>
|
||||
<int key="NSvFlags">274</int>
|
||||
<string key="NSFrame">{{20, 31}, {280, 179}}</string>
|
||||
<reference key="NSSuperview" ref="191373211"/>
|
||||
<reference key="NSNextKeyView" ref="323575925"/>
|
||||
<string key="NSReuseIdentifierKey">_NS:408</string>
|
||||
<object class="NSColor" key="IBUIBackgroundColor" id="151074266">
|
||||
<int key="NSColorSpace">3</int>
|
||||
<bytes key="NSWhite">MQA</bytes>
|
||||
</object>
|
||||
<bool key="IBUIClipsSubviews">YES</bool>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<bool key="IBUIAlwaysBounceVertical">YES</bool>
|
||||
<int key="IBUISeparatorStyle">1</int>
|
||||
<int key="IBUISectionIndexMinimumDisplayRowCount">0</int>
|
||||
<bool key="IBUIShowsSelectionImmediatelyOnTouchBegin">YES</bool>
|
||||
<float key="IBUIRowHeight">44</float>
|
||||
<float key="IBUISectionHeaderHeight">22</float>
|
||||
<float key="IBUISectionFooterHeight">22</float>
|
||||
</object>
|
||||
<object class="IBUILabel" id="323575925">
|
||||
<reference key="NSNextResponder" ref="191373211"/>
|
||||
<int key="NSvFlags">292</int>
|
||||
<string key="NSFrame">{{20, 218}, {280, 23}}</string>
|
||||
<reference key="NSSuperview" ref="191373211"/>
|
||||
<reference key="NSNextKeyView" ref="872626249"/>
|
||||
<string key="NSReuseIdentifierKey">_NS:345</string>
|
||||
<bool key="IBUIOpaque">NO</bool>
|
||||
<bool key="IBUIClipsSubviews">YES</bool>
|
||||
<int key="IBUIContentMode">7</int>
|
||||
<bool key="IBUIUserInteractionEnabled">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<string key="IBUIText">Friend's activity</string>
|
||||
<reference key="IBUITextColor" ref="316081567"/>
|
||||
<nil key="IBUIHighlightedColor"/>
|
||||
<int key="IBUIBaselineAdjustment">1</int>
|
||||
<float key="IBUIMinimumFontSize">10</float>
|
||||
<reference key="IBUIFontDescription" ref="12708685"/>
|
||||
<reference key="IBUIFont" ref="707773368"/>
|
||||
</object>
|
||||
<object class="IBUITextView" id="872626249">
|
||||
<reference key="NSNextResponder" ref="191373211"/>
|
||||
<int key="NSvFlags">292</int>
|
||||
<string key="NSFrame">{{20, 249}, {280, 91}}</string>
|
||||
<reference key="NSSuperview" ref="191373211"/>
|
||||
<reference key="NSNextKeyView" ref="47680743"/>
|
||||
<string key="NSReuseIdentifierKey">_NS:639</string>
|
||||
<object class="NSColor" key="IBUIBackgroundColor">
|
||||
<int key="NSColorSpace">1</int>
|
||||
<bytes key="NSRGB">MSAxIDEAA</bytes>
|
||||
</object>
|
||||
<bool key="IBUIClipsSubviews">YES</bool>
|
||||
<bool key="IBUIMultipleTouchEnabled">YES</bool>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<bool key="IBUIEditable">NO</bool>
|
||||
<string key="IBUIText"/>
|
||||
<object class="IBUITextInputTraits" key="IBUITextInputTraits">
|
||||
<int key="IBUIAutocapitalizationType">2</int>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
</object>
|
||||
<object class="IBUIFontDescription" key="IBUIFontDescription">
|
||||
<int key="type">1</int>
|
||||
<double key="pointSize">14</double>
|
||||
</object>
|
||||
<object class="NSFont" key="IBUIFont">
|
||||
<string key="NSName">Helvetica</string>
|
||||
<double key="NSSize">14</double>
|
||||
<int key="NSfFlags">16</int>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBUIButton" id="47680743">
|
||||
<reference key="NSNextResponder" ref="191373211"/>
|
||||
<int key="NSvFlags">292</int>
|
||||
<string key="NSFrame">{{20, 348}, {280, 44}}</string>
|
||||
<reference key="NSSuperview" ref="191373211"/>
|
||||
<string key="NSReuseIdentifierKey">_NS:9</string>
|
||||
<bool key="IBUIOpaque">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<int key="IBUIContentHorizontalAlignment">0</int>
|
||||
<int key="IBUIContentVerticalAlignment">0</int>
|
||||
<int key="IBUIButtonType">1</int>
|
||||
<string key="IBUINormalTitle">Invite Friends</string>
|
||||
<reference key="IBUIHighlightedTitleColor" ref="151074266"/>
|
||||
<object class="NSColor" key="IBUINormalTitleColor">
|
||||
<int key="NSColorSpace">1</int>
|
||||
<bytes key="NSRGB">MC4xOTYwNzg0MzQ2IDAuMzA5ODAzOTMyOSAwLjUyMTU2ODY1NgA</bytes>
|
||||
</object>
|
||||
<object class="NSColor" key="IBUINormalTitleShadowColor">
|
||||
<int key="NSColorSpace">3</int>
|
||||
<bytes key="NSWhite">MC41AA</bytes>
|
||||
</object>
|
||||
<object class="IBUIFontDescription" key="IBUIFontDescription">
|
||||
<int key="type">2</int>
|
||||
<double key="pointSize">15</double>
|
||||
</object>
|
||||
<object class="NSFont" key="IBUIFont">
|
||||
<string key="NSName">Helvetica-Bold</string>
|
||||
<double key="NSSize">15</double>
|
||||
<int key="NSfFlags">16</int>
|
||||
</object>
|
||||
</object>
|
||||
</array>
|
||||
<string key="NSFrame">{{0, 20}, {320, 411}}</string>
|
||||
<reference key="NSNextKeyView" ref="957538452"/>
|
||||
<reference key="IBUIBackgroundColor" ref="151074266"/>
|
||||
<object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics"/>
|
||||
<object class="IBUISimulatedTabBarMetrics" key="IBUISimulatedBottomBarMetrics"/>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
</object>
|
||||
</array>
|
||||
<object class="IBObjectContainer" key="IBDocument.Objects">
|
||||
<array class="NSMutableArray" key="connectionRecords">
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">view</string>
|
||||
<reference key="source" ref="372490531"/>
|
||||
<reference key="destination" ref="191373211"/>
|
||||
</object>
|
||||
<int key="connectionID">3</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">tableView</string>
|
||||
<reference key="source" ref="372490531"/>
|
||||
<reference key="destination" ref="799478532"/>
|
||||
</object>
|
||||
<int key="connectionID">17</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">activityTextView</string>
|
||||
<reference key="source" ref="372490531"/>
|
||||
<reference key="destination" ref="872626249"/>
|
||||
</object>
|
||||
<int key="connectionID">19</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">inviteButton</string>
|
||||
<reference key="source" ref="372490531"/>
|
||||
<reference key="destination" ref="47680743"/>
|
||||
</object>
|
||||
<int key="connectionID">22</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchEventConnection" key="connection">
|
||||
<string key="label">clickInviteFriends:</string>
|
||||
<reference key="source" ref="47680743"/>
|
||||
<reference key="destination" ref="372490531"/>
|
||||
<int key="IBEventType">7</int>
|
||||
</object>
|
||||
<int key="connectionID">21</int>
|
||||
</object>
|
||||
</array>
|
||||
<object class="IBMutableOrderedSet" key="objectRecords">
|
||||
<array key="orderedObjects">
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">0</int>
|
||||
<array key="object" id="0"/>
|
||||
<reference key="children" ref="1000"/>
|
||||
<nil key="parent"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">1</int>
|
||||
<reference key="object" ref="191373211"/>
|
||||
<array class="NSMutableArray" key="children">
|
||||
<reference ref="957538452"/>
|
||||
<reference ref="799478532"/>
|
||||
<reference ref="323575925"/>
|
||||
<reference ref="872626249"/>
|
||||
<reference ref="47680743"/>
|
||||
</array>
|
||||
<reference key="parent" ref="0"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">-1</int>
|
||||
<reference key="object" ref="372490531"/>
|
||||
<reference key="parent" ref="0"/>
|
||||
<string key="objectName">File's Owner</string>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">-2</int>
|
||||
<reference key="object" ref="263589821"/>
|
||||
<reference key="parent" ref="0"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">13</int>
|
||||
<reference key="object" ref="957538452"/>
|
||||
<reference key="parent" ref="191373211"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">14</int>
|
||||
<reference key="object" ref="799478532"/>
|
||||
<reference key="parent" ref="191373211"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">15</int>
|
||||
<reference key="object" ref="323575925"/>
|
||||
<reference key="parent" ref="191373211"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">18</int>
|
||||
<reference key="object" ref="872626249"/>
|
||||
<reference key="parent" ref="191373211"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">20</int>
|
||||
<reference key="object" ref="47680743"/>
|
||||
<reference key="parent" ref="191373211"/>
|
||||
</object>
|
||||
</array>
|
||||
</object>
|
||||
<dictionary class="NSMutableDictionary" key="flattenedProperties">
|
||||
<string key="-1.CustomClassName">RPSFriendsViewController</string>
|
||||
<string key="-1.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string key="-2.CustomClassName">UIResponder</string>
|
||||
<string key="-2.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string key="1.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string key="13.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string key="14.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string key="15.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string key="18.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string key="20.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
</dictionary>
|
||||
<dictionary class="NSMutableDictionary" key="unlocalizedProperties"/>
|
||||
<nil key="activeLocalization"/>
|
||||
<dictionary class="NSMutableDictionary" key="localizations"/>
|
||||
<nil key="sourceID"/>
|
||||
<int key="maxID">23</int>
|
||||
</object>
|
||||
<object class="IBClassDescriber" key="IBDocument.Classes"/>
|
||||
<int key="IBDocument.localizationMode">0</int>
|
||||
<string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
|
||||
<int key="IBDocument.defaultPropertyAccessControl">3</int>
|
||||
<string key="IBCocoaTouchPluginVersion">2083</string>
|
||||
</data>
|
||||
</archive>
|
||||
@@ -0,0 +1,888 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<archive type="com.apple.InterfaceBuilder3.CocoaTouch.iPad.XIB" version="8.00">
|
||||
<data>
|
||||
<int key="IBDocument.SystemTarget">1552</int>
|
||||
<string key="IBDocument.SystemVersion">12E55</string>
|
||||
<string key="IBDocument.InterfaceBuilderVersion">3084</string>
|
||||
<string key="IBDocument.AppKitVersion">1187.39</string>
|
||||
<string key="IBDocument.HIToolboxVersion">626.00</string>
|
||||
<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
|
||||
<string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string key="NS.object.0">2083</string>
|
||||
</object>
|
||||
<array key="IBDocument.IntegratedClassDependencies">
|
||||
<string>IBProxyObject</string>
|
||||
<string>IBUIButton</string>
|
||||
<string>IBUIImageView</string>
|
||||
<string>IBUILabel</string>
|
||||
<string>IBUIToolbar</string>
|
||||
<string>IBUIView</string>
|
||||
</array>
|
||||
<array key="IBDocument.PluginDependencies">
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
</array>
|
||||
<object class="NSMutableDictionary" key="IBDocument.Metadata">
|
||||
<string key="NS.key.0">PluginDependencyRecalculationVersion</string>
|
||||
<integer value="1" key="NS.object.0"/>
|
||||
</object>
|
||||
<array class="NSMutableArray" key="IBDocument.RootObjects" id="294562471">
|
||||
<object class="IBProxyObject" id="328884527">
|
||||
<string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
|
||||
<string key="targetRuntimeIdentifier">IBIPadFramework</string>
|
||||
</object>
|
||||
<object class="IBProxyObject" id="972471031">
|
||||
<string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
|
||||
<string key="targetRuntimeIdentifier">IBIPadFramework</string>
|
||||
</object>
|
||||
<object class="IBUIView" id="920693575">
|
||||
<reference key="NSNextResponder"/>
|
||||
<int key="NSvFlags">1298</int>
|
||||
<array class="NSMutableArray" key="NSSubviews">
|
||||
<object class="IBUILabel" id="785569441">
|
||||
<reference key="NSNextResponder" ref="920693575"/>
|
||||
<int key="NSvFlags">1316</int>
|
||||
<object class="NSPSMatrix" key="NSFrameMatrix"/>
|
||||
<string key="NSFrame">{{0, 721}, {768, 283}}</string>
|
||||
<reference key="NSSuperview" ref="920693575"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="969671677"/>
|
||||
<object class="NSColor" key="IBUIBackgroundColor">
|
||||
<int key="NSColorSpace">3</int>
|
||||
<bytes key="NSWhite">MC42NQA</bytes>
|
||||
</object>
|
||||
<bool key="IBUIOpaque">NO</bool>
|
||||
<bool key="IBUIClipsSubviews">YES</bool>
|
||||
<int key="IBUIContentMode">7</int>
|
||||
<bool key="IBUIUserInteractionEnabled">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBIPadFramework</string>
|
||||
<string key="IBUIText"/>
|
||||
<object class="NSColor" key="IBUITextColor">
|
||||
<int key="NSColorSpace">1</int>
|
||||
<bytes key="NSRGB">MCAwIDAAA</bytes>
|
||||
<string key="IBUIColorCocoaTouchKeyPath">darkTextColor</string>
|
||||
</object>
|
||||
<nil key="IBUIHighlightedColor"/>
|
||||
<int key="IBUIBaselineAdjustment">0</int>
|
||||
<object class="IBUIFontDescription" key="IBUIFontDescription">
|
||||
<int key="type">1</int>
|
||||
<double key="pointSize">17</double>
|
||||
</object>
|
||||
<object class="NSFont" key="IBUIFont">
|
||||
<string key="NSName">Helvetica</string>
|
||||
<double key="NSSize">17</double>
|
||||
<int key="NSfFlags">16</int>
|
||||
</object>
|
||||
<bool key="IBUIAdjustsFontSizeToFit">NO</bool>
|
||||
</object>
|
||||
<object class="IBUIButton" id="969671677">
|
||||
<reference key="NSNextResponder" ref="920693575"/>
|
||||
<int key="NSvFlags">1316</int>
|
||||
<object class="NSPSMatrix" key="NSFrameMatrix"/>
|
||||
<string key="NSFrame">{{87, 631}, {593, 129}}</string>
|
||||
<reference key="NSSuperview" ref="920693575"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="585508693"/>
|
||||
<object class="NSColor" key="IBUIBackgroundColor" id="1026633665">
|
||||
<int key="NSColorSpace">3</int>
|
||||
<bytes key="NSWhite">MQA</bytes>
|
||||
</object>
|
||||
<bool key="IBUIOpaque">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBIPadFramework</string>
|
||||
<int key="IBUIContentHorizontalAlignment">0</int>
|
||||
<int key="IBUIContentVerticalAlignment">0</int>
|
||||
<string key="IBUINormalTitle">Again!</string>
|
||||
<object class="NSColor" key="IBUINormalTitleColor">
|
||||
<int key="NSColorSpace">1</int>
|
||||
<bytes key="NSRGB">MC4xOTYwNzg0MzE0IDAuMzA5ODAzOTIxNiAwLjUyMTU2ODYyNzUAA</bytes>
|
||||
</object>
|
||||
<object class="NSColor" key="IBUINormalTitleShadowColor" id="306005929">
|
||||
<int key="NSColorSpace">3</int>
|
||||
<bytes key="NSWhite">MC41AA</bytes>
|
||||
</object>
|
||||
<object class="IBUIFontDescription" key="IBUIFontDescription" id="1061662367">
|
||||
<string key="name">Futura-Medium</string>
|
||||
<string key="family">Futura</string>
|
||||
<int key="traits">0</int>
|
||||
<double key="pointSize">74</double>
|
||||
</object>
|
||||
<object class="NSFont" key="IBUIFont" id="611314817">
|
||||
<string key="NSName">Futura-Medium</string>
|
||||
<double key="NSSize">74</double>
|
||||
<int key="NSfFlags">16</int>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBUIToolbar" id="2515461">
|
||||
<reference key="NSNextResponder" ref="920693575"/>
|
||||
<int key="NSvFlags">1314</int>
|
||||
<object class="NSPSMatrix" key="NSFrameMatrix"/>
|
||||
<string key="NSFrameSize">{768, 44}</string>
|
||||
<reference key="NSSuperview" ref="920693575"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="823084305"/>
|
||||
<bool key="IBUIOpaque">NO</bool>
|
||||
<bool key="IBUIClearsContextBeforeDrawing">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBIPadFramework</string>
|
||||
<array class="NSMutableArray" key="IBUIItems"/>
|
||||
</object>
|
||||
<object class="IBUILabel" id="823084305">
|
||||
<reference key="NSNextResponder" ref="920693575"/>
|
||||
<int key="NSvFlags">1316</int>
|
||||
<object class="NSPSMatrix" key="NSFrameMatrix"/>
|
||||
<string key="NSFrame">{{20, 44}, {263, 116}}</string>
|
||||
<reference key="NSSuperview" ref="920693575"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="31224194"/>
|
||||
<bool key="IBUIOpaque">NO</bool>
|
||||
<bool key="IBUIClipsSubviews">YES</bool>
|
||||
<int key="IBUIContentMode">7</int>
|
||||
<bool key="IBUIUserInteractionEnabled">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBIPadFramework</string>
|
||||
<string key="IBUIText">Rock</string>
|
||||
<object class="NSColor" key="IBUITextColor">
|
||||
<int key="NSColorSpace">1</int>
|
||||
<bytes key="NSRGB">MC4wMzkyMTU2ODYyNyAwLjI1MDk4MDM5MjIgMC41MDE5NjA3ODQzAA</bytes>
|
||||
</object>
|
||||
<nil key="IBUIHighlightedColor"/>
|
||||
<int key="IBUIBaselineAdjustment">0</int>
|
||||
<int key="IBUITextAlignment">1</int>
|
||||
<reference key="IBUIFontDescription" ref="1061662367"/>
|
||||
<reference key="IBUIFont" ref="611314817"/>
|
||||
<bool key="IBUIAdjustsFontSizeToFit">NO</bool>
|
||||
</object>
|
||||
<object class="IBUILabel" id="187137126">
|
||||
<reference key="NSNextResponder" ref="920693575"/>
|
||||
<int key="NSvFlags">1316</int>
|
||||
<object class="NSPSMatrix" key="NSFrameMatrix"/>
|
||||
<string key="NSFrame">{{72, 416}, {263, 116}}</string>
|
||||
<reference key="NSSuperview" ref="920693575"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="687340095"/>
|
||||
<bool key="IBUIOpaque">NO</bool>
|
||||
<bool key="IBUIClipsSubviews">YES</bool>
|
||||
<int key="IBUIContentMode">7</int>
|
||||
<bool key="IBUIUserInteractionEnabled">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBIPadFramework</string>
|
||||
<string key="IBUIText">Shoot!</string>
|
||||
<object class="NSColor" key="IBUITextColor">
|
||||
<int key="NSColorSpace">1</int>
|
||||
<bytes key="NSRGB">MC4wMzkyMTU2ODYyNyAwLjI1MDk4MDM5MjIgMC41MDE5NjA3ODQzAA</bytes>
|
||||
</object>
|
||||
<nil key="IBUIHighlightedColor"/>
|
||||
<int key="IBUIBaselineAdjustment">0</int>
|
||||
<reference key="IBUIFontDescription" ref="1061662367"/>
|
||||
<reference key="IBUIFont" ref="611314817"/>
|
||||
<bool key="IBUIAdjustsFontSizeToFit">NO</bool>
|
||||
</object>
|
||||
<object class="IBUILabel" id="37512306">
|
||||
<reference key="NSNextResponder" ref="920693575"/>
|
||||
<int key="NSvFlags">1316</int>
|
||||
<object class="NSPSMatrix" key="NSFrameMatrix"/>
|
||||
<string key="NSFrame">{{229, 416}, {310, 116}}</string>
|
||||
<reference key="NSSuperview" ref="920693575"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="18103792"/>
|
||||
<bool key="IBUIOpaque">NO</bool>
|
||||
<bool key="IBUIClipsSubviews">YES</bool>
|
||||
<int key="IBUIContentMode">7</int>
|
||||
<bool key="IBUIUserInteractionEnabled">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBIPadFramework</string>
|
||||
<string key="IBUIText"/>
|
||||
<object class="NSColor" key="IBUITextColor">
|
||||
<int key="NSColorSpace">1</int>
|
||||
<bytes key="NSRGB">MC4wMzkyMTU2ODYyNyAwLjI1MDk4MDM5MjIgMC41MDE5NjA3ODQzAA</bytes>
|
||||
</object>
|
||||
<nil key="IBUIHighlightedColor"/>
|
||||
<int key="IBUIBaselineAdjustment">0</int>
|
||||
<int key="IBUITextAlignment">1</int>
|
||||
<reference key="IBUIFontDescription" ref="1061662367"/>
|
||||
<reference key="IBUIFont" ref="611314817"/>
|
||||
<bool key="IBUIAdjustsFontSizeToFit">NO</bool>
|
||||
</object>
|
||||
<object class="IBUILabel" id="31224194">
|
||||
<reference key="NSNextResponder" ref="920693575"/>
|
||||
<int key="NSvFlags">1316</int>
|
||||
<object class="NSPSMatrix" key="NSFrameMatrix"/>
|
||||
<string key="NSFrame">{{253, 168}, {263, 116}}</string>
|
||||
<reference key="NSSuperview" ref="920693575"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="327224908"/>
|
||||
<bool key="IBUIOpaque">NO</bool>
|
||||
<bool key="IBUIClipsSubviews">YES</bool>
|
||||
<int key="IBUIContentMode">7</int>
|
||||
<bool key="IBUIUserInteractionEnabled">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBIPadFramework</string>
|
||||
<string key="IBUIText">Paper</string>
|
||||
<object class="NSColor" key="IBUITextColor">
|
||||
<int key="NSColorSpace">1</int>
|
||||
<bytes key="NSRGB">MC4wMzkyMTU2ODYyNyAwLjI1MDk4MDM5MjIgMC41MDE5NjA3ODQzAA</bytes>
|
||||
</object>
|
||||
<nil key="IBUIHighlightedColor"/>
|
||||
<int key="IBUIBaselineAdjustment">0</int>
|
||||
<int key="IBUITextAlignment">1</int>
|
||||
<reference key="IBUIFontDescription" ref="1061662367"/>
|
||||
<reference key="IBUIFont" ref="611314817"/>
|
||||
<bool key="IBUIAdjustsFontSizeToFit">NO</bool>
|
||||
</object>
|
||||
<object class="IBUILabel" id="327224908">
|
||||
<reference key="NSNextResponder" ref="920693575"/>
|
||||
<int key="NSvFlags">1316</int>
|
||||
<object class="NSPSMatrix" key="NSFrameMatrix"/>
|
||||
<string key="NSFrame">{{485, 292}, {263, 116}}</string>
|
||||
<reference key="NSSuperview" ref="920693575"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="187137126"/>
|
||||
<bool key="IBUIOpaque">NO</bool>
|
||||
<bool key="IBUIClipsSubviews">YES</bool>
|
||||
<int key="IBUIContentMode">7</int>
|
||||
<bool key="IBUIUserInteractionEnabled">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBIPadFramework</string>
|
||||
<string key="IBUIText">Scissors</string>
|
||||
<object class="NSColor" key="IBUITextColor">
|
||||
<int key="NSColorSpace">1</int>
|
||||
<bytes key="NSRGB">MC4wMzkyMTU2ODYyNyAwLjI1MDk4MDM5MjIgMC41MDE5NjA3ODQzAA</bytes>
|
||||
</object>
|
||||
<nil key="IBUIHighlightedColor"/>
|
||||
<int key="IBUIBaselineAdjustment">0</int>
|
||||
<int key="IBUITextAlignment">1</int>
|
||||
<reference key="IBUIFontDescription" ref="1061662367"/>
|
||||
<reference key="IBUIFont" ref="611314817"/>
|
||||
<bool key="IBUIAdjustsFontSizeToFit">NO</bool>
|
||||
</object>
|
||||
<object class="IBUIImageView" id="687340095">
|
||||
<reference key="NSNextResponder" ref="920693575"/>
|
||||
<int key="NSvFlags">1316</int>
|
||||
<object class="NSPSMatrix" key="NSFrameMatrix"/>
|
||||
<string key="NSFrame">{{87, 416}, {128, 128}}</string>
|
||||
<reference key="NSSuperview" ref="920693575"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="37512306"/>
|
||||
<reference key="IBUIBackgroundColor" ref="1026633665"/>
|
||||
<int key="IBUIContentMode">1</int>
|
||||
<bool key="IBUIUserInteractionEnabled">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBIPadFramework</string>
|
||||
<object class="NSCustomResource" key="IBUIImage" id="894228026">
|
||||
<string key="NSClassName">NSImage</string>
|
||||
<string key="NSResourceName">left-rock-128.png</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBUIImageView" id="18103792">
|
||||
<reference key="NSNextResponder" ref="920693575"/>
|
||||
<int key="NSvFlags">1316</int>
|
||||
<object class="NSPSMatrix" key="NSFrameMatrix"/>
|
||||
<string key="NSFrame">{{552, 416}, {128, 128}}</string>
|
||||
<reference key="NSSuperview" ref="920693575"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="785569441"/>
|
||||
<reference key="IBUIBackgroundColor" ref="1026633665"/>
|
||||
<int key="IBUIContentMode">1</int>
|
||||
<bool key="IBUIUserInteractionEnabled">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBIPadFramework</string>
|
||||
<object class="NSCustomResource" key="IBUIImage">
|
||||
<string key="NSClassName">NSImage</string>
|
||||
<string key="NSResourceName">R.png</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBUIButton" id="585508693">
|
||||
<reference key="NSNextResponder" ref="920693575"/>
|
||||
<int key="NSvFlags">1316</int>
|
||||
<object class="NSPSMatrix" key="NSFrameMatrix"/>
|
||||
<string key="NSFrame">{{87, 631}, {104, 112}}</string>
|
||||
<reference key="NSSuperview" ref="920693575"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="597999852"/>
|
||||
<bool key="IBUIOpaque">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBIPadFramework</string>
|
||||
<int key="IBUIContentHorizontalAlignment">0</int>
|
||||
<int key="IBUIContentVerticalAlignment">0</int>
|
||||
<int key="IBUIButtonType">1</int>
|
||||
<reference key="IBUIHighlightedTitleColor" ref="1026633665"/>
|
||||
<object class="NSColor" key="IBUINormalTitleColor" id="749613656">
|
||||
<int key="NSColorSpace">1</int>
|
||||
<bytes key="NSRGB">MC4xOTYwNzg0MzE0IDAuMzA5ODAzOTIxNiAwLjUyMTU2ODYyNzUAA</bytes>
|
||||
</object>
|
||||
<reference key="IBUINormalTitleShadowColor" ref="306005929"/>
|
||||
<reference key="IBUINormalBackgroundImage" ref="894228026"/>
|
||||
<object class="IBUIFontDescription" key="IBUIFontDescription" id="792826291">
|
||||
<int key="type">2</int>
|
||||
<double key="pointSize">15</double>
|
||||
</object>
|
||||
<object class="NSFont" key="IBUIFont" id="1057902818">
|
||||
<string key="NSName">Helvetica-Bold</string>
|
||||
<double key="NSSize">15</double>
|
||||
<int key="NSfFlags">16</int>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBUIButton" id="597999852">
|
||||
<reference key="NSNextResponder" ref="920693575"/>
|
||||
<int key="NSvFlags">1316</int>
|
||||
<object class="NSPSMatrix" key="NSFrameMatrix"/>
|
||||
<string key="NSFrame">{{320, 631}, {104, 112}}</string>
|
||||
<reference key="NSSuperview" ref="920693575"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="50995213"/>
|
||||
<bool key="IBUIOpaque">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBIPadFramework</string>
|
||||
<int key="IBUIContentHorizontalAlignment">0</int>
|
||||
<int key="IBUIContentVerticalAlignment">0</int>
|
||||
<int key="IBUIButtonType">1</int>
|
||||
<reference key="IBUIHighlightedTitleColor" ref="1026633665"/>
|
||||
<reference key="IBUINormalTitleColor" ref="749613656"/>
|
||||
<reference key="IBUINormalTitleShadowColor" ref="306005929"/>
|
||||
<object class="NSCustomResource" key="IBUINormalBackgroundImage">
|
||||
<string key="NSClassName">NSImage</string>
|
||||
<string key="NSResourceName">left-paper-128.png</string>
|
||||
</object>
|
||||
<reference key="IBUIFontDescription" ref="792826291"/>
|
||||
<reference key="IBUIFont" ref="1057902818"/>
|
||||
</object>
|
||||
<object class="IBUIButton" id="50995213">
|
||||
<reference key="NSNextResponder" ref="920693575"/>
|
||||
<int key="NSvFlags">1316</int>
|
||||
<object class="NSPSMatrix" key="NSFrameMatrix"/>
|
||||
<string key="NSFrame">{{552, 631}, {104, 112}}</string>
|
||||
<reference key="NSSuperview" ref="920693575"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="1067830506"/>
|
||||
<bool key="IBUIOpaque">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBIPadFramework</string>
|
||||
<int key="IBUIContentHorizontalAlignment">0</int>
|
||||
<int key="IBUIContentVerticalAlignment">0</int>
|
||||
<int key="IBUIButtonType">1</int>
|
||||
<reference key="IBUIHighlightedTitleColor" ref="1026633665"/>
|
||||
<reference key="IBUINormalTitleColor" ref="749613656"/>
|
||||
<reference key="IBUINormalTitleShadowColor" ref="306005929"/>
|
||||
<object class="NSCustomResource" key="IBUINormalBackgroundImage">
|
||||
<string key="NSClassName">NSImage</string>
|
||||
<string key="NSResourceName">left-scissors-128.png</string>
|
||||
</object>
|
||||
<reference key="IBUIFontDescription" ref="792826291"/>
|
||||
<reference key="IBUIFont" ref="1057902818"/>
|
||||
</object>
|
||||
<object class="IBUILabel" id="1067830506">
|
||||
<reference key="NSNextResponder" ref="920693575"/>
|
||||
<int key="NSvFlags">1316</int>
|
||||
<object class="NSPSMatrix" key="NSFrameMatrix"/>
|
||||
<string key="NSFrame">{{87, 895}, {401, 89}}</string>
|
||||
<reference key="NSSuperview" ref="920693575"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="166638195"/>
|
||||
<bool key="IBUIOpaque">NO</bool>
|
||||
<bool key="IBUIClipsSubviews">YES</bool>
|
||||
<int key="IBUIContentMode">7</int>
|
||||
<bool key="IBUIUserInteractionEnabled">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBIPadFramework</string>
|
||||
<string key="IBUIText">w: l: t:</string>
|
||||
<reference key="IBUITextColor" ref="1026633665"/>
|
||||
<nil key="IBUIHighlightedColor"/>
|
||||
<int key="IBUIBaselineAdjustment">0</int>
|
||||
<object class="IBUIFontDescription" key="IBUIFontDescription">
|
||||
<string key="name">Futura-Medium</string>
|
||||
<string key="family">Futura</string>
|
||||
<int key="traits">0</int>
|
||||
<double key="pointSize">34</double>
|
||||
</object>
|
||||
<object class="NSFont" key="IBUIFont">
|
||||
<string key="NSName">Futura-Medium</string>
|
||||
<double key="NSSize">34</double>
|
||||
<int key="NSfFlags">16</int>
|
||||
</object>
|
||||
<bool key="IBUIAdjustsFontSizeToFit">NO</bool>
|
||||
</object>
|
||||
<object class="IBUIButton" id="166638195">
|
||||
<reference key="NSNextResponder" ref="920693575"/>
|
||||
<int key="NSvFlags">1316</int>
|
||||
<object class="NSPSMatrix" key="NSFrameMatrix"/>
|
||||
<string key="NSFrame">{{608, 904}, {48, 56}}</string>
|
||||
<reference key="NSSuperview" ref="920693575"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView"/>
|
||||
<bool key="IBUIOpaque">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBIPadFramework</string>
|
||||
<int key="IBUIContentHorizontalAlignment">0</int>
|
||||
<int key="IBUIContentVerticalAlignment">0</int>
|
||||
<int key="IBUIButtonType">1</int>
|
||||
<reference key="IBUIHighlightedTitleColor" ref="1026633665"/>
|
||||
<reference key="IBUINormalTitleColor" ref="749613656"/>
|
||||
<reference key="IBUINormalTitleShadowColor" ref="306005929"/>
|
||||
<object class="NSCustomResource" key="IBUINormalBackgroundImage">
|
||||
<string key="NSClassName">NSImage</string>
|
||||
<string key="NSResourceName">IconFacebook-72.png</string>
|
||||
</object>
|
||||
<reference key="IBUIFontDescription" ref="792826291"/>
|
||||
<reference key="IBUIFont" ref="1057902818"/>
|
||||
</object>
|
||||
</array>
|
||||
<object class="NSPSMatrix" key="NSFrameMatrix"/>
|
||||
<string key="NSFrame">{{0, 20}, {768, 1004}}</string>
|
||||
<reference key="NSSuperview"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="2515461"/>
|
||||
<object class="NSColor" key="IBUIBackgroundColor">
|
||||
<int key="NSColorSpace">3</int>
|
||||
<bytes key="NSWhite">MC44OAA</bytes>
|
||||
</object>
|
||||
<object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics">
|
||||
<int key="IBUIStatusBarStyle">2</int>
|
||||
</object>
|
||||
<string key="targetRuntimeIdentifier">IBIPadFramework</string>
|
||||
</object>
|
||||
</array>
|
||||
<object class="IBObjectContainer" key="IBDocument.Objects">
|
||||
<bool key="usesAutoincrementingIDs">NO</bool>
|
||||
<array class="NSMutableArray" key="connectionRecords">
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">againButton</string>
|
||||
<reference key="source" ref="328884527"/>
|
||||
<reference key="destination" ref="969671677"/>
|
||||
</object>
|
||||
<string key="id">52</string>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">computerHand</string>
|
||||
<reference key="source" ref="328884527"/>
|
||||
<reference key="destination" ref="18103792"/>
|
||||
</object>
|
||||
<string key="id">44</string>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">facebookButton</string>
|
||||
<reference key="source" ref="328884527"/>
|
||||
<reference key="destination" ref="166638195"/>
|
||||
</object>
|
||||
<string key="id">60</string>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">paperButton</string>
|
||||
<reference key="source" ref="328884527"/>
|
||||
<reference key="destination" ref="597999852"/>
|
||||
</object>
|
||||
<string key="id">49</string>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">paperLabel</string>
|
||||
<reference key="source" ref="328884527"/>
|
||||
<reference key="destination" ref="31224194"/>
|
||||
</object>
|
||||
<string key="id">37</string>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">playerHand</string>
|
||||
<reference key="source" ref="328884527"/>
|
||||
<reference key="destination" ref="687340095"/>
|
||||
</object>
|
||||
<string key="id">43</string>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">resultLabel</string>
|
||||
<reference key="source" ref="328884527"/>
|
||||
<reference key="destination" ref="37512306"/>
|
||||
</object>
|
||||
<string key="id">63</string>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">rockButton</string>
|
||||
<reference key="source" ref="328884527"/>
|
||||
<reference key="destination" ref="585508693"/>
|
||||
</object>
|
||||
<string key="id">48</string>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">rockLabel</string>
|
||||
<reference key="source" ref="328884527"/>
|
||||
<reference key="destination" ref="823084305"/>
|
||||
</object>
|
||||
<string key="id">36</string>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">scissorsButton</string>
|
||||
<reference key="source" ref="328884527"/>
|
||||
<reference key="destination" ref="50995213"/>
|
||||
</object>
|
||||
<string key="id">50</string>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">scissorsLabel</string>
|
||||
<reference key="source" ref="328884527"/>
|
||||
<reference key="destination" ref="327224908"/>
|
||||
</object>
|
||||
<string key="id">38</string>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">scoreLabel</string>
|
||||
<reference key="source" ref="328884527"/>
|
||||
<reference key="destination" ref="1067830506"/>
|
||||
</object>
|
||||
<string key="id">61</string>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">shootLabel</string>
|
||||
<reference key="source" ref="328884527"/>
|
||||
<reference key="destination" ref="187137126"/>
|
||||
</object>
|
||||
<string key="id">40</string>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">view</string>
|
||||
<reference key="source" ref="328884527"/>
|
||||
<reference key="destination" ref="920693575"/>
|
||||
</object>
|
||||
<string key="id">7</string>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchEventConnection" key="connection">
|
||||
<string key="label">clickRPSButton:</string>
|
||||
<reference key="source" ref="585508693"/>
|
||||
<reference key="destination" ref="328884527"/>
|
||||
<int key="IBEventType">7</int>
|
||||
</object>
|
||||
<string key="id">54</string>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchEventConnection" key="connection">
|
||||
<string key="label">clickRPSButton:</string>
|
||||
<reference key="source" ref="597999852"/>
|
||||
<reference key="destination" ref="328884527"/>
|
||||
<int key="IBEventType">7</int>
|
||||
</object>
|
||||
<string key="id">55</string>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchEventConnection" key="connection">
|
||||
<string key="label">clickRPSButton:</string>
|
||||
<reference key="source" ref="50995213"/>
|
||||
<reference key="destination" ref="328884527"/>
|
||||
<int key="IBEventType">7</int>
|
||||
</object>
|
||||
<string key="id">56</string>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchEventConnection" key="connection">
|
||||
<string key="label">clickAgainButton:</string>
|
||||
<reference key="source" ref="969671677"/>
|
||||
<reference key="destination" ref="328884527"/>
|
||||
<int key="IBEventType">7</int>
|
||||
</object>
|
||||
<string key="id">53</string>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchEventConnection" key="connection">
|
||||
<string key="label">clickFacebookButton:</string>
|
||||
<reference key="source" ref="166638195"/>
|
||||
<reference key="destination" ref="328884527"/>
|
||||
<int key="IBEventType">7</int>
|
||||
</object>
|
||||
<string key="id">59</string>
|
||||
</object>
|
||||
</array>
|
||||
<object class="IBMutableOrderedSet" key="objectRecords">
|
||||
<array key="orderedObjects">
|
||||
<object class="IBObjectRecord">
|
||||
<string key="id">0</string>
|
||||
<array key="object" id="0"/>
|
||||
<reference key="children" ref="294562471"/>
|
||||
<nil key="parent"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<string key="id">-1</string>
|
||||
<reference key="object" ref="328884527"/>
|
||||
<reference key="parent" ref="0"/>
|
||||
<string key="objectName">File's Owner</string>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<string key="id">-2</string>
|
||||
<reference key="object" ref="972471031"/>
|
||||
<reference key="parent" ref="0"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<string key="id">2</string>
|
||||
<reference key="object" ref="920693575"/>
|
||||
<array class="NSMutableArray" key="children">
|
||||
<reference ref="785569441"/>
|
||||
<reference ref="969671677"/>
|
||||
<reference ref="2515461"/>
|
||||
<reference ref="823084305"/>
|
||||
<reference ref="187137126"/>
|
||||
<reference ref="37512306"/>
|
||||
<reference ref="31224194"/>
|
||||
<reference ref="327224908"/>
|
||||
<reference ref="687340095"/>
|
||||
<reference ref="18103792"/>
|
||||
<reference ref="585508693"/>
|
||||
<reference ref="597999852"/>
|
||||
<reference ref="50995213"/>
|
||||
<reference ref="1067830506"/>
|
||||
<reference ref="166638195"/>
|
||||
</array>
|
||||
<reference key="parent" ref="0"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<string key="id">30</string>
|
||||
<reference key="object" ref="785569441"/>
|
||||
<reference key="parent" ref="920693575"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<string key="id">51</string>
|
||||
<reference key="object" ref="969671677"/>
|
||||
<reference key="parent" ref="920693575"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<string key="id">5</string>
|
||||
<reference key="object" ref="2515461"/>
|
||||
<reference key="parent" ref="920693575"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<string key="id">31</string>
|
||||
<reference key="object" ref="823084305"/>
|
||||
<reference key="parent" ref="920693575"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<string key="id">39</string>
|
||||
<reference key="object" ref="187137126"/>
|
||||
<reference key="parent" ref="920693575"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<string key="id">62</string>
|
||||
<reference key="object" ref="37512306"/>
|
||||
<reference key="parent" ref="920693575"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<string key="id">34</string>
|
||||
<reference key="object" ref="31224194"/>
|
||||
<reference key="parent" ref="920693575"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<string key="id">35</string>
|
||||
<reference key="object" ref="327224908"/>
|
||||
<reference key="parent" ref="920693575"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<string key="id">41</string>
|
||||
<reference key="object" ref="687340095"/>
|
||||
<reference key="parent" ref="920693575"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<string key="id">42</string>
|
||||
<reference key="object" ref="18103792"/>
|
||||
<reference key="parent" ref="920693575"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<string key="id">45</string>
|
||||
<reference key="object" ref="585508693"/>
|
||||
<reference key="parent" ref="920693575"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<string key="id">46</string>
|
||||
<reference key="object" ref="597999852"/>
|
||||
<reference key="parent" ref="920693575"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<string key="id">47</string>
|
||||
<reference key="object" ref="50995213"/>
|
||||
<reference key="parent" ref="920693575"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<string key="id">57</string>
|
||||
<reference key="object" ref="1067830506"/>
|
||||
<reference key="parent" ref="920693575"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<string key="id">58</string>
|
||||
<reference key="object" ref="166638195"/>
|
||||
<reference key="parent" ref="920693575"/>
|
||||
</object>
|
||||
</array>
|
||||
</object>
|
||||
<dictionary class="NSMutableDictionary" key="flattenedProperties">
|
||||
<string key="-1.CustomClassName">RPSGameViewController</string>
|
||||
<string key="-1.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<boolean value="NO" key="-1.showNotes"/>
|
||||
<string key="-2.CustomClassName">UIResponder</string>
|
||||
<string key="-2.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<boolean value="NO" key="-2.showNotes"/>
|
||||
<string key="2.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<reference key="2.IBUserGuides" ref="0"/>
|
||||
<boolean value="NO" key="2.showNotes"/>
|
||||
<string key="30.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<reference key="30.IBUserGuides" ref="0"/>
|
||||
<boolean value="NO" key="30.showNotes"/>
|
||||
<string key="31.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<reference key="31.IBUserGuides" ref="0"/>
|
||||
<boolean value="NO" key="31.showNotes"/>
|
||||
<string key="34.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<reference key="34.IBUserGuides" ref="0"/>
|
||||
<boolean value="NO" key="34.showNotes"/>
|
||||
<string key="35.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<reference key="35.IBUserGuides" ref="0"/>
|
||||
<boolean value="NO" key="35.showNotes"/>
|
||||
<string key="39.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<reference key="39.IBUserGuides" ref="0"/>
|
||||
<boolean value="NO" key="39.showNotes"/>
|
||||
<string key="41.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<reference key="41.IBUserGuides" ref="0"/>
|
||||
<boolean value="NO" key="41.showNotes"/>
|
||||
<string key="42.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<reference key="42.IBUserGuides" ref="0"/>
|
||||
<boolean value="NO" key="42.showNotes"/>
|
||||
<string key="45.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<real value="0.0" key="45.IBUIButtonInspectorSelectedStateConfigurationMetadataKey"/>
|
||||
<reference key="45.IBUserGuides" ref="0"/>
|
||||
<boolean value="NO" key="45.showNotes"/>
|
||||
<string key="46.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<reference key="46.IBUserGuides" ref="0"/>
|
||||
<boolean value="NO" key="46.showNotes"/>
|
||||
<string key="47.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<reference key="47.IBUserGuides" ref="0"/>
|
||||
<boolean value="NO" key="47.showNotes"/>
|
||||
<string key="5.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<reference key="5.IBUserGuides" ref="0"/>
|
||||
<boolean value="NO" key="5.showNotes"/>
|
||||
<string key="51.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<reference key="51.IBUserGuides" ref="0"/>
|
||||
<boolean value="NO" key="51.showNotes"/>
|
||||
<string key="57.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<reference key="57.IBUserGuides" ref="0"/>
|
||||
<boolean value="NO" key="57.showNotes"/>
|
||||
<string key="58.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<reference key="58.IBUserGuides" ref="0"/>
|
||||
<boolean value="NO" key="58.showNotes"/>
|
||||
<string key="62.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<reference key="62.IBUserGuides" ref="0"/>
|
||||
<boolean value="NO" key="62.showNotes"/>
|
||||
</dictionary>
|
||||
<dictionary class="NSMutableDictionary" key="unlocalizedProperties"/>
|
||||
<nil key="activeLocalization"/>
|
||||
<dictionary class="NSMutableDictionary" key="localizations"/>
|
||||
<nil key="sourceID"/>
|
||||
</object>
|
||||
<object class="IBClassDescriber" key="IBDocument.Classes">
|
||||
<array class="NSMutableArray" key="referencedPartialClassDescriptions">
|
||||
<object class="IBPartialClassDescription">
|
||||
<string key="className">RPSGameViewController</string>
|
||||
<string key="superclassName">UIViewController</string>
|
||||
<dictionary class="NSMutableDictionary" key="actions">
|
||||
<string key="clickAgainButton:">id</string>
|
||||
<string key="clickFacebookButton:">id</string>
|
||||
<string key="clickRPSButton:">id</string>
|
||||
</dictionary>
|
||||
<dictionary class="NSMutableDictionary" key="actionInfosByName">
|
||||
<object class="IBActionInfo" key="clickAgainButton:">
|
||||
<string key="name">clickAgainButton:</string>
|
||||
<string key="candidateClassName">id</string>
|
||||
</object>
|
||||
<object class="IBActionInfo" key="clickFacebookButton:">
|
||||
<string key="name">clickFacebookButton:</string>
|
||||
<string key="candidateClassName">id</string>
|
||||
</object>
|
||||
<object class="IBActionInfo" key="clickRPSButton:">
|
||||
<string key="name">clickRPSButton:</string>
|
||||
<string key="candidateClassName">id</string>
|
||||
</object>
|
||||
</dictionary>
|
||||
<dictionary class="NSMutableDictionary" key="outlets">
|
||||
<string key="againButton">UIButton</string>
|
||||
<string key="computerHand">UIImageView</string>
|
||||
<string key="facebookButton">UIButton</string>
|
||||
<string key="paperButton">UIButton</string>
|
||||
<string key="paperLabel">UILabel</string>
|
||||
<string key="playerHand">UIImageView</string>
|
||||
<string key="resultLabel">UILabel</string>
|
||||
<string key="rockButton">UIButton</string>
|
||||
<string key="rockLabel">UILabel</string>
|
||||
<string key="scissorsButton">UIButton</string>
|
||||
<string key="scissorsLabel">UILabel</string>
|
||||
<string key="scoreLabel">UILabel</string>
|
||||
<string key="shootLabel">UILabel</string>
|
||||
</dictionary>
|
||||
<dictionary class="NSMutableDictionary" key="toOneOutletInfosByName">
|
||||
<object class="IBToOneOutletInfo" key="againButton">
|
||||
<string key="name">againButton</string>
|
||||
<string key="candidateClassName">UIButton</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo" key="computerHand">
|
||||
<string key="name">computerHand</string>
|
||||
<string key="candidateClassName">UIImageView</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo" key="facebookButton">
|
||||
<string key="name">facebookButton</string>
|
||||
<string key="candidateClassName">UIButton</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo" key="paperButton">
|
||||
<string key="name">paperButton</string>
|
||||
<string key="candidateClassName">UIButton</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo" key="paperLabel">
|
||||
<string key="name">paperLabel</string>
|
||||
<string key="candidateClassName">UILabel</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo" key="playerHand">
|
||||
<string key="name">playerHand</string>
|
||||
<string key="candidateClassName">UIImageView</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo" key="resultLabel">
|
||||
<string key="name">resultLabel</string>
|
||||
<string key="candidateClassName">UILabel</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo" key="rockButton">
|
||||
<string key="name">rockButton</string>
|
||||
<string key="candidateClassName">UIButton</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo" key="rockLabel">
|
||||
<string key="name">rockLabel</string>
|
||||
<string key="candidateClassName">UILabel</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo" key="scissorsButton">
|
||||
<string key="name">scissorsButton</string>
|
||||
<string key="candidateClassName">UIButton</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo" key="scissorsLabel">
|
||||
<string key="name">scissorsLabel</string>
|
||||
<string key="candidateClassName">UILabel</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo" key="scoreLabel">
|
||||
<string key="name">scoreLabel</string>
|
||||
<string key="candidateClassName">UILabel</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo" key="shootLabel">
|
||||
<string key="name">shootLabel</string>
|
||||
<string key="candidateClassName">UILabel</string>
|
||||
</object>
|
||||
</dictionary>
|
||||
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
||||
<string key="majorKey">IBProjectSource</string>
|
||||
<string key="minorKey">./Classes/RPSGameViewController.h</string>
|
||||
</object>
|
||||
</object>
|
||||
</array>
|
||||
</object>
|
||||
<int key="IBDocument.localizationMode">0</int>
|
||||
<string key="IBDocument.TargetRuntimeIdentifier">IBIPadFramework</string>
|
||||
<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies">
|
||||
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3</string>
|
||||
<integer value="4600" key="NS.object.0"/>
|
||||
</object>
|
||||
<bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
|
||||
<int key="IBDocument.defaultPropertyAccessControl">3</int>
|
||||
<dictionary class="NSMutableDictionary" key="IBDocument.LastKnownImageSizes">
|
||||
<string key="IconFacebook-72.png">{72, 72}</string>
|
||||
<string key="R.png">{50, 45}</string>
|
||||
<string key="left-paper-128.png">{128, 128}</string>
|
||||
<string key="left-rock-128.png">{128, 128}</string>
|
||||
<string key="left-scissors-128.png">{128, 128}</string>
|
||||
</dictionary>
|
||||
<string key="IBCocoaTouchPluginVersion">2083</string>
|
||||
</data>
|
||||
</archive>
|
||||
@@ -0,0 +1,782 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="8.00">
|
||||
<data>
|
||||
<int key="IBDocument.SystemTarget">1280</int>
|
||||
<string key="IBDocument.SystemVersion">12E55</string>
|
||||
<string key="IBDocument.InterfaceBuilderVersion">4504</string>
|
||||
<string key="IBDocument.AppKitVersion">1187.39</string>
|
||||
<string key="IBDocument.HIToolboxVersion">626.00</string>
|
||||
<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
|
||||
<string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string key="NS.object.0">3734.1</string>
|
||||
</object>
|
||||
<array key="IBDocument.IntegratedClassDependencies">
|
||||
<string>IBProxyObject</string>
|
||||
<string>IBUIButton</string>
|
||||
<string>IBUIImageView</string>
|
||||
<string>IBUILabel</string>
|
||||
<string>IBUIView</string>
|
||||
</array>
|
||||
<array key="IBDocument.PluginDependencies">
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
</array>
|
||||
<object class="NSMutableDictionary" key="IBDocument.Metadata">
|
||||
<string key="NS.key.0">PluginDependencyRecalculationVersion</string>
|
||||
<integer value="1" key="NS.object.0"/>
|
||||
</object>
|
||||
<array class="NSMutableArray" key="IBDocument.RootObjects" id="1047478945">
|
||||
<object class="IBProxyObject" id="622432374">
|
||||
<string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
</object>
|
||||
<object class="IBProxyObject" id="835398093">
|
||||
<string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
</object>
|
||||
<object class="IBUIView" id="213491309">
|
||||
<nil key="NSNextResponder"/>
|
||||
<int key="NSvFlags">1298</int>
|
||||
<array class="NSMutableArray" key="NSSubviews">
|
||||
<object class="IBUILabel" id="65183742">
|
||||
<reference key="NSNextResponder" ref="213491309"/>
|
||||
<int key="NSvFlags">1316</int>
|
||||
<object class="NSPSMatrix" key="NSFrameMatrix"/>
|
||||
<string key="NSFrame">{{0, 353}, {320, 146}}</string>
|
||||
<reference key="NSSuperview" ref="213491309"/>
|
||||
<object class="NSColor" key="IBUIBackgroundColor">
|
||||
<int key="NSColorSpace">3</int>
|
||||
<bytes key="NSWhite">MC42NDg4MzY2Nzg4AA</bytes>
|
||||
</object>
|
||||
<bool key="IBUIOpaque">NO</bool>
|
||||
<bool key="IBUIClipsSubviews">YES</bool>
|
||||
<int key="IBUIContentMode">7</int>
|
||||
<bool key="IBUIUserInteractionEnabled">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<string key="IBUIText"/>
|
||||
<object class="NSColor" key="IBUITextColor">
|
||||
<int key="NSColorSpace">1</int>
|
||||
<bytes key="NSRGB">MC41MDE5NjA3ODQzIDAuNTAxOTYwNzg0MyAxAA</bytes>
|
||||
</object>
|
||||
<nil key="IBUIHighlightedColor"/>
|
||||
<int key="IBUIBaselineAdjustment">0</int>
|
||||
<object class="IBUIFontDescription" key="IBUIFontDescription">
|
||||
<int key="type">1</int>
|
||||
<double key="pointSize">17</double>
|
||||
</object>
|
||||
<object class="NSFont" key="IBUIFont">
|
||||
<string key="NSName">HelveticaNeue</string>
|
||||
<double key="NSSize">17</double>
|
||||
<int key="NSfFlags">16</int>
|
||||
</object>
|
||||
<bool key="IBUIAdjustsFontSizeToFit">NO</bool>
|
||||
</object>
|
||||
<object class="IBUIButton" id="1038194627">
|
||||
<reference key="NSNextResponder" ref="213491309"/>
|
||||
<int key="NSvFlags">1316</int>
|
||||
<object class="NSPSMatrix" key="NSFrameMatrix"/>
|
||||
<string key="NSFrame">{{20, 289}, {280, 88}}</string>
|
||||
<reference key="NSSuperview" ref="213491309"/>
|
||||
<object class="NSColor" key="IBUIBackgroundColor" id="246555558">
|
||||
<int key="NSColorSpace">3</int>
|
||||
<bytes key="NSWhite">MQA</bytes>
|
||||
</object>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<int key="IBUIContentHorizontalAlignment">0</int>
|
||||
<int key="IBUIContentVerticalAlignment">0</int>
|
||||
<object class="NSColor" key="IBUINormalTitleColor">
|
||||
<int key="NSColorSpace">1</int>
|
||||
<bytes key="NSRGB">MCAwLjI1MDk4MDQwNyAwLjUwMTk2MDgxNAA</bytes>
|
||||
</object>
|
||||
<string key="IBUINormalTitle">Again!</string>
|
||||
<object class="NSColor" key="IBUINormalTitleShadowColor" id="1029885826">
|
||||
<int key="NSColorSpace">3</int>
|
||||
<bytes key="NSWhite">MC41AA</bytes>
|
||||
</object>
|
||||
<object class="IBUIFontDescription" key="IBUIFontDescription" id="39572648">
|
||||
<string key="name">Futura-Medium</string>
|
||||
<string key="family">Futura</string>
|
||||
<int key="traits">0</int>
|
||||
<double key="pointSize">54</double>
|
||||
</object>
|
||||
<object class="NSFont" key="IBUIFont" id="836034029">
|
||||
<string key="NSName">Futura-Medium</string>
|
||||
<double key="NSSize">54</double>
|
||||
<int key="NSfFlags">16</int>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBUILabel" id="109126006">
|
||||
<reference key="NSNextResponder" ref="213491309"/>
|
||||
<int key="NSvFlags">1316</int>
|
||||
<object class="NSPSMatrix" key="NSFrameMatrix"/>
|
||||
<string key="NSFrame">{{20, 20}, {280, 68}}</string>
|
||||
<reference key="NSSuperview" ref="213491309"/>
|
||||
<bool key="IBUIOpaque">NO</bool>
|
||||
<bool key="IBUIClipsSubviews">YES</bool>
|
||||
<int key="IBUIContentMode">7</int>
|
||||
<bool key="IBUIUserInteractionEnabled">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<string key="IBUIText">Rock</string>
|
||||
<object class="NSColor" key="IBUITextColor">
|
||||
<int key="NSColorSpace">1</int>
|
||||
<bytes key="NSRGB">MCAwLjI1MDk4MDQwNyAwLjUwMTk2MDgxNAA</bytes>
|
||||
</object>
|
||||
<nil key="IBUIHighlightedColor"/>
|
||||
<int key="IBUIBaselineAdjustment">0</int>
|
||||
<reference key="IBUIFontDescription" ref="39572648"/>
|
||||
<reference key="IBUIFont" ref="836034029"/>
|
||||
<bool key="IBUIAdjustsFontSizeToFit">NO</bool>
|
||||
</object>
|
||||
<object class="IBUILabel" id="536913105">
|
||||
<reference key="NSNextResponder" ref="213491309"/>
|
||||
<int key="NSvFlags">1316</int>
|
||||
<object class="NSPSMatrix" key="NSFrameMatrix"/>
|
||||
<string key="NSFrame">{{20, 65}, {280, 68}}</string>
|
||||
<reference key="NSSuperview" ref="213491309"/>
|
||||
<bool key="IBUIOpaque">NO</bool>
|
||||
<bool key="IBUIClipsSubviews">YES</bool>
|
||||
<int key="IBUIContentMode">7</int>
|
||||
<bool key="IBUIUserInteractionEnabled">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<string key="IBUIText">Paper</string>
|
||||
<object class="NSColor" key="IBUITextColor">
|
||||
<int key="NSColorSpace">1</int>
|
||||
<bytes key="NSRGB">MC4wMzkyMTU2ODYyNyAwLjI1MDk4MDM5MjIgMC41MDE5NjA3ODQzAA</bytes>
|
||||
</object>
|
||||
<nil key="IBUIHighlightedColor"/>
|
||||
<int key="IBUIBaselineAdjustment">0</int>
|
||||
<int key="IBUITextAlignment">1</int>
|
||||
<reference key="IBUIFontDescription" ref="39572648"/>
|
||||
<reference key="IBUIFont" ref="836034029"/>
|
||||
<bool key="IBUIAdjustsFontSizeToFit">NO</bool>
|
||||
</object>
|
||||
<object class="IBUILabel" id="427118869">
|
||||
<reference key="NSNextResponder" ref="213491309"/>
|
||||
<int key="NSvFlags">1316</int>
|
||||
<object class="NSPSMatrix" key="NSFrameMatrix"/>
|
||||
<string key="NSFrame">{{20, 387}, {280, 77}}</string>
|
||||
<reference key="NSSuperview" ref="213491309"/>
|
||||
<bool key="IBUIOpaque">NO</bool>
|
||||
<bool key="IBUIClipsSubviews">YES</bool>
|
||||
<int key="IBUIContentMode">7</int>
|
||||
<bool key="IBUIUserInteractionEnabled">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<string key="IBUIText">w: l: t:</string>
|
||||
<reference key="IBUITextColor" ref="246555558"/>
|
||||
<nil key="IBUIHighlightedColor"/>
|
||||
<int key="IBUIBaselineAdjustment">0</int>
|
||||
<int key="IBUINumberOfLines">3</int>
|
||||
<object class="IBUIFontDescription" key="IBUIFontDescription">
|
||||
<string key="name">Futura-Medium</string>
|
||||
<string key="family">Futura</string>
|
||||
<int key="traits">0</int>
|
||||
<double key="pointSize">18</double>
|
||||
</object>
|
||||
<object class="NSFont" key="IBUIFont">
|
||||
<string key="NSName">Futura-Medium</string>
|
||||
<double key="NSSize">18</double>
|
||||
<int key="NSfFlags">16</int>
|
||||
</object>
|
||||
<bool key="IBUIAdjustsFontSizeToFit">NO</bool>
|
||||
<double key="preferredMaxLayoutWidth">280</double>
|
||||
</object>
|
||||
<object class="IBUILabel" id="5784945">
|
||||
<reference key="NSNextResponder" ref="213491309"/>
|
||||
<int key="NSvFlags">1316</int>
|
||||
<object class="NSPSMatrix" key="NSFrameMatrix"/>
|
||||
<string key="NSFrame">{{20, 120}, {280, 50}}</string>
|
||||
<reference key="NSSuperview" ref="213491309"/>
|
||||
<bool key="IBUIOpaque">NO</bool>
|
||||
<bool key="IBUIClipsSubviews">YES</bool>
|
||||
<int key="IBUIContentMode">7</int>
|
||||
<bool key="IBUIUserInteractionEnabled">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<string key="IBUIText">Scissors</string>
|
||||
<object class="NSColor" key="IBUITextColor">
|
||||
<int key="NSColorSpace">1</int>
|
||||
<bytes key="NSRGB">MCAwLjI1MDk4MDQwNyAwLjUwMTk2MDgxNAA</bytes>
|
||||
</object>
|
||||
<nil key="IBUIHighlightedColor"/>
|
||||
<int key="IBUIBaselineAdjustment">0</int>
|
||||
<int key="IBUITextAlignment">2</int>
|
||||
<object class="IBUIFontDescription" key="IBUIFontDescription" id="793750269">
|
||||
<string key="name">Futura-CondensedMedium</string>
|
||||
<string key="family">Futura</string>
|
||||
<int key="traits">0</int>
|
||||
<double key="pointSize">54</double>
|
||||
</object>
|
||||
<object class="NSFont" key="IBUIFont" id="689379098">
|
||||
<string key="NSName">Futura-CondensedMedium</string>
|
||||
<double key="NSSize">54</double>
|
||||
<int key="NSfFlags">16</int>
|
||||
</object>
|
||||
<bool key="IBUIAdjustsFontSizeToFit">NO</bool>
|
||||
</object>
|
||||
<object class="IBUIButton" id="592107440">
|
||||
<reference key="NSNextResponder" ref="213491309"/>
|
||||
<int key="NSvFlags">1316</int>
|
||||
<object class="NSPSMatrix" key="NSFrameMatrix"/>
|
||||
<string key="NSFrame">{{20, 289}, {88, 88}}</string>
|
||||
<reference key="NSSuperview" ref="213491309"/>
|
||||
<bool key="IBUIOpaque">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<int key="IBUIContentHorizontalAlignment">0</int>
|
||||
<int key="IBUIContentVerticalAlignment">0</int>
|
||||
<object class="NSColor" key="IBUIHighlightedTitleColor">
|
||||
<int key="NSColorSpace">1</int>
|
||||
<bytes key="NSRGB">MCAwLjI1MDk4MDQwNyAwLjUwMTk2MDgxNAA</bytes>
|
||||
</object>
|
||||
<reference key="IBUINormalTitleShadowColor" ref="1029885826"/>
|
||||
<object class="NSCustomResource" key="IBUIHighlightedImage" id="279854062">
|
||||
<string key="NSClassName">NSImage</string>
|
||||
<string key="NSResourceName">left-rock-88.png</string>
|
||||
</object>
|
||||
<reference key="IBUIDisabledImage" ref="279854062"/>
|
||||
<reference key="IBUISelectedImage" ref="279854062"/>
|
||||
<reference key="IBUINormalImage" ref="279854062"/>
|
||||
<object class="IBUIFontDescription" key="IBUIFontDescription" id="451072112">
|
||||
<int key="type">1</int>
|
||||
<double key="pointSize">15</double>
|
||||
</object>
|
||||
<object class="NSFont" key="IBUIFont" id="199020869">
|
||||
<string key="NSName">HelveticaNeue</string>
|
||||
<double key="NSSize">15</double>
|
||||
<int key="NSfFlags">16</int>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBUIButton" id="588733907">
|
||||
<reference key="NSNextResponder" ref="213491309"/>
|
||||
<int key="NSvFlags">1316</int>
|
||||
<object class="NSPSMatrix" key="NSFrameMatrix"/>
|
||||
<string key="NSFrame">{{116, 289}, {88, 88}}</string>
|
||||
<reference key="NSSuperview" ref="213491309"/>
|
||||
<bool key="IBUIOpaque">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<int key="IBUIContentHorizontalAlignment">0</int>
|
||||
<int key="IBUIContentVerticalAlignment">0</int>
|
||||
<object class="NSColor" key="IBUISelectedTitleColor">
|
||||
<int key="NSColorSpace">1</int>
|
||||
<bytes key="NSRGB">MCAwLjI1MDk4MDQwNyAwLjUwMTk2MDgxNAA</bytes>
|
||||
</object>
|
||||
<reference key="IBUINormalTitleShadowColor" ref="1029885826"/>
|
||||
<object class="NSCustomResource" key="IBUIHighlightedImage" id="359702489">
|
||||
<string key="NSClassName">NSImage</string>
|
||||
<string key="NSResourceName">left-paper-88.png</string>
|
||||
</object>
|
||||
<reference key="IBUIDisabledImage" ref="359702489"/>
|
||||
<reference key="IBUISelectedImage" ref="359702489"/>
|
||||
<reference key="IBUINormalImage" ref="359702489"/>
|
||||
<reference key="IBUIFontDescription" ref="451072112"/>
|
||||
<reference key="IBUIFont" ref="199020869"/>
|
||||
</object>
|
||||
<object class="IBUIButton" id="785497260">
|
||||
<reference key="NSNextResponder" ref="213491309"/>
|
||||
<int key="NSvFlags">1316</int>
|
||||
<object class="NSPSMatrix" key="NSFrameMatrix"/>
|
||||
<string key="NSFrame">{{212, 289}, {88, 88}}</string>
|
||||
<reference key="NSSuperview" ref="213491309"/>
|
||||
<bool key="IBUIOpaque">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<int key="IBUIContentHorizontalAlignment">0</int>
|
||||
<int key="IBUIContentVerticalAlignment">0</int>
|
||||
<object class="NSColor" key="IBUIDisabledTitleColor">
|
||||
<int key="NSColorSpace">1</int>
|
||||
<bytes key="NSRGB">MCAwLjI1MDk4MDQwNyAwLjUwMTk2MDgxNAA</bytes>
|
||||
</object>
|
||||
<reference key="IBUINormalTitleShadowColor" ref="1029885826"/>
|
||||
<object class="NSCustomResource" key="IBUIHighlightedImage" id="762785177">
|
||||
<string key="NSClassName">NSImage</string>
|
||||
<string key="NSResourceName">left-scissors-88.png</string>
|
||||
</object>
|
||||
<reference key="IBUIDisabledImage" ref="762785177"/>
|
||||
<reference key="IBUISelectedImage" ref="762785177"/>
|
||||
<reference key="IBUINormalImage" ref="762785177"/>
|
||||
<reference key="IBUIFontDescription" ref="451072112"/>
|
||||
<reference key="IBUIFont" ref="199020869"/>
|
||||
</object>
|
||||
<object class="IBUILabel" id="374004506">
|
||||
<reference key="NSNextResponder" ref="213491309"/>
|
||||
<int key="NSvFlags">1316</int>
|
||||
<object class="NSPSMatrix" key="NSFrameMatrix"/>
|
||||
<string key="NSFrame">{{20, 178}, {184, 95}}</string>
|
||||
<reference key="NSSuperview" ref="213491309"/>
|
||||
<bool key="IBUIOpaque">NO</bool>
|
||||
<bool key="IBUIClipsSubviews">YES</bool>
|
||||
<int key="IBUIContentMode">7</int>
|
||||
<bool key="IBUIUserInteractionEnabled">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<string key="IBUIText">Shoot!</string>
|
||||
<object class="NSColor" key="IBUITextColor">
|
||||
<int key="NSColorSpace">1</int>
|
||||
<bytes key="NSRGB">MCAwLjI1MDk4MDQwNyAwLjUwMTk2MDgxNAA</bytes>
|
||||
</object>
|
||||
<nil key="IBUIHighlightedColor"/>
|
||||
<int key="IBUIBaselineAdjustment">0</int>
|
||||
<reference key="IBUIFontDescription" ref="39572648"/>
|
||||
<reference key="IBUIFont" ref="836034029"/>
|
||||
<bool key="IBUIAdjustsFontSizeToFit">NO</bool>
|
||||
</object>
|
||||
<object class="IBUILabel" id="6624214">
|
||||
<reference key="NSNextResponder" ref="213491309"/>
|
||||
<int key="NSvFlags">1316</int>
|
||||
<object class="NSPSMatrix" key="NSFrameMatrix"/>
|
||||
<string key="NSFrame">{{107, 182}, {106, 88}}</string>
|
||||
<reference key="NSSuperview" ref="213491309"/>
|
||||
<bool key="IBUIOpaque">NO</bool>
|
||||
<bool key="IBUIClipsSubviews">YES</bool>
|
||||
<int key="IBUIContentMode">7</int>
|
||||
<bool key="IBUIUserInteractionEnabled">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<string key="IBUIText"/>
|
||||
<object class="NSColor" key="IBUITextColor">
|
||||
<int key="NSColorSpace">1</int>
|
||||
<bytes key="NSRGB">MCAwLjI1MDk4MDQwNyAwLjUwMTk2MDgxNAA</bytes>
|
||||
</object>
|
||||
<nil key="IBUIHighlightedColor"/>
|
||||
<int key="IBUIBaselineAdjustment">0</int>
|
||||
<int key="IBUITextAlignment">1</int>
|
||||
<reference key="IBUIFontDescription" ref="793750269"/>
|
||||
<reference key="IBUIFont" ref="689379098"/>
|
||||
<bool key="IBUIAdjustsFontSizeToFit">NO</bool>
|
||||
</object>
|
||||
<object class="IBUIImageView" id="624634158">
|
||||
<reference key="NSNextResponder" ref="213491309"/>
|
||||
<int key="NSvFlags">1316</int>
|
||||
<object class="NSPSMatrix" key="NSFrameMatrix"/>
|
||||
<string key="NSFrame">{{212, 182}, {88, 88}}</string>
|
||||
<reference key="NSSuperview" ref="213491309"/>
|
||||
<reference key="IBUIBackgroundColor" ref="246555558"/>
|
||||
<int key="IBUIContentMode">4</int>
|
||||
<bool key="IBUIUserInteractionEnabled">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<object class="NSCustomResource" key="IBUIImage">
|
||||
<string key="NSClassName">NSImage</string>
|
||||
<string key="NSResourceName">right-rock-88.png</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBUIImageView" id="181150634">
|
||||
<reference key="NSNextResponder" ref="213491309"/>
|
||||
<int key="NSvFlags">1316</int>
|
||||
<object class="NSPSMatrix" key="NSFrameMatrix"/>
|
||||
<string key="NSFrame">{{20, 182}, {88, 88}}</string>
|
||||
<reference key="NSSuperview" ref="213491309"/>
|
||||
<reference key="IBUIBackgroundColor" ref="246555558"/>
|
||||
<int key="IBUIContentMode">4</int>
|
||||
<bool key="IBUIUserInteractionEnabled">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<reference key="IBUIImage" ref="279854062"/>
|
||||
</object>
|
||||
<object class="IBUIButton" id="339632398">
|
||||
<reference key="NSNextResponder" ref="213491309"/>
|
||||
<int key="NSvFlags">1316</int>
|
||||
<object class="NSPSMatrix" key="NSFrameMatrix"/>
|
||||
<string key="NSFrame">{{256, 404}, {44, 44}}</string>
|
||||
<reference key="NSSuperview" ref="213491309"/>
|
||||
<bool key="IBUIOpaque">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<int key="IBUIContentHorizontalAlignment">0</int>
|
||||
<int key="IBUIContentVerticalAlignment">0</int>
|
||||
<int key="IBUIButtonType">1</int>
|
||||
<object class="NSColor" key="IBUINormalTitleColor">
|
||||
<int key="NSColorSpace">1</int>
|
||||
<bytes key="NSRGB">MCAwLjI1MDk4MDQwNyAwLjUwMTk2MDgxNAA</bytes>
|
||||
</object>
|
||||
<reference key="IBUIHighlightedTitleColor" ref="246555558"/>
|
||||
<reference key="IBUINormalTitleShadowColor" ref="1029885826"/>
|
||||
<object class="NSCustomResource" key="IBUINormalBackgroundImage">
|
||||
<string key="NSClassName">NSImage</string>
|
||||
<string key="NSResourceName">IconFacebook-72.png</string>
|
||||
</object>
|
||||
<object class="IBUIFontDescription" key="IBUIFontDescription">
|
||||
<int key="type">2</int>
|
||||
<double key="pointSize">15</double>
|
||||
</object>
|
||||
<object class="NSFont" key="IBUIFont">
|
||||
<string key="NSName">HelveticaNeue-Bold</string>
|
||||
<double key="NSSize">15</double>
|
||||
<int key="NSfFlags">16</int>
|
||||
</object>
|
||||
</object>
|
||||
</array>
|
||||
<object class="NSPSMatrix" key="NSFrameMatrix"/>
|
||||
<string key="NSFrame">{{0, 20}, {320, 499}}</string>
|
||||
<object class="NSColor" key="IBUIBackgroundColor">
|
||||
<int key="NSColorSpace">3</int>
|
||||
<bytes key="NSWhite">MC44ODE5Mjg2MDQAA</bytes>
|
||||
</object>
|
||||
<object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics"/>
|
||||
<object class="IBUISimulatedTabBarMetrics" key="IBUISimulatedBottomBarMetrics"/>
|
||||
<object class="IBUIScreenMetrics" key="IBUISimulatedDestinationMetrics">
|
||||
<string key="IBUISimulatedSizeMetricsClass">IBUIScreenMetrics</string>
|
||||
<object class="NSMutableDictionary" key="IBUINormalizedOrientationToSizeMap">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<array key="dict.sortedKeys">
|
||||
<integer value="1"/>
|
||||
<integer value="3"/>
|
||||
</array>
|
||||
<array key="dict.values">
|
||||
<string>{320, 568}</string>
|
||||
<string>{568, 320}</string>
|
||||
</array>
|
||||
</object>
|
||||
<string key="IBUITargetRuntime">IBCocoaTouchFramework</string>
|
||||
<string key="IBUIDisplayName">Retina 4-inch Full Screen</string>
|
||||
<int key="IBUIType">2</int>
|
||||
</object>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
</object>
|
||||
</array>
|
||||
<object class="IBObjectContainer" key="IBDocument.Objects">
|
||||
<bool key="usesAutoincrementingIDs">NO</bool>
|
||||
<array class="NSMutableArray" key="connectionRecords">
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">againButton</string>
|
||||
<reference key="source" ref="622432374"/>
|
||||
<reference key="destination" ref="1038194627"/>
|
||||
</object>
|
||||
<string key="id">65</string>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">computerHand</string>
|
||||
<reference key="source" ref="622432374"/>
|
||||
<reference key="destination" ref="624634158"/>
|
||||
</object>
|
||||
<string key="id">60</string>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">facebookButton</string>
|
||||
<reference key="source" ref="622432374"/>
|
||||
<reference key="destination" ref="339632398"/>
|
||||
</object>
|
||||
<string key="id">69</string>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">paperButton</string>
|
||||
<reference key="source" ref="622432374"/>
|
||||
<reference key="destination" ref="588733907"/>
|
||||
</object>
|
||||
<string key="id">48</string>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">paperLabel</string>
|
||||
<reference key="source" ref="622432374"/>
|
||||
<reference key="destination" ref="536913105"/>
|
||||
</object>
|
||||
<string key="id">50</string>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">playerHand</string>
|
||||
<reference key="source" ref="622432374"/>
|
||||
<reference key="destination" ref="181150634"/>
|
||||
</object>
|
||||
<string key="id">66</string>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">resultLabel</string>
|
||||
<reference key="source" ref="622432374"/>
|
||||
<reference key="destination" ref="6624214"/>
|
||||
</object>
|
||||
<string key="id">74</string>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">rockButton</string>
|
||||
<reference key="source" ref="622432374"/>
|
||||
<reference key="destination" ref="592107440"/>
|
||||
</object>
|
||||
<string key="id">47</string>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">rockLabel</string>
|
||||
<reference key="source" ref="622432374"/>
|
||||
<reference key="destination" ref="109126006"/>
|
||||
</object>
|
||||
<string key="id">39</string>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">scissorsButton</string>
|
||||
<reference key="source" ref="622432374"/>
|
||||
<reference key="destination" ref="785497260"/>
|
||||
</object>
|
||||
<string key="id">49</string>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">scissorsLabel</string>
|
||||
<reference key="source" ref="622432374"/>
|
||||
<reference key="destination" ref="5784945"/>
|
||||
</object>
|
||||
<string key="id">51</string>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">scoreLabel</string>
|
||||
<reference key="source" ref="622432374"/>
|
||||
<reference key="destination" ref="427118869"/>
|
||||
</object>
|
||||
<string key="id">72</string>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">shootLabel</string>
|
||||
<reference key="source" ref="622432374"/>
|
||||
<reference key="destination" ref="374004506"/>
|
||||
</object>
|
||||
<string key="id">52</string>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">view</string>
|
||||
<reference key="source" ref="622432374"/>
|
||||
<reference key="destination" ref="213491309"/>
|
||||
</object>
|
||||
<string key="id">3</string>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchEventConnection" key="connection">
|
||||
<string key="label">clickRPSButton:</string>
|
||||
<reference key="source" ref="592107440"/>
|
||||
<reference key="destination" ref="622432374"/>
|
||||
<int key="IBEventType">7</int>
|
||||
</object>
|
||||
<string key="id">75</string>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchEventConnection" key="connection">
|
||||
<string key="label">clickRPSButton:</string>
|
||||
<reference key="source" ref="588733907"/>
|
||||
<reference key="destination" ref="622432374"/>
|
||||
<int key="IBEventType">7</int>
|
||||
</object>
|
||||
<string key="id">76</string>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchEventConnection" key="connection">
|
||||
<string key="label">clickRPSButton:</string>
|
||||
<reference key="source" ref="785497260"/>
|
||||
<reference key="destination" ref="622432374"/>
|
||||
<int key="IBEventType">7</int>
|
||||
</object>
|
||||
<string key="id">77</string>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchEventConnection" key="connection">
|
||||
<string key="label">clickAgainButton:</string>
|
||||
<reference key="source" ref="1038194627"/>
|
||||
<reference key="destination" ref="622432374"/>
|
||||
<int key="IBEventType">7</int>
|
||||
</object>
|
||||
<string key="id">67</string>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchEventConnection" key="connection">
|
||||
<string key="label">clickFacebookButton:</string>
|
||||
<reference key="source" ref="339632398"/>
|
||||
<reference key="destination" ref="622432374"/>
|
||||
<int key="IBEventType">7</int>
|
||||
</object>
|
||||
<string key="id">70</string>
|
||||
</object>
|
||||
</array>
|
||||
<object class="IBMutableOrderedSet" key="objectRecords">
|
||||
<array key="orderedObjects">
|
||||
<object class="IBObjectRecord">
|
||||
<string key="id">0</string>
|
||||
<array key="object" id="0"/>
|
||||
<reference key="children" ref="1047478945"/>
|
||||
<nil key="parent"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<string key="id">-1</string>
|
||||
<reference key="object" ref="622432374"/>
|
||||
<reference key="parent" ref="0"/>
|
||||
<string key="objectName">File's Owner</string>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<string key="id">-2</string>
|
||||
<reference key="object" ref="835398093"/>
|
||||
<reference key="parent" ref="0"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<string key="id">1</string>
|
||||
<reference key="object" ref="213491309"/>
|
||||
<array class="NSMutableArray" key="children">
|
||||
<reference ref="65183742"/>
|
||||
<reference ref="1038194627"/>
|
||||
<reference ref="109126006"/>
|
||||
<reference ref="536913105"/>
|
||||
<reference ref="427118869"/>
|
||||
<reference ref="5784945"/>
|
||||
<reference ref="592107440"/>
|
||||
<reference ref="588733907"/>
|
||||
<reference ref="785497260"/>
|
||||
<reference ref="374004506"/>
|
||||
<reference ref="6624214"/>
|
||||
<reference ref="624634158"/>
|
||||
<reference ref="181150634"/>
|
||||
<reference ref="339632398"/>
|
||||
</array>
|
||||
<reference key="parent" ref="0"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<string key="id">38</string>
|
||||
<reference key="object" ref="65183742"/>
|
||||
<reference key="parent" ref="213491309"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<string key="id">62</string>
|
||||
<reference key="object" ref="1038194627"/>
|
||||
<reference key="parent" ref="213491309"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<string key="id">28</string>
|
||||
<reference key="object" ref="109126006"/>
|
||||
<reference key="parent" ref="213491309"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<string key="id">30</string>
|
||||
<reference key="object" ref="536913105"/>
|
||||
<reference key="parent" ref="213491309"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<string key="id">71</string>
|
||||
<reference key="object" ref="427118869"/>
|
||||
<reference key="parent" ref="213491309"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<string key="id">31</string>
|
||||
<reference key="object" ref="5784945"/>
|
||||
<reference key="parent" ref="213491309"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<string key="id">34</string>
|
||||
<reference key="object" ref="592107440"/>
|
||||
<reference key="parent" ref="213491309"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<string key="id">35</string>
|
||||
<reference key="object" ref="588733907"/>
|
||||
<reference key="parent" ref="213491309"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<string key="id">36</string>
|
||||
<reference key="object" ref="785497260"/>
|
||||
<reference key="parent" ref="213491309"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<string key="id">37</string>
|
||||
<reference key="object" ref="374004506"/>
|
||||
<reference key="parent" ref="213491309"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<string key="id">73</string>
|
||||
<reference key="object" ref="6624214"/>
|
||||
<reference key="parent" ref="213491309"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<string key="id">53</string>
|
||||
<reference key="object" ref="624634158"/>
|
||||
<reference key="parent" ref="213491309"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<string key="id">61</string>
|
||||
<reference key="object" ref="181150634"/>
|
||||
<reference key="parent" ref="213491309"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<string key="id">68</string>
|
||||
<reference key="object" ref="339632398"/>
|
||||
<reference key="parent" ref="213491309"/>
|
||||
</object>
|
||||
</array>
|
||||
</object>
|
||||
<dictionary class="NSMutableDictionary" key="flattenedProperties">
|
||||
<string key="-1.CustomClassName">RPSGameViewController</string>
|
||||
<string key="-1.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<boolean value="NO" key="-1.showNotes"/>
|
||||
<string key="-2.CustomClassName">UIResponder</string>
|
||||
<string key="-2.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<boolean value="NO" key="-2.showNotes"/>
|
||||
<string key="1.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<reference key="1.IBUserGuides" ref="0"/>
|
||||
<boolean value="NO" key="1.showNotes"/>
|
||||
<string key="28.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<reference key="28.IBUserGuides" ref="0"/>
|
||||
<boolean value="NO" key="28.showNotes"/>
|
||||
<string key="30.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<reference key="30.IBUserGuides" ref="0"/>
|
||||
<boolean value="NO" key="30.showNotes"/>
|
||||
<string key="31.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<reference key="31.IBUserGuides" ref="0"/>
|
||||
<boolean value="NO" key="31.showNotes"/>
|
||||
<string key="34.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<reference key="34.IBUserGuides" ref="0"/>
|
||||
<boolean value="NO" key="34.showNotes"/>
|
||||
<string key="35.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<reference key="35.IBUserGuides" ref="0"/>
|
||||
<boolean value="NO" key="35.showNotes"/>
|
||||
<string key="36.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<reference key="36.IBUserGuides" ref="0"/>
|
||||
<boolean value="NO" key="36.showNotes"/>
|
||||
<string key="37.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<reference key="37.IBUserGuides" ref="0"/>
|
||||
<boolean value="NO" key="37.showNotes"/>
|
||||
<string key="38.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<reference key="38.IBUserGuides" ref="0"/>
|
||||
<boolean value="NO" key="38.showNotes"/>
|
||||
<string key="53.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<reference key="53.IBUserGuides" ref="0"/>
|
||||
<boolean value="NO" key="53.showNotes"/>
|
||||
<string key="61.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<reference key="61.IBUserGuides" ref="0"/>
|
||||
<boolean value="NO" key="61.showNotes"/>
|
||||
<string key="62.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<reference key="62.IBUserGuides" ref="0"/>
|
||||
<boolean value="NO" key="62.showNotes"/>
|
||||
<string key="68.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<reference key="68.IBUserGuides" ref="0"/>
|
||||
<boolean value="NO" key="68.showNotes"/>
|
||||
<string key="71.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<reference key="71.IBUserGuides" ref="0"/>
|
||||
<boolean value="NO" key="71.showNotes"/>
|
||||
<string key="73.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<reference key="73.IBUserGuides" ref="0"/>
|
||||
<boolean value="NO" key="73.showNotes"/>
|
||||
</dictionary>
|
||||
<dictionary class="NSMutableDictionary" key="unlocalizedProperties"/>
|
||||
<nil key="activeLocalization"/>
|
||||
<dictionary class="NSMutableDictionary" key="localizations"/>
|
||||
<nil key="sourceID"/>
|
||||
</object>
|
||||
<object class="IBClassDescriber" key="IBDocument.Classes"/>
|
||||
<int key="IBDocument.localizationMode">0</int>
|
||||
<string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<bool key="IBDocument.previouslyAttemptedUpgradeToXcode5">YES</bool>
|
||||
<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDependencyDefaults">
|
||||
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS</string>
|
||||
<real value="1280" key="NS.object.0"/>
|
||||
</object>
|
||||
<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies">
|
||||
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3</string>
|
||||
<integer value="4600" key="NS.object.0"/>
|
||||
</object>
|
||||
<bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
|
||||
<int key="IBDocument.defaultPropertyAccessControl">3</int>
|
||||
<dictionary class="NSMutableDictionary" key="IBDocument.LastKnownImageSizes">
|
||||
<string key="IconFacebook-72.png">{72, 72}</string>
|
||||
<string key="left-paper-88.png">{88, 88}</string>
|
||||
<string key="left-rock-88.png">{88, 88}</string>
|
||||
<string key="left-scissors-88.png">{88, 88}</string>
|
||||
<string key="right-rock-88.png">{88, 88}</string>
|
||||
</dictionary>
|
||||
<string key="IBCocoaTouchPluginVersion">3734.1</string>
|
||||
</data>
|
||||
</archive>
|
||||
|
After Width: | Height: | Size: 22 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 23 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 21 KiB |
|
After Width: | Height: | Size: 10 KiB |
@@ -0,0 +1,26 @@
|
||||
/*
|
||||
* Copyright 2010-present Facebook.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
#import "RPSAppDelegate.h"
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
@autoreleasepool {
|
||||
return UIApplicationMain(argc, argv, nil, NSStringFromClass([RPSAppDelegate class]));
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 25 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 24 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 25 KiB |
|
After Width: | Height: | Size: 12 KiB |
@@ -0,0 +1,13 @@
|
||||
Rock, Paper, Scissors sample
|
||||
|
||||
This sample demonstrates use of the Facebook SDK to create and query Open Graph Actions. It consists of two views.
|
||||
The first view allows the user to post Open Graph Actions to their Timeline. The second view allows the user to
|
||||
view a list of their friends who have also installed the Rock, Paper, Scissors sample app, select one of those
|
||||
friends, and retrieve a list of the actions that that friend has recently posted.
|
||||
|
||||
It can serve as the basis for integrating Facebook into a real-world app that has multiple types of Open Graph actions
|
||||
and that allows a user to view their friends' recent app-related activity directly from within the app.
|
||||
|
||||
Using the Sample
|
||||
Install the Facebook SDK for iOS.
|
||||
Launch the RPSSample project using Xcode from the <Facebook SDK>/samples/RPSSample directory.
|
||||
@@ -0,0 +1,117 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Copyright 2010-present Facebook.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
# Note: Use of this script requires Perl
|
||||
|
||||
#
|
||||
# step 1 - confirm we have an app id and app secret to work with
|
||||
#
|
||||
|
||||
if [ -z "$APPID" ]
|
||||
then
|
||||
echo '$APPID must be exported and set to the application id for the sample before running this script'
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ -z "$APPSECRET" ]
|
||||
then
|
||||
echo '$APPSECRET must be exported set to the app secret for the sample before running this script'
|
||||
exit 1
|
||||
fi
|
||||
|
||||
#
|
||||
# step 2 - stage images and capture their URIs in variables
|
||||
#
|
||||
|
||||
echo curling...
|
||||
|
||||
ROCK_IMAGE_URI=` \
|
||||
curl -s -k -X POST https://graph.facebook.com/$APPID/staging_resources -F access_token="$APPID|$APPSECRET" -F 'file=@RPSSample/left-rock-128.png;type=image/png' \
|
||||
| perl -ne '/"uri":"(.*)"}/ && print $1' `
|
||||
|
||||
PAPER_IMAGE_URI=` \
|
||||
curl -s -k -X POST https://graph.facebook.com/$APPID/staging_resources -F access_token="$APPID|$APPSECRET" -F 'file=@RPSSample/left-paper-128.png;type=image/png' \
|
||||
| perl -ne '/"uri":"(.*)"}/ && print $1' `
|
||||
|
||||
SCISSORS_IMAGE_URI=` \
|
||||
curl -s -k -X POST https://graph.facebook.com/$APPID/staging_resources -F access_token="$APPID|$APPSECRET" -F 'file=@RPSSample/left-scissors-128.png;type=image/png' \
|
||||
| perl -ne '/"uri":"(.*)"}/ && print $1' `
|
||||
|
||||
echo "created staged resources..."
|
||||
echo " rock=$ROCK_IMAGE_URI"
|
||||
echo " paper=$PAPER_IMAGE_URI"
|
||||
echo " scissors=$SCISSORS_IMAGE_URI"
|
||||
|
||||
#
|
||||
# step 3 - create objects and capture their IDs in variables
|
||||
#
|
||||
|
||||
# rock
|
||||
ROCK_OBJID=` \
|
||||
curl -s -X POST -F "object={\"title\":\"Rock\",\"description\":\"Breaks scissors, alas is covered by paper.\",\"image\":\"$ROCK_IMAGE_URI\"}" "https://graph.facebook.com/$APPID/objects/fb_sample_rps:gesture?access_token=$APPID|$APPSECRET" \
|
||||
| perl -ne '/"id":"(.*)"}/ && print $1' `
|
||||
|
||||
# paper
|
||||
PAPER_OBJID=` \
|
||||
curl -s -X POST -F "object={\"title\":\"Paper\",\"description\":\"Covers rock, sadly scissors cut it.\",\"image\":\"$PAPER_IMAGE_URI\"}" "https://graph.facebook.com/$APPID/objects/fb_sample_rps:gesture?access_token=$APPID|$APPSECRET" \
|
||||
| perl -ne '/"id":"(.*)"}/ && print $1' `
|
||||
|
||||
# scissors
|
||||
SCISSORS_OBJID=` \
|
||||
curl -s -X POST -F "object={\"title\":\"Scissors\",\"description\":\"Cuts paper, broken by rock -- bother.\",\"image\":\"$SCISSORS_IMAGE_URI\"}" "https://graph.facebook.com/$APPID/objects/fb_sample_rps:gesture?access_token=$APPID|$APPSECRET" \
|
||||
| perl -ne '/"id":"(.*)"}/ && print $1' `
|
||||
|
||||
#
|
||||
# step 4 - echo progress
|
||||
#
|
||||
|
||||
echo "created application objects..."
|
||||
echo " rock=$ROCK_OBJID"
|
||||
echo " paper=$PAPER_OBJID"
|
||||
echo " scissors=$SCISSORS_OBJID"
|
||||
|
||||
#
|
||||
# step 5 - write .m file for common objects
|
||||
#
|
||||
|
||||
MFILE=RPSSample/RPSCommonObjects.m
|
||||
|
||||
cat > $MFILE << EOF
|
||||
/*
|
||||
* Copyright 2010-present Facebook.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
NSString *builtInOpenGraphObjects[3] = {
|
||||
@"$ROCK_OBJID", // rock
|
||||
@"$PAPER_OBJID", // paper
|
||||
@"$SCISSORS_OBJID"}; // scissors
|
||||
EOF
|
||||
|
||||
echo "created $MFILE ..."
|
||||
echo done.
|
||||