Altbestände der Views gelöscht

This commit is contained in:
Dr. Julian-Steffen Müller
2019-08-05 14:11:50 +02:00
parent a45399ce26
commit 6e548640ff
14 changed files with 3 additions and 1061 deletions

View File

@@ -7,23 +7,16 @@
objects = {
/* Begin PBXBuildFile section */
B926F12B2149B173004D36B7 /* ConsoleCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = B926F12A2149B173004D36B7 /* ConsoleCell.swift */; };
B926F12D2149B264004D36B7 /* FlockeEntry.swift in Sources */ = {isa = PBXBuildFile; fileRef = B926F12C2149B264004D36B7 /* FlockeEntry.swift */; };
B926F131214AD9E4004D36B7 /* GameCollection.swift in Sources */ = {isa = PBXBuildFile; fileRef = B926F130214AD9E4004D36B7 /* GameCollection.swift */; };
B926F139214AE884004D36B7 /* FlockeWS.swift in Sources */ = {isa = PBXBuildFile; fileRef = B926F138214AE884004D36B7 /* FlockeWS.swift */; };
B926F13C214C44FE004D36B7 /* Attachment.swift in Sources */ = {isa = PBXBuildFile; fileRef = B926F13B214C44FE004D36B7 /* Attachment.swift */; };
B926F13F214E4678004D36B7 /* GameCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = B926F13E214E4678004D36B7 /* GameCell.swift */; };
B926F14721502D53004D36B7 /* CodableExtensionAny.swift in Sources */ = {isa = PBXBuildFile; fileRef = B926F14621502D53004D36B7 /* CodableExtensionAny.swift */; };
B926F14A21502DE1004D36B7 /* ConsoleEntry.swift in Sources */ = {isa = PBXBuildFile; fileRef = B926F14921502DE1004D36B7 /* ConsoleEntry.swift */; };
B93C1B9D21496BFD0014FD6E /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = B93C1B9C21496BFD0014FD6E /* AppDelegate.swift */; };
B93C1BA221496BFD0014FD6E /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = B93C1BA021496BFD0014FD6E /* Main.storyboard */; };
B93C1BA421496BFE0014FD6E /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = B93C1BA321496BFE0014FD6E /* Assets.xcassets */; };
B93C1BB02149750E0014FD6E /* AllConsolesViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = B93C1BAF2149750E0014FD6E /* AllConsolesViewController.swift */; };
B93D60CC22D88F2B00DD390F /* AccessoryDetailController.swift in Sources */ = {isa = PBXBuildFile; fileRef = B93D60CB22D88F2B00DD390F /* AccessoryDetailController.swift */; };
B93D60CE22D88F5700DD390F /* AccessoryDetailView.swift in Sources */ = {isa = PBXBuildFile; fileRef = B93D60CD22D88F5700DD390F /* AccessoryDetailView.swift */; };
B93D60D122E5009700DD390F /* GameViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = B93D60D022E5009700DD390F /* GameViewModel.swift */; };
B9418449215422ED0050D099 /* AddEntryPopUpViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = B9418448215422ED0050D099 /* AddEntryPopUpViewController.swift */; };
B941844B2156891E0050D099 /* UIButtonX.swift in Sources */ = {isa = PBXBuildFile; fileRef = B941844A2156891E0050D099 /* UIButtonX.swift */; };
B94CB4FF22D1352F0029BFAD /* Accessory+CoreDataClass.swift in Sources */ = {isa = PBXBuildFile; fileRef = B94CB4F322D1352F0029BFAD /* Accessory+CoreDataClass.swift */; };
B94CB50022D1352F0029BFAD /* Accessory+CoreDataProperties.swift in Sources */ = {isa = PBXBuildFile; fileRef = B94CB4F422D1352F0029BFAD /* Accessory+CoreDataProperties.swift */; };
B94CB50122D1352F0029BFAD /* Cover+CoreDataClass.swift in Sources */ = {isa = PBXBuildFile; fileRef = B94CB4F522D1352F0029BFAD /* Cover+CoreDataClass.swift */; };
@@ -37,18 +30,13 @@
B94CB50922D1352F0029BFAD /* Logo+CoreDataClass.swift in Sources */ = {isa = PBXBuildFile; fileRef = B94CB4FD22D1352F0029BFAD /* Logo+CoreDataClass.swift */; };
B94CB50A22D1352F0029BFAD /* Logo+CoreDataProperties.swift in Sources */ = {isa = PBXBuildFile; fileRef = B94CB4FE22D1352F0029BFAD /* Logo+CoreDataProperties.swift */; };
B94CB53722D3B3CC0029BFAD /* GameDetailView.swift in Sources */ = {isa = PBXBuildFile; fileRef = B94CB53622D3B3CC0029BFAD /* GameDetailView.swift */; };
B94CB53922D3B6490029BFAD /* GameDetailController.swift in Sources */ = {isa = PBXBuildFile; fileRef = B94CB53822D3B6490029BFAD /* GameDetailController.swift */; };
B98A734D22BAD27D00FB3410 /* Zockerhoehle.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = B98A731722BA9E4600FB3410 /* Zockerhoehle.xcdatamodeld */; };
B98A735E22BFAA4B00FB3410 /* ConsoleLibraryViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = B926F12E2149B6F5004D36B7 /* ConsoleLibraryViewController.swift */; };
B98A736022C1738800FB3410 /* CDManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = B98A735F22C1738800FB3410 /* CDManager.swift */; };
B9BCF4CA2168ACB600ECBAAC /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = B9BCF4C92168ACB600ECBAAC /* LaunchScreen.storyboard */; };
B9BCF523217900D700ECBAAC /* WaitingPopOver.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = B9BCF521217900D700ECBAAC /* WaitingPopOver.storyboard */; };
B9D2C6F722E98ED800797F67 /* AccessoryViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = B9D2C6F622E98ED800797F67 /* AccessoryViewModel.swift */; };
B9D6A39A22D885DD00A280DC /* AccessoryCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = B9D6A39922D885DD00A280DC /* AccessoryCell.swift */; };
B9E256FE2156D026009FD133 /* UIViewX.swift in Sources */ = {isa = PBXBuildFile; fileRef = B9E256FD2156D026009FD133 /* UIViewX.swift */; };
B9F002E52187AA3200E12B0A /* FlockeConnector.swift in Sources */ = {isa = PBXBuildFile; fileRef = B9F002E42187AA3200E12B0A /* FlockeConnector.swift */; };
B9F44ABA22F312E600FC6B29 /* ConsoleLibraryView.swift in Sources */ = {isa = PBXBuildFile; fileRef = B9F44AB922F312E600FC6B29 /* ConsoleLibraryView.swift */; };
B9F44ABC22F3145300FC6B29 /* ConsoleDetailViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = B9F44ABB22F3145300FC6B29 /* ConsoleDetailViewController.swift */; };
B9F44ABE22F31DEF00FC6B29 /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = B9F44ABD22F31DEF00FC6B29 /* SceneDelegate.swift */; };
B9F44AE322F3216F00FC6B29 /* ConsolesListView.swift in Sources */ = {isa = PBXBuildFile; fileRef = B9F44AE222F3216F00FC6B29 /* ConsolesListView.swift */; };
B9F44AE522F418F600FC6B29 /* ConsoleStore.swift in Sources */ = {isa = PBXBuildFile; fileRef = B9F44AE422F418F600FC6B29 /* ConsoleStore.swift */; };
@@ -57,25 +45,19 @@
/* End PBXBuildFile section */
/* Begin PBXFileReference section */
B926F12A2149B173004D36B7 /* ConsoleCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ConsoleCell.swift; sourceTree = "<group>"; };
B926F12C2149B264004D36B7 /* FlockeEntry.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FlockeEntry.swift; sourceTree = "<group>"; };
B926F12E2149B6F5004D36B7 /* ConsoleLibraryViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ConsoleLibraryViewController.swift; sourceTree = "<group>"; };
B926F130214AD9E4004D36B7 /* GameCollection.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GameCollection.swift; sourceTree = "<group>"; };
B926F138214AE884004D36B7 /* FlockeWS.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FlockeWS.swift; sourceTree = "<group>"; };
B926F13B214C44FE004D36B7 /* Attachment.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Attachment.swift; sourceTree = "<group>"; };
B926F13E214E4678004D36B7 /* GameCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GameCell.swift; sourceTree = "<group>"; };
B926F14621502D53004D36B7 /* CodableExtensionAny.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CodableExtensionAny.swift; sourceTree = "<group>"; };
B926F14921502DE1004D36B7 /* ConsoleEntry.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ConsoleEntry.swift; sourceTree = "<group>"; };
B93C1B9921496BFD0014FD6E /* Zockerhoehle.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Zockerhoehle.app; sourceTree = BUILT_PRODUCTS_DIR; };
B93C1B9C21496BFD0014FD6E /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
B93C1BA321496BFE0014FD6E /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
B93C1BA821496BFE0014FD6E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
B93C1BAF2149750E0014FD6E /* AllConsolesViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AllConsolesViewController.swift; sourceTree = "<group>"; };
B93D60CB22D88F2B00DD390F /* AccessoryDetailController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AccessoryDetailController.swift; sourceTree = "<group>"; };
B93D60CD22D88F5700DD390F /* AccessoryDetailView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AccessoryDetailView.swift; sourceTree = "<group>"; };
B93D60D022E5009700DD390F /* GameViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GameViewModel.swift; sourceTree = "<group>"; };
B9418448215422ED0050D099 /* AddEntryPopUpViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AddEntryPopUpViewController.swift; sourceTree = "<group>"; };
B941844A2156891E0050D099 /* UIButtonX.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UIButtonX.swift; sourceTree = "<group>"; };
B94CB4F322D1352F0029BFAD /* Accessory+CoreDataClass.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Accessory+CoreDataClass.swift"; sourceTree = "<group>"; };
B94CB4F422D1352F0029BFAD /* Accessory+CoreDataProperties.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Accessory+CoreDataProperties.swift"; sourceTree = "<group>"; };
B94CB4F522D1352F0029BFAD /* Cover+CoreDataClass.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Cover+CoreDataClass.swift"; sourceTree = "<group>"; };
@@ -90,18 +72,12 @@
B94CB4FE22D1352F0029BFAD /* Logo+CoreDataProperties.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Logo+CoreDataProperties.swift"; sourceTree = "<group>"; };
B94CB53522D3708F0029BFAD /* Zockerhoehle copy-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = "Zockerhoehle copy-Info.plist"; path = "/Users/julian/Entwicklung/Zockerhoehle/Zockerhoehle copy-Info.plist"; sourceTree = "<absolute>"; };
B94CB53622D3B3CC0029BFAD /* GameDetailView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GameDetailView.swift; sourceTree = "<group>"; };
B94CB53822D3B6490029BFAD /* GameDetailController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GameDetailController.swift; sourceTree = "<group>"; };
B98A731822BA9E4600FB3410 /* Zockerhoehle.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = Zockerhoehle.xcdatamodel; sourceTree = "<group>"; };
B98A735F22C1738800FB3410 /* CDManager.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CDManager.swift; sourceTree = "<group>"; };
B9A054FE22F852B00054D9A0 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Zockerhoehle/Base.lproj/WaitingPopOver.storyboard; sourceTree = "<group>"; };
B9A054FF22F852B00054D9A0 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
B9BCF4C92168ACB600ECBAAC /* LaunchScreen.storyboard */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; path = LaunchScreen.storyboard; sourceTree = "<group>"; };
B9D2C6F622E98ED800797F67 /* AccessoryViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AccessoryViewModel.swift; sourceTree = "<group>"; };
B9D6A39922D885DD00A280DC /* AccessoryCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AccessoryCell.swift; sourceTree = "<group>"; };
B9E256FD2156D026009FD133 /* UIViewX.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UIViewX.swift; sourceTree = "<group>"; };
B9F002E42187AA3200E12B0A /* FlockeConnector.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FlockeConnector.swift; sourceTree = "<group>"; };
B9F44AB922F312E600FC6B29 /* ConsoleLibraryView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ConsoleLibraryView.swift; sourceTree = "<group>"; };
B9F44ABB22F3145300FC6B29 /* ConsoleDetailViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ConsoleDetailViewController.swift; sourceTree = "<group>"; };
B9F44ABD22F31DEF00FC6B29 /* SceneDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SceneDelegate.swift; sourceTree = "<group>"; };
B9F44AE222F3216F00FC6B29 /* ConsolesListView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ConsolesListView.swift; sourceTree = "<group>"; };
B9F44AE422F418F600FC6B29 /* ConsoleStore.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ConsoleStore.swift; sourceTree = "<group>"; };
@@ -142,11 +118,6 @@
isa = PBXGroup;
children = (
B926F12E2149B6F5004D36B7 /* ConsoleLibraryViewController.swift */,
B93C1BAF2149750E0014FD6E /* AllConsolesViewController.swift */,
B9418448215422ED0050D099 /* AddEntryPopUpViewController.swift */,
B94CB53822D3B6490029BFAD /* GameDetailController.swift */,
B93D60CB22D88F2B00DD390F /* AccessoryDetailController.swift */,
B9F44ABB22F3145300FC6B29 /* ConsoleDetailViewController.swift */,
);
path = ViewController;
sourceTree = "<group>";
@@ -154,10 +125,7 @@
B926F136214AE2E3004D36B7 /* Views */ = {
isa = PBXGroup;
children = (
B926F12A2149B173004D36B7 /* ConsoleCell.swift */,
B926F13E214E4678004D36B7 /* GameCell.swift */,
B94CB53622D3B3CC0029BFAD /* GameDetailView.swift */,
B9D6A39922D885DD00A280DC /* AccessoryCell.swift */,
B93D60CD22D88F5700DD390F /* AccessoryDetailView.swift */,
B9F44AB922F312E600FC6B29 /* ConsoleLibraryView.swift */,
B9F44AE222F3216F00FC6B29 /* ConsolesListView.swift */,
@@ -178,8 +146,6 @@
isa = PBXGroup;
children = (
B926F14621502D53004D36B7 /* CodableExtensionAny.swift */,
B941844A2156891E0050D099 /* UIButtonX.swift */,
B9E256FD2156D026009FD133 /* UIViewX.swift */,
);
path = Lib;
sourceTree = "<group>";
@@ -205,7 +171,6 @@
B93C1B9B21496BFD0014FD6E /* Zockerhoehle */ = {
isa = PBXGroup;
children = (
B9F44ABD22F31DEF00FC6B29 /* SceneDelegate.swift */,
B93D60CF22E5006F00DD390F /* ViewModel */,
B98A734622BACA9C00FB3410 /* CDModel */,
B926F14821502D7F004D36B7 /* Lib */,
@@ -214,8 +179,7 @@
B926F135214AE2D4004D36B7 /* ViewController */,
B926F134214AE2C0004D36B7 /* Model */,
B93C1B9C21496BFD0014FD6E /* AppDelegate.swift */,
B9BCF521217900D700ECBAAC /* WaitingPopOver.storyboard */,
B93C1BA021496BFD0014FD6E /* Main.storyboard */,
B9F44ABD22F31DEF00FC6B29 /* SceneDelegate.swift */,
B9BCF4C92168ACB600ECBAAC /* LaunchScreen.storyboard */,
B98A735F22C1738800FB3410 /* CDManager.swift */,
B93C1BA321496BFE0014FD6E /* Assets.xcassets */,
@@ -318,8 +282,6 @@
files = (
B9BCF4CA2168ACB600ECBAAC /* LaunchScreen.storyboard in Resources */,
B93C1BA421496BFE0014FD6E /* Assets.xcassets in Resources */,
B9BCF523217900D700ECBAAC /* WaitingPopOver.storyboard in Resources */,
B93C1BA221496BFD0014FD6E /* Main.storyboard in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -351,7 +313,6 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
B94CB53922D3B6490029BFAD /* GameDetailController.swift in Sources */,
B926F139214AE884004D36B7 /* FlockeWS.swift in Sources */,
B926F13C214C44FE004D36B7 /* Attachment.swift in Sources */,
B93C1B9D21496BFD0014FD6E /* AppDelegate.swift in Sources */,
@@ -361,31 +322,22 @@
B9F44ABA22F312E600FC6B29 /* ConsoleLibraryView.swift in Sources */,
B9F44ABE22F31DEF00FC6B29 /* SceneDelegate.swift in Sources */,
B9D2C6F722E98ED800797F67 /* AccessoryViewModel.swift in Sources */,
B93C1BB02149750E0014FD6E /* AllConsolesViewController.swift in Sources */,
B926F13F214E4678004D36B7 /* GameCell.swift in Sources */,
B9F002E52187AA3200E12B0A /* FlockeConnector.swift in Sources */,
B94CB50A22D1352F0029BFAD /* Logo+CoreDataProperties.swift in Sources */,
B94CB4FF22D1352F0029BFAD /* Accessory+CoreDataClass.swift in Sources */,
B98A734D22BAD27D00FB3410 /* Zockerhoehle.xcdatamodeld in Sources */,
B93D60D122E5009700DD390F /* GameViewModel.swift in Sources */,
B9E256FE2156D026009FD133 /* UIViewX.swift in Sources */,
B926F12B2149B173004D36B7 /* ConsoleCell.swift in Sources */,
B9F44AE722F429D300FC6B29 /* GameStore.swift in Sources */,
B926F12D2149B264004D36B7 /* FlockeEntry.swift in Sources */,
B98A735E22BFAA4B00FB3410 /* ConsoleLibraryViewController.swift in Sources */,
B94CB50522D1352F0029BFAD /* Console+CoreDataClass.swift in Sources */,
B941844B2156891E0050D099 /* UIButtonX.swift in Sources */,
B94CB50922D1352F0029BFAD /* Logo+CoreDataClass.swift in Sources */,
B94CB50622D1352F0029BFAD /* Console+CoreDataProperties.swift in Sources */,
B926F131214AD9E4004D36B7 /* GameCollection.swift in Sources */,
B93D60CE22D88F5700DD390F /* AccessoryDetailView.swift in Sources */,
B926F14A21502DE1004D36B7 /* ConsoleEntry.swift in Sources */,
B93D60CC22D88F2B00DD390F /* AccessoryDetailController.swift in Sources */,
B94CB50722D1352F0029BFAD /* GameSeries+CoreDataClass.swift in Sources */,
B9F44ABC22F3145300FC6B29 /* ConsoleDetailViewController.swift in Sources */,
B9418449215422ED0050D099 /* AddEntryPopUpViewController.swift in Sources */,
B94CB50022D1352F0029BFAD /* Accessory+CoreDataProperties.swift in Sources */,
B9D6A39A22D885DD00A280DC /* AccessoryCell.swift in Sources */,
B926F14721502D53004D36B7 /* CodableExtensionAny.swift in Sources */,
B94CB50422D1352F0029BFAD /* Game+CoreDataProperties.swift in Sources */,
B9F44AE922F4655600FC6B29 /* AccessoryStore.swift in Sources */,
@@ -399,25 +351,6 @@
};
/* End PBXSourcesBuildPhase section */
/* Begin PBXVariantGroup section */
B93C1BA021496BFD0014FD6E /* Main.storyboard */ = {
isa = PBXVariantGroup;
children = (
B9A054FF22F852B00054D9A0 /* Base */,
);
name = Main.storyboard;
sourceTree = "<group>";
};
B9BCF521217900D700ECBAAC /* WaitingPopOver.storyboard */ = {
isa = PBXVariantGroup;
children = (
B9A054FE22F852B00054D9A0 /* Base */,
);
name = WaitingPopOver.storyboard;
sourceTree = "<group>";
};
/* End PBXVariantGroup section */
/* Begin XCBuildConfiguration section */
B93C1BA921496BFE0014FD6E /* Debug */ = {
isa = XCBuildConfiguration;

View File

@@ -1,536 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14835.7" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="4Jr-WK-1Jd">
<device id="retina6_5" orientation="portrait" appearance="light"/>
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14790.5"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<scenes>
<!--Navigation Controller-->
<scene sceneID="WWg-fs-aL3">
<objects>
<navigationController id="4Jr-WK-1Jd" sceneMemberID="viewController">
<simulatedNavigationBarMetrics key="simulatedTopBarMetrics" prompted="NO"/>
<navigationBar key="navigationBar" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" id="QE9-g3-VVe">
<rect key="frame" x="0.0" y="44" width="414" height="44"/>
<autoresizingMask key="autoresizingMask"/>
<color key="barTintColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<textAttributes key="titleTextAttributes">
<fontDescription key="fontDescription" type="boldSystem" pointSize="22"/>
<color key="textColor" white="0.33333333333333331" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</textAttributes>
</navigationBar>
<connections>
<segue destination="BYZ-38-t0r" kind="relationship" relationship="rootViewController" id="Ihp-Pi-YKS"/>
</connections>
</navigationController>
<placeholder placeholderIdentifier="IBFirstResponder" id="Pz7-pW-H47" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="-1630" y="163"/>
</scene>
<!--Zockerhöhle-->
<scene sceneID="tne-QT-ifu">
<objects>
<viewController id="BYZ-38-t0r" customClass="AllConsolesViewController" customModule="Zockerhoehle" customModuleProvider="target" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="85" estimatedRowHeight="-1" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="ojl-uD-iv1">
<rect key="frame" x="0.0" y="88" width="414" height="774"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<inset key="separatorInset" minX="85" minY="0.0" maxX="0.0" maxY="0.0"/>
<prototypes>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" reuseIdentifier="ConsoleCell" rowHeight="85" id="FVv-MH-9pT" customClass="ConsoleCell" customModule="Zockerhoehle" customModuleProvider="target">
<rect key="frame" x="0.0" y="28" width="414" height="85"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="FVv-MH-9pT" id="Zkq-Nd-xoz">
<rect key="frame" x="0.0" y="0.0" width="414" height="85"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Spiele:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="dlI-Zp-y9l">
<rect key="frame" x="90" y="47" width="44" height="17"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="eMj-mQ-9P0" userLabel="Logo">
<rect key="frame" x="10" y="10" width="65" height="65"/>
<constraints>
<constraint firstAttribute="height" constant="65" id="HVL-Gb-Ocq"/>
<constraint firstAttribute="width" secondItem="eMj-mQ-9P0" secondAttribute="height" multiplier="1:1" id="el0-Ku-UP4"/>
</constraints>
</imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Console Name" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="STD-i3-2rX">
<rect key="frame" x="85" y="21" width="299" height="21"/>
<constraints>
<constraint firstAttribute="height" constant="21" id="CA0-vs-X0G"/>
</constraints>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="000" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="i4R-Q2-6HF">
<rect key="frame" x="139" y="47" width="26.666666666666657" height="17"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Zubehör:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="NsM-Ms-Klx">
<rect key="frame" x="180.66666666666666" y="47" width="59" height="17"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="000" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="fzz-MZ-0M5">
<rect key="frame" x="244.66666666666663" y="47" width="27" height="17"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<constraints>
<constraint firstItem="i4R-Q2-6HF" firstAttribute="top" secondItem="STD-i3-2rX" secondAttribute="bottom" constant="5" id="3pv-pP-mhy"/>
<constraint firstItem="dlI-Zp-y9l" firstAttribute="leading" secondItem="eMj-mQ-9P0" secondAttribute="trailing" constant="15" id="4KG-Jh-XuH"/>
<constraint firstItem="STD-i3-2rX" firstAttribute="top" secondItem="Zkq-Nd-xoz" secondAttribute="topMargin" constant="10" id="7tq-uG-aeE"/>
<constraint firstItem="dlI-Zp-y9l" firstAttribute="top" secondItem="STD-i3-2rX" secondAttribute="bottom" constant="5" id="AZK-kq-31V"/>
<constraint firstItem="NsM-Ms-Klx" firstAttribute="leading" secondItem="i4R-Q2-6HF" secondAttribute="trailing" constant="15" id="CCQ-BH-DPJ"/>
<constraint firstItem="eMj-mQ-9P0" firstAttribute="leading" secondItem="Zkq-Nd-xoz" secondAttribute="leading" constant="10" id="KyS-fq-R6r"/>
<constraint firstItem="NsM-Ms-Klx" firstAttribute="top" secondItem="STD-i3-2rX" secondAttribute="bottom" constant="5" id="MYC-Q0-y23"/>
<constraint firstItem="fzz-MZ-0M5" firstAttribute="top" secondItem="STD-i3-2rX" secondAttribute="bottom" constant="5" id="Ngs-Qa-7zD"/>
<constraint firstItem="i4R-Q2-6HF" firstAttribute="leading" secondItem="dlI-Zp-y9l" secondAttribute="trailing" constant="5" id="ODU-xE-PYf"/>
<constraint firstAttribute="trailingMargin" secondItem="STD-i3-2rX" secondAttribute="trailing" constant="10" id="P3a-GS-BuR"/>
<constraint firstItem="STD-i3-2rX" firstAttribute="leading" secondItem="eMj-mQ-9P0" secondAttribute="trailing" constant="10" id="XwS-NH-QPa"/>
<constraint firstItem="fzz-MZ-0M5" firstAttribute="leading" secondItem="NsM-Ms-Klx" secondAttribute="trailing" constant="5" id="dya-dr-5Km"/>
<constraint firstAttribute="trailingMargin" secondItem="STD-i3-2rX" secondAttribute="trailing" constant="10" id="pjE-zk-oWk"/>
<constraint firstItem="eMj-mQ-9P0" firstAttribute="centerY" secondItem="Zkq-Nd-xoz" secondAttribute="centerY" id="sXN-hX-jZc"/>
</constraints>
</tableViewCellContentView>
<connections>
<outlet property="accessoryCounter" destination="fzz-MZ-0M5" id="Dzh-2T-sI9"/>
<outlet property="consoleName" destination="STD-i3-2rX" id="63C-WU-8Hh"/>
<outlet property="gamesCounter" destination="i4R-Q2-6HF" id="AIt-Wn-fJE"/>
<outlet property="logo" destination="eMj-mQ-9P0" id="h3L-8f-kid"/>
<segue destination="FR4-qM-V1O" kind="show" id="z9f-xb-aJH"/>
</connections>
</tableViewCell>
</prototypes>
<connections>
<outlet property="dataSource" destination="BYZ-38-t0r" id="QqD-d8-vAI"/>
<outlet property="delegate" destination="BYZ-38-t0r" id="gsr-Bl-Ebo"/>
</connections>
</tableView>
</subviews>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstItem="6Tk-OE-BBY" firstAttribute="bottom" secondItem="ojl-uD-iv1" secondAttribute="bottom" id="JO3-PD-jGZ"/>
<constraint firstItem="ojl-uD-iv1" firstAttribute="leading" secondItem="6Tk-OE-BBY" secondAttribute="leading" id="Vcb-ON-mSz"/>
<constraint firstItem="ojl-uD-iv1" firstAttribute="leading" secondItem="6Tk-OE-BBY" secondAttribute="leading" id="dps-4t-5VN"/>
<constraint firstItem="6Tk-OE-BBY" firstAttribute="trailing" secondItem="ojl-uD-iv1" secondAttribute="trailing" id="iCg-WW-ZQV"/>
<constraint firstItem="ojl-uD-iv1" firstAttribute="top" secondItem="6Tk-OE-BBY" secondAttribute="top" id="j8X-ho-vnX"/>
</constraints>
<viewLayoutGuide key="safeArea" id="6Tk-OE-BBY"/>
</view>
<navigationItem key="navigationItem" title="Zockerhöhle" id="7cj-pi-m0v">
<barButtonItem key="backBarButtonItem" title="Zurück" id="Wxp-Xh-2jj"/>
</navigationItem>
<connections>
<outlet property="consolesTable" destination="ojl-uD-iv1" id="K0F-wm-xOb"/>
</connections>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="-852" y="163"/>
</scene>
<!--Console Items-->
<scene sceneID="vbP-hc-pyH">
<objects>
<viewController title="Console Items" id="gOk-ki-5XF" customClass="ConsoleLibraryViewController" customModule="Zockerhoehle" customModuleProvider="target" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="XKz-4W-Isc">
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<segmentedControl opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="top" segmentControlStyle="plain" selectedSegmentIndex="0" translatesAutoresizingMaskIntoConstraints="NO" id="t1f-CJ-SKt">
<rect key="frame" x="30" y="54" width="354" height="32"/>
<segments>
<segment title="Spiele"/>
<segment title="Zubehör"/>
</segments>
<connections>
<action selector="categoryChanged:" destination="gOk-ki-5XF" eventType="valueChanged" id="JTZ-YE-S5B"/>
</connections>
</segmentedControl>
<tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="QOr-lL-yeW">
<rect key="frame" x="0.0" y="95" width="414" height="767"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<prototypes>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" reuseIdentifier="accessoryCell" rowHeight="45" id="t0G-BL-TO2" userLabel="accessoryCell" customClass="AccessoryCell" customModule="Zockerhoehle" customModuleProvider="target">
<rect key="frame" x="0.0" y="28" width="414" height="45"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="t0G-BL-TO2" id="bT2-Up-bHY">
<rect key="frame" x="0.0" y="0.0" width="414" height="45"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<label opaque="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="cOg-Ch-Cfq">
<rect key="frame" x="30" y="12" width="42" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<constraints>
<constraint firstItem="cOg-Ch-Cfq" firstAttribute="leading" secondItem="bT2-Up-bHY" secondAttribute="leadingMargin" constant="10" id="2g8-b9-vYA"/>
<constraint firstItem="cOg-Ch-Cfq" firstAttribute="centerY" secondItem="bT2-Up-bHY" secondAttribute="centerY" id="u3M-me-ktM"/>
</constraints>
</tableViewCellContentView>
<connections>
<outlet property="name" destination="cOg-Ch-Cfq" id="abW-oI-ch4"/>
<segue destination="DhC-ew-LGX" kind="show" identifier="detail" id="hyu-Ix-aMF"/>
</connections>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" reuseIdentifier="gameCell" rowHeight="45" id="0ov-Of-xpv" customClass="GameCell" customModule="Zockerhoehle" customModuleProvider="target">
<rect key="frame" x="0.0" y="73" width="414" height="45"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="0ov-Of-xpv" id="DVN-x2-m1a">
<rect key="frame" x="0.0" y="0.0" width="414" height="45"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<label opaque="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="EWt-cW-f13">
<rect key="frame" x="30" y="12" width="42" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<constraints>
<constraint firstItem="EWt-cW-f13" firstAttribute="centerY" secondItem="DVN-x2-m1a" secondAttribute="centerY" id="Hzt-sS-wGt"/>
<constraint firstItem="EWt-cW-f13" firstAttribute="leading" secondItem="DVN-x2-m1a" secondAttribute="leadingMargin" constant="10" id="pyi-a4-L6A"/>
</constraints>
</tableViewCellContentView>
<connections>
<outlet property="name" destination="EWt-cW-f13" id="Wa1-ub-jo8"/>
<segue destination="R5k-Vz-d3r" kind="show" identifier="detail" id="2UE-J1-N26"/>
</connections>
</tableViewCell>
</prototypes>
<connections>
<outlet property="dataSource" destination="gOk-ki-5XF" id="Bf8-Tt-5A2"/>
<outlet property="delegate" destination="gOk-ki-5XF" id="zVT-fL-Jbg"/>
</connections>
</tableView>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstItem="t1f-CJ-SKt" firstAttribute="leading" secondItem="tx5-Cg-Hdq" secondAttribute="leading" constant="30" id="9bE-CV-3KL"/>
<constraint firstItem="t1f-CJ-SKt" firstAttribute="top" secondItem="tx5-Cg-Hdq" secondAttribute="top" constant="10" id="Cek-Dp-yZF"/>
<constraint firstItem="t1f-CJ-SKt" firstAttribute="centerX" secondItem="XKz-4W-Isc" secondAttribute="centerX" id="ClK-Zu-eny"/>
<constraint firstItem="QOr-lL-yeW" firstAttribute="top" secondItem="t1f-CJ-SKt" secondAttribute="bottom" constant="10" id="Jkd-Ee-Hlf"/>
<constraint firstItem="QOr-lL-yeW" firstAttribute="leading" secondItem="tx5-Cg-Hdq" secondAttribute="leading" id="jy3-Jx-Olj"/>
<constraint firstItem="tx5-Cg-Hdq" firstAttribute="trailing" secondItem="QOr-lL-yeW" secondAttribute="trailing" id="kg0-DP-lj0"/>
<constraint firstItem="tx5-Cg-Hdq" firstAttribute="trailing" secondItem="t1f-CJ-SKt" secondAttribute="trailing" constant="30" id="nPl-Po-059"/>
<constraint firstItem="tx5-Cg-Hdq" firstAttribute="bottom" secondItem="QOr-lL-yeW" secondAttribute="bottom" id="zFh-kG-FKA"/>
</constraints>
<viewLayoutGuide key="safeArea" id="tx5-Cg-Hdq"/>
</view>
<navigationItem key="navigationItem" title="ConsoleItems" id="cjW-0L-Q8w">
<rightBarButtonItems>
<barButtonItem image="plus" catalog="system" id="apo-qe-Xtq">
<connections>
<segue destination="mMA-rS-Z54" kind="presentation" identifier="consoleEntryAdd" id="R0Q-dU-JyP"/>
</connections>
</barButtonItem>
<barButtonItem title="Wishlist" image="star" catalog="system" style="plain" id="3Mh-Er-qnk">
<connections>
<action selector="toggleWishlist:" destination="gOk-ki-5XF" id="S2Q-tK-h9b"/>
</connections>
</barButtonItem>
</rightBarButtonItems>
</navigationItem>
<connections>
<outlet property="category" destination="t1f-CJ-SKt" id="AFA-Xz-9Ms"/>
<outlet property="consoleItemTable" destination="QOr-lL-yeW" id="v0o-EK-Gnd"/>
<outlet property="toggleWishList" destination="3Mh-Er-qnk" id="jf6-tk-BxW"/>
</connections>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="VXK-q6-aSh" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="-142" y="163"/>
</scene>
<!--Add Entry Pop Up View Controller-->
<scene sceneID="Zw3-Mn-1MA">
<objects>
<viewController modalPresentationStyle="overCurrentContext" id="mMA-rS-Z54" customClass="AddEntryPopUpViewController" customModule="Zockerhoehle" customModuleProvider="target" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="3Wo-AD-tai">
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="TTj-dw-Xk5" customClass="UIViewX" customModule="Zockerhoehle" customModuleProvider="target">
<rect key="frame" x="20" y="94" width="374" height="165"/>
<subviews>
<button opaque="NO" contentMode="scaleToFill" misplaced="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="headTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="tE2-hr-JfW" customClass="UIButtonX" customModule="Zockerhoehle" customModuleProvider="target">
<rect key="frame" x="284" y="128" width="80" height="30"/>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstAttribute="width" constant="80" id="etr-ZW-p0W"/>
</constraints>
<state key="normal" title="Rein da!"/>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="number" keyPath="borderWidth">
<real key="value" value="1"/>
</userDefinedRuntimeAttribute>
<userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
<real key="value" value="8"/>
</userDefinedRuntimeAttribute>
<userDefinedRuntimeAttribute type="color" keyPath="borderColor">
<color key="value" white="0.66666666666666663" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
<connections>
<action selector="add:" destination="mMA-rS-Z54" eventType="touchUpInside" id="znn-MF-sWk"/>
<action selector="nameChanged:" destination="mMA-rS-Z54" eventType="editingChanged" id="ITW-2N-h1I"/>
</connections>
</button>
<textField opaque="NO" contentMode="scaleToFill" misplaced="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="Name" textAlignment="justified" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="z4u-nB-SLu">
<rect key="frame" x="10" y="88" width="354" height="30"/>
<nil key="textColor"/>
<fontDescription key="fontDescription" style="UICTFontTextStyleBody"/>
<textInputTraits key="textInputTraits"/>
<connections>
<action selector="nameChanged:" destination="mMA-rS-Z54" eventType="editingChanged" id="N0D-F2-Ejg"/>
</connections>
</textField>
<segmentedControl opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="top" segmentControlStyle="plain" selectedSegmentIndex="0" translatesAutoresizingMaskIntoConstraints="NO" id="7Re-uZ-JmH">
<rect key="frame" x="10" y="44" width="279" height="32"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<segments>
<segment title="Spiel"/>
<segment title="Zubehör"/>
</segments>
<color key="tintColor" red="0.0" green="0.47396980259999999" blue="1" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
</segmentedControl>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" usesAttributedText="YES" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="pY1-Ze-9Au">
<rect key="frame" x="10" y="10" width="185" height="22"/>
<constraints>
<constraint firstAttribute="width" constant="185" id="xXk-YR-Whx"/>
</constraints>
<attributedString key="attributedText">
<fragment content="Trage etwas in die Zockerhöhle!">
<attributes>
<color key="NSColor" name="textColor" catalog="System" colorSpace="catalog"/>
<font key="NSFont" size="18" name="Futura-CondensedMedium"/>
<paragraphStyle key="NSParagraphStyle" alignment="natural" lineBreakMode="wordWrapping" baseWritingDirection="natural" tighteningFactorForTruncation="0.0"/>
</attributes>
</fragment>
</attributedString>
<nil key="highlightedColor"/>
<size key="shadowOffset" width="3" height="3"/>
</label>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="xaq-UB-QTY">
<rect key="frame" x="299" y="10" width="65" height="65"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstAttribute="width" constant="65" id="6C4-nz-g8c"/>
<constraint firstAttribute="height" constant="65" id="fcH-H1-oiw"/>
</constraints>
</imageView>
<button opaque="NO" contentMode="scaleToFill" misplaced="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="qie-gc-pdo" customClass="UIButtonX" customModule="Zockerhoehle" customModuleProvider="target">
<rect key="frame" x="10" y="128" width="80" height="30"/>
<constraints>
<constraint firstAttribute="width" constant="80" id="gfE-Tz-NZg"/>
</constraints>
<state key="normal" title="Cancel"/>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
<real key="value" value="8"/>
</userDefinedRuntimeAttribute>
<userDefinedRuntimeAttribute type="number" keyPath="borderWidth">
<real key="value" value="1"/>
</userDefinedRuntimeAttribute>
<userDefinedRuntimeAttribute type="color" keyPath="borderColor">
<color key="value" white="0.66666666666666663" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
<connections>
<action selector="cancel:" destination="mMA-rS-Z54" eventType="primaryActionTriggered" id="8bf-ml-hbC"/>
</connections>
</button>
<switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" on="YES" translatesAutoresizingMaskIntoConstraints="NO" id="6O6-V2-W3p">
<rect key="frame" x="234" y="8" width="51" height="31"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
</switch>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstItem="z4u-nB-SLu" firstAttribute="top" secondItem="7Re-uZ-JmH" secondAttribute="bottom" constant="10" id="2VH-2w-qsx"/>
<constraint firstItem="z4u-nB-SLu" firstAttribute="top" secondItem="xaq-UB-QTY" secondAttribute="bottom" constant="10" id="5jc-dV-GRd"/>
<constraint firstAttribute="trailing" secondItem="tE2-hr-JfW" secondAttribute="trailing" constant="10" id="AB9-an-EbF"/>
<constraint firstAttribute="bottom" secondItem="qie-gc-pdo" secondAttribute="bottom" constant="10" id="Edc-FO-Bku"/>
<constraint firstItem="pY1-Ze-9Au" firstAttribute="top" secondItem="TTj-dw-Xk5" secondAttribute="top" constant="10" id="F48-D7-kgC"/>
<constraint firstAttribute="trailing" secondItem="z4u-nB-SLu" secondAttribute="trailing" constant="10" id="FLE-C8-JvN"/>
<constraint firstAttribute="height" constant="165" id="IfA-es-FPw"/>
<constraint firstAttribute="bottom" secondItem="tE2-hr-JfW" secondAttribute="bottom" constant="10" id="Ilh-0A-Cwp"/>
<constraint firstItem="xaq-UB-QTY" firstAttribute="leading" secondItem="7Re-uZ-JmH" secondAttribute="trailing" constant="10" id="JW1-Hn-s7v"/>
<constraint firstItem="qie-gc-pdo" firstAttribute="leading" secondItem="TTj-dw-Xk5" secondAttribute="leading" constant="10" id="Job-QR-d6g"/>
<constraint firstItem="7Re-uZ-JmH" firstAttribute="leading" secondItem="TTj-dw-Xk5" secondAttribute="leading" constant="10" id="LNR-Tc-BlQ"/>
<constraint firstItem="qie-gc-pdo" firstAttribute="top" secondItem="z4u-nB-SLu" secondAttribute="bottom" constant="10" id="XtQ-v8-W6X"/>
<constraint firstItem="pY1-Ze-9Au" firstAttribute="leading" secondItem="TTj-dw-Xk5" secondAttribute="leading" constant="10" id="cRN-zD-8Sq"/>
<constraint firstItem="tE2-hr-JfW" firstAttribute="top" secondItem="z4u-nB-SLu" secondAttribute="bottom" constant="10" id="dYi-b9-2o2"/>
<constraint firstItem="xaq-UB-QTY" firstAttribute="top" secondItem="TTj-dw-Xk5" secondAttribute="top" constant="10" id="rzU-h9-bpr"/>
<constraint firstAttribute="trailing" secondItem="xaq-UB-QTY" secondAttribute="trailing" constant="10" id="zYN-9z-7eb"/>
<constraint firstItem="z4u-nB-SLu" firstAttribute="leading" secondItem="TTj-dw-Xk5" secondAttribute="leading" constant="10" id="znc-1o-97B"/>
</constraints>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="number" keyPath="borderWidth">
<real key="value" value="0.0"/>
</userDefinedRuntimeAttribute>
<userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
<real key="value" value="8"/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
</view>
</subviews>
<color key="backgroundColor" white="0.0" alpha="0.40000000000000002" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstItem="TTj-dw-Xk5" firstAttribute="top" secondItem="5Tt-Gn-m42" secondAttribute="top" constant="50" id="5fW-li-UX5"/>
<constraint firstItem="5Tt-Gn-m42" firstAttribute="trailing" secondItem="TTj-dw-Xk5" secondAttribute="trailing" constant="20" id="5i1-wZ-pfj"/>
<constraint firstItem="TTj-dw-Xk5" firstAttribute="centerX" secondItem="3Wo-AD-tai" secondAttribute="centerX" id="C3h-2J-LOx"/>
<constraint firstItem="TTj-dw-Xk5" firstAttribute="leading" secondItem="5Tt-Gn-m42" secondAttribute="leading" constant="20" id="grj-ah-TAM"/>
</constraints>
<viewLayoutGuide key="safeArea" id="5Tt-Gn-m42"/>
</view>
<nil key="simulatedTopBarMetrics"/>
<connections>
<outlet property="addButton" destination="tE2-hr-JfW" id="0jN-TQ-l8f"/>
<outlet property="category" destination="7Re-uZ-JmH" id="SLA-H4-6ql"/>
<outlet property="icon" destination="xaq-UB-QTY" id="cUt-FW-MM5"/>
<outlet property="name" destination="z4u-nB-SLu" id="lRV-dW-ZpI"/>
<outlet property="wishlist" destination="6O6-V2-W3p" id="5bE-aq-zxu"/>
</connections>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="DA6-P7-KUh" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="770" y="414"/>
</scene>
<!--Hosting Controller-->
<scene sceneID="0Pa-u4-vNw">
<objects>
<hostingController id="hrQ-Ux-Noc" sceneMemberID="viewController"/>
<placeholder placeholderIdentifier="IBFirstResponder" id="ydg-F5-jxj" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/>
<containerView opaque="NO" contentMode="scaleToFill" id="jwd-ES-k7V">
<rect key="frame" x="0.0" y="0.0" width="240" height="128"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
</containerView>
</objects>
<point key="canvasLocation" x="1629" y="-265"/>
</scene>
<!--Game Detail Controller-->
<scene sceneID="HBi-xr-Jcc">
<objects>
<viewController id="R5k-Vz-d3r" customClass="GameDetailController" customModule="Zockerhoehle" customModuleProvider="target" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="HUF-dg-EL5">
<rect key="frame" x="0.0" y="0.0" width="414" height="842"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<containerView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="nBd-hQ-o3p">
<rect key="frame" x="0.0" y="44" width="414" height="798"/>
<connections>
<segue destination="hrQ-Ux-Noc" kind="embed" destinationCreationSelector="embedConsoleDetail:" id="XfG-VE-2Zn"/>
</connections>
</containerView>
</subviews>
<color key="backgroundColor" xcode11CocoaTouchSystemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
<constraints>
<constraint firstItem="zpp-do-9SK" firstAttribute="trailing" secondItem="nBd-hQ-o3p" secondAttribute="trailing" id="ArI-nu-YkM"/>
<constraint firstItem="zpp-do-9SK" firstAttribute="bottom" secondItem="nBd-hQ-o3p" secondAttribute="bottom" id="OIJ-K5-FfE"/>
<constraint firstItem="nBd-hQ-o3p" firstAttribute="top" secondItem="zpp-do-9SK" secondAttribute="top" id="dBQ-l8-Que"/>
<constraint firstItem="nBd-hQ-o3p" firstAttribute="leading" secondItem="zpp-do-9SK" secondAttribute="leading" id="mzG-jD-pjx"/>
</constraints>
<viewLayoutGuide key="safeArea" id="zpp-do-9SK"/>
</view>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="8KX-Py-CBC" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="772" y="-265"/>
</scene>
<!--Accessory Detail Controller-->
<scene sceneID="6M3-J4-bBk">
<objects>
<viewController id="DhC-ew-LGX" customClass="AccessoryDetailController" customModule="Zockerhoehle" customModuleProvider="target" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="05c-6e-wjg">
<rect key="frame" x="0.0" y="0.0" width="414" height="842"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<containerView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="HaX-Qb-L8E">
<rect key="frame" x="0.0" y="44" width="414" height="798"/>
<connections>
<segue destination="IHD-CO-X7J" kind="embed" destinationCreationSelector="emebdedAccessoryDetaio:" id="o2V-GB-pPU"/>
</connections>
</containerView>
</subviews>
<color key="backgroundColor" xcode11CocoaTouchSystemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
<constraints>
<constraint firstItem="HaX-Qb-L8E" firstAttribute="top" secondItem="7GM-UU-HrF" secondAttribute="top" id="1fF-7M-9Rc"/>
<constraint firstItem="HaX-Qb-L8E" firstAttribute="leading" secondItem="7GM-UU-HrF" secondAttribute="leading" id="V59-f6-Nxo"/>
<constraint firstItem="7GM-UU-HrF" firstAttribute="trailing" secondItem="HaX-Qb-L8E" secondAttribute="trailing" id="vTc-Sl-d6k"/>
<constraint firstItem="7GM-UU-HrF" firstAttribute="bottom" secondItem="HaX-Qb-L8E" secondAttribute="bottom" id="xQh-Sq-3BZ"/>
</constraints>
<viewLayoutGuide key="safeArea" id="7GM-UU-HrF"/>
</view>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="DoD-SM-DFW" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="771" y="-944"/>
</scene>
<!--Hosting Controller-->
<scene sceneID="89e-4g-MS7">
<objects>
<hostingController id="IHD-CO-X7J" sceneMemberID="viewController"/>
<placeholder placeholderIdentifier="IBFirstResponder" id="NbQ-0I-7vv" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="1629" y="-944"/>
</scene>
<!--Hosting Controller-->
<scene sceneID="uXI-rk-u7z">
<objects>
<hostingController id="rGO-bP-YXz" sceneMemberID="viewController"/>
<placeholder placeholderIdentifier="IBFirstResponder" id="OYQ-LS-mGK" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="-52" y="-526"/>
</scene>
<!--Console Detail View Controller-->
<scene sceneID="zNL-KP-pEp">
<objects>
<viewController id="FR4-qM-V1O" customClass="ConsoleDetailViewController" customModule="Zockerhoehle" customModuleProvider="target" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="Zxk-Yp-aus">
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<containerView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Rk2-xB-bBv">
<rect key="frame" x="0.0" y="88" width="414" height="774"/>
<connections>
<segue destination="rGO-bP-YXz" kind="embed" destinationCreationSelector="embedConsoleDetail:" id="VOL-Vn-VOO"/>
</connections>
</containerView>
</subviews>
<color key="backgroundColor" xcode11CocoaTouchSystemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
<constraints>
<constraint firstItem="Rk2-xB-bBv" firstAttribute="leading" secondItem="z7u-71-0qP" secondAttribute="leading" id="0r5-8A-ofH"/>
<constraint firstItem="Rk2-xB-bBv" firstAttribute="top" secondItem="z7u-71-0qP" secondAttribute="top" id="Vft-9n-1mo"/>
<constraint firstItem="z7u-71-0qP" firstAttribute="trailing" secondItem="Rk2-xB-bBv" secondAttribute="trailing" id="WFO-rv-wuZ"/>
<constraint firstItem="z7u-71-0qP" firstAttribute="bottom" secondItem="Rk2-xB-bBv" secondAttribute="bottom" id="sQg-Ez-x2h"/>
</constraints>
<viewLayoutGuide key="safeArea" id="z7u-71-0qP"/>
</view>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="Udm-xB-cee" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="-1007" y="-526"/>
</scene>
</scenes>
<resources>
<image name="plus" catalog="system" width="64" height="58"/>
<image name="star" catalog="system" width="64" height="58"/>
</resources>
<color key="tintColor" white="0.33333333333333331" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</document>

View File

@@ -1,43 +0,0 @@
//
// UIButtonStoryBoardExtenstion.swift
// Zockerhoehle
//
// Created by Julian-Steffen Müller on 22.09.18.
// Copyright © 2018 Julian-Steffen Müller. All rights reserved.
//
import UIKit
import Foundation
@IBDesignable class UIButtonX : UIButton {
@IBInspectable var borderWidth: CGFloat {
set {
layer.borderWidth = newValue
}
get {
return layer.borderWidth
}
}
@IBInspectable var cornerRadius: CGFloat {
set {
layer.cornerRadius = newValue
}
get {
return layer.cornerRadius
}
}
@IBInspectable var borderColor: UIColor? {
set {
guard let uiColor = newValue else { return }
layer.borderColor = uiColor.cgColor
}
get {
guard let color = layer.borderColor else { return nil }
return UIColor(cgColor: color)
}
}
}

View File

@@ -1,53 +0,0 @@
//
// UIViewX.swift
// Zockerhoehle
//
// Created by Julian-Steffen Müller on 22.09.18.
// Copyright © 2018 Julian-Steffen Müller. All rights reserved.
//
import Foundation
//
// UIButtonStoryBoardExtenstion.swift
// Zockerhoehle
//
// Created by Julian-Steffen Müller on 22.09.18.
// Copyright © 2018 Julian-Steffen Müller. All rights reserved.
//
import UIKit
import Foundation
@IBDesignable class UIViewX : UIView {
@IBInspectable var borderWidth: CGFloat {
set {
layer.borderWidth = newValue
}
get {
return layer.borderWidth
}
}
@IBInspectable var cornerRadius: CGFloat {
set {
layer.cornerRadius = newValue
}
get {
return layer.cornerRadius
}
}
@IBInspectable var borderColor: UIColor? {
set {
guard let uiColor = newValue else { return }
layer.borderColor = uiColor.cgColor
}
get {
guard let color = layer.borderColor else { return nil }
return UIColor(cgColor: color)
}
}
}

View File

@@ -1,21 +0,0 @@
//
// AccessoryDetailController.swift
// Zockerhoehle
//
// Created by Julian-Steffen Müller on 12.07.19.
// Copyright © 2019 Julian-Steffen Müller. All rights reserved.
//
import Foundation
import UIKit
import SwiftUI
class AccessoryDetailController : UIViewController {
var accessory : Accessory?
@IBSegueAction func emebdedAccessoryDetaio(_ coder: NSCoder) -> UIViewController? {
let accessoryVM = AccessoryViewModel(accessory: accessory!)
return UIHostingController(coder: coder, rootView: AccessoryDetailView(accessoryVM: accessoryVM))
}
}

View File

@@ -1,74 +0,0 @@
//
// AddEntryPopUpViewController.swift
// Zockerhoehle
//
// Created by Julian-Steffen Müller on 20.09.18.
// Copyright © 2018 Julian-Steffen Müller. All rights reserved.
//
import UIKit
class AddEntryPopUpViewController: UIViewController {
var isWishlist : Bool = false
var isVideogame : Bool = true
var console : Console?
@IBOutlet weak var icon: UIImageView!
@IBOutlet weak var category: UISegmentedControl!
@IBOutlet weak var name: UITextField!
@IBOutlet weak var addButton: UIButtonX!
@IBOutlet weak var wishlist: UISwitch!
override func viewWillAppear(_ animated: Bool) {
super.viewWillAppear(animated)
self.category.selectedSegmentIndex = 0
if (!self.isVideogame) {
self.category.selectedSegmentIndex = 1
}
self.wishlist.isOn = self.isWishlist
self.icon.image = self.console?.logo?.image
//If the name is not filled the add Button should be disabled
addButton.isEnabled = name.text != ""
}
@IBAction func nameChanged(_ sender: Any) {
addButton.isEnabled = name.text != ""
}
@IBAction func add(_ sender: Any) {
self.isVideogame = self.category.selectedSegmentIndex == 0
guard let name = self.name.text else {
print("ERROR AddEntryPopoUpViewController::Add; Game name is empty")
return
}
if self.isVideogame {
let game = Game(entity: Game.entity(), insertInto: CDManager.shared.viewContext)
print("Created New Game")
game.name = name
game.inWishlist = self.wishlist.isOn
game.console = self.console
print("Added Game '\(game.name)' onWishlist \(self.wishlist.isOn)")
}else{
let accessory = Accessory(entity: Accessory.entity(), insertInto: CDManager.shared.viewContext)
accessory.name = name
accessory.console = console
accessory.inWishlist = wishlist.isOn
print("Added Accessory '\(accessory.name)' onWishlist \(wishlist.isOn)")
}
self.dismiss(animated: true)
}
@IBAction func cancel(_ sender: Any) {
self.dismiss(animated: true)
}
}

View File

@@ -1,78 +0,0 @@
//
// UIConsoleTableViewController.swift
// Zockerhoehle
//
// Created by Julian-Steffen Müller on 12.09.18.
// Copyright © 2018 Julian-Steffen Müller. All rights reserved.
//
import UIKit
import CoreData
class AllConsolesViewController: UIViewController, NSFetchedResultsControllerDelegate {
@IBOutlet weak var consolesTable: UITableView!
@IBOutlet weak var manufacturer: UILabel!
@IBOutlet weak var consoleLogo: UIImageView!
lazy var fetchResultsController : NSFetchedResultsController<Console> = {
let consolesFetch : NSFetchRequest<Console> = Console.fetchRequest()
consolesFetch.sortDescriptors = [NSSortDescriptor(key: "manufacturer", ascending: true), NSSortDescriptor(key: "generation", ascending: true), NSSortDescriptor(key: "name", ascending: true)]
var consolesfetchRC = NSFetchedResultsController(fetchRequest: consolesFetch, managedObjectContext: CDManager.shared.viewContext, sectionNameKeyPath: nil, cacheName: nil)
consolesfetchRC.delegate = self
return consolesfetchRC
}()
func controllerDidChangeContent(_ controller: NSFetchedResultsController<NSFetchRequestResult>) {
print("AllConsolesViewController::controllerDidChangeContent")
self.consolesTable.reloadData()
}
override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
if (segue.identifier == "consoleDetail" && sender! is ConsoleCell) {
guard let consoleVC = segue.destination as? ConsoleLibraryViewController else {
return
}
guard let consoleCell = sender as? ConsoleCell else {
return
}
consoleVC.console = consoleCell.console
}
}
override func viewDidLoad() {
super.viewDidLoad()
FlockeWS.fetchEntries(for: GameCollection.consoleID)
do {
try fetchResultsController.performFetch()
}catch{
print("AllConsolesViewController::viewDidLoad: Fetch not possible");
}
}
}
extension AllConsolesViewController: UITableViewDataSource {
func numberOfSections(in tableView: UITableView) -> Int {
guard let sections = fetchResultsController.sections else { return 0 }
return sections.count
}
func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
guard let sections = fetchResultsController.sections else { return 0 }
return sections[section].numberOfObjects
}
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
let cell = (tableView.dequeueReusableCell(withIdentifier: "ConsoleCell", for: indexPath)) as! ConsoleCell
cell.console = fetchResultsController.object(at: indexPath)
return cell
}
}

View File

@@ -1,17 +0,0 @@
//
// ConsoleDetailViewController.swift
// Zockerhoehle
//
// Created by Julian-Steffen Müller on 01.08.19.
// Copyright © 2019 Julian-Steffen Müller. All rights reserved.
//
import Foundation
import UIKit
import SwiftUI
class ConsoleDetailViewController : UIViewController {
@IBSegueAction func embedConsoleDetail(_ coder: NSCoder) -> UIViewController? {
return UIHostingController(coder: coder, rootView: ConsoleLibraryView(console: .none))
}
}

View File

@@ -5,7 +5,7 @@
// Created by Julian-Steffen Müller on 12.09.18.
// Copyright © 2018 Julian-Steffen Müller. All rights reserved.
//
/*
import UIKit
import CoreData
import Combine
@@ -210,3 +210,4 @@ extension ConsoleLibraryViewController: UITableViewDelegate {
return swipeConf
}
}
*/

View File

@@ -1,25 +0,0 @@
//
// ConsoleDetailEmbewdViewController.swift
// Zockerhoehle
//
// Created by Julian-Steffen Müller on 08.07.19.
// Copyright © 2019 Julian-Steffen Müller. All rights reserved.
//
import Foundation
import UIKit
import SwiftUI
class GameDetailController : UIViewController {
var game : Game?
@IBSegueAction func embedConsoleDetail(_ coder: NSCoder) -> UIViewController? {
guard let game = self.game else {
print("ERROR GameDetailController::emedConsoleDetail; Game optional is empty")
return UIViewController()
}
return UIHostingController(coder: coder, rootView: GameDetailView(gameVM: GameViewModel(game: game)) )
}
}

View File

@@ -1,24 +0,0 @@
//
// AccessoryCell.swift
// Zockerhoehle
//
// Created by Julian-Steffen Müller on 12.07.19.
// Copyright © 2019 Julian-Steffen Müller. All rights reserved.
//
import UIKit
class AccessoryCell: UITableViewCell {
@IBOutlet weak var name: UILabel!
var accessory : Accessory? {
didSet {
self.name.text = accessory?.name ?? "N/A"
}
}
/*func setAccessory(accessory : Accessory?) {
self.accessory = accessory
self.name.text = accessory?.name ?? "N/A"
}*/
}

View File

@@ -1,30 +0,0 @@
//
// ConsoleCell.swift
// Zockerhoehle
//
// Created by Julian-Steffen Müller on 12.09.18.
// Copyright © 2018 Julian-Steffen Müller. All rights reserved.
//
import UIKit
class ConsoleCell: UITableViewCell {
@IBOutlet weak var consoleName: UILabel!
@IBOutlet weak var logo: UIImageView!
@IBOutlet weak var gamesCounter: UILabel!
@IBOutlet weak var accessoryCounter: UILabel!
public var console: Console? {
didSet {
consoleName.text = console?.name
self.logo.image = console?.logo?.image
let ownedGames = console?.games.filtered(using: NSPredicate(format: "inWishlist = false")).count ?? 0
let ownedAccessories = console?.accessories.filtered(using: NSPredicate(format: "inWishlist = false")).count ?? 0
self.gamesCounter.text = "\(ownedGames)"
self.accessoryCounter.text = "\(ownedAccessories)"
self.setNeedsDisplay()
}
}
}

View File

@@ -1,20 +0,0 @@
//
// GameCell.swift
// Zockerhoehle
//
// Created by Julian-Steffen Müller on 16.09.18.
// Copyright © 2018 Julian-Steffen Müller. All rights reserved.
//
import UIKit
class GameCell: UITableViewCell {
@IBOutlet weak var name: UILabel!
var game : Game? {
didSet {
self.name.text = game?.name ?? "N/A"
}
}
}

View File

@@ -1,71 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14313.18" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="Tsr-WJ-blf">
<device id="retina4_7" orientation="portrait">
<adaptation id="fullscreen"/>
</device>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14283.14"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<scenes>
<!--View Controller-->
<scene sceneID="Ac8-KI-6pg">
<objects>
<viewController modalPresentationStyle="overCurrentContext" id="Tsr-WJ-blf" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="Zxp-Kz-1oc">
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Mjk-GR-N6g" customClass="UIViewX" customModule="Zockerhoehle" customModuleProvider="target">
<rect key="frame" x="20" y="266.5" width="335" height="100"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Moment. Trage in die Bärenhöhle" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="DcG-R4-dIc">
<rect key="frame" x="41" y="10" width="253" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<activityIndicatorView opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" animating="YES" style="whiteLarge" translatesAutoresizingMaskIntoConstraints="NO" id="ZXD-Jd-WGx">
<rect key="frame" x="149" y="48" width="37" height="37"/>
<constraints>
<constraint firstAttribute="height" constant="37" id="2YT-Ml-z6B"/>
<constraint firstAttribute="width" constant="37" id="mvC-eV-Bbg"/>
</constraints>
<color key="color" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</activityIndicatorView>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstItem="DcG-R4-dIc" firstAttribute="top" secondItem="Mjk-GR-N6g" secondAttribute="top" constant="10" id="Bzi-Iy-fjt"/>
<constraint firstAttribute="height" constant="100" id="myW-Z6-Vg5"/>
<constraint firstItem="DcG-R4-dIc" firstAttribute="centerX" secondItem="Mjk-GR-N6g" secondAttribute="centerX" id="uyl-po-zxV"/>
<constraint firstItem="ZXD-Jd-WGx" firstAttribute="centerX" secondItem="Mjk-GR-N6g" secondAttribute="centerX" id="vl2-t8-THz"/>
<constraint firstAttribute="bottom" secondItem="ZXD-Jd-WGx" secondAttribute="bottom" constant="15" id="wkl-H8-k2u"/>
</constraints>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="number" keyPath="borderWidth">
<real key="value" value="0.0"/>
</userDefinedRuntimeAttribute>
<userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
<real key="value" value="8"/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
</view>
</subviews>
<color key="backgroundColor" white="0.0" alpha="0.40000000000000002" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstItem="Mjk-GR-N6g" firstAttribute="centerY" secondItem="Zxp-Kz-1oc" secondAttribute="centerY" constant="-17" id="HX9-Xs-wAJ"/>
<constraint firstItem="ZjD-zX-qAW" firstAttribute="trailing" secondItem="Mjk-GR-N6g" secondAttribute="trailing" constant="20" id="HuJ-6k-cDN"/>
<constraint firstItem="Mjk-GR-N6g" firstAttribute="leading" secondItem="ZjD-zX-qAW" secondAttribute="leading" constant="20" id="fF1-31-1A1"/>
</constraints>
<viewLayoutGuide key="safeArea" id="ZjD-zX-qAW"/>
</view>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="BPh-Jc-fxg" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="2937" y="163"/>
</scene>
</scenes>
</document>