Преглед на файлове

First prototype for the section menu.

Inigo Valentin преди 10 години
родител
ревизия
0382149d63
променени са 90 файла, в които са добавени 645 реда и са изтрити 2935 реда
  1. BIN
      .DS_Store
  2. 0 459
      Gasteizko Margolariak.xcodeproj/project.pbxproj
  3. 0 22
      Gasteizko Margolariak/ActivitiesViewController.swift
  4. 0 198
      Gasteizko Margolariak/AppDelegate.swift
  5. 0 49
      Gasteizko Margolariak/Assets.xcassets/Brand Assets.launchimage/Contents.json
  6. 0 6
      Gasteizko Margolariak/Assets.xcassets/Contents.json
  7. 0 42
      Gasteizko Margolariak/Base.lproj/LaunchScreen.xib
  8. 0 658
      Gasteizko Margolariak/Base.lproj/Main.storyboard
  9. 0 58
      Gasteizko Margolariak/BaseTableViewCell.swift
  10. 0 21
      Gasteizko Margolariak/BlogViewController.swift
  11. 0 43
      Gasteizko Margolariak/DataTableViewCell.swift
  12. 0 50
      Gasteizko Margolariak/DataTableViewCell.xib
  13. 0 238
      Gasteizko Margolariak/Database.xcdatamodeld/Database.xcdatamodel/contents
  14. 0 32
      Gasteizko Margolariak/ExSlideMenuController.swift
  15. 0 21
      Gasteizko Margolariak/GalleryViewController.swift
  16. 0 22
      Gasteizko Margolariak/GmscheduleViewController.swift
  17. 0 22
      Gasteizko Margolariak/HomeViewController.swift
  18. 0 26
      Gasteizko Margolariak/ImageHeaderView.swift
  19. 0 42
      Gasteizko Margolariak/ImageHeaderView.xib
  20. 0 86
      Gasteizko Margolariak/Images.xcassets/AppIcon.appiconset/Contents.json
  21. BIN
      Gasteizko Margolariak/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png
  22. BIN
      Gasteizko Margolariak/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@2x-1.png
  23. BIN
      Gasteizko Margolariak/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png
  24. BIN
      Gasteizko Margolariak/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png
  25. BIN
      Gasteizko Margolariak/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png
  26. BIN
      Gasteizko Margolariak/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@2x-1.png
  27. BIN
      Gasteizko Margolariak/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png
  28. BIN
      Gasteizko Margolariak/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png
  29. BIN
      Gasteizko Margolariak/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png
  30. BIN
      Gasteizko Margolariak/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png
  31. BIN
      Gasteizko Margolariak/Images.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png
  32. BIN
      Gasteizko Margolariak/Images.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png
  33. BIN
      Gasteizko Margolariak/Images.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png
  34. 0 6
      Gasteizko Margolariak/Images.xcassets/Contents.json
  35. 0 23
      Gasteizko Margolariak/Images.xcassets/ic_launcher_24dp.imageset/Contents.json
  36. BIN
      Gasteizko Margolariak/Images.xcassets/ic_launcher_24dp.imageset/ic_launcher_24dp.png
  37. BIN
      Gasteizko Margolariak/Images.xcassets/ic_launcher_24dp.imageset/ic_launcher_24dp@2x.png
  38. BIN
      Gasteizko Margolariak/Images.xcassets/ic_launcher_24dp.imageset/ic_launcher_24dp@3x.png
  39. 0 23
      Gasteizko Margolariak/Images.xcassets/ic_menu_black_24dp.imageset/Contents.json
  40. BIN
      Gasteizko Margolariak/Images.xcassets/ic_menu_black_24dp.imageset/ic_menu_black_24dp.png
  41. BIN
      Gasteizko Margolariak/Images.xcassets/ic_menu_black_24dp.imageset/ic_menu_black_24dp@2x.png
  42. BIN
      Gasteizko Margolariak/Images.xcassets/ic_menu_black_24dp.imageset/ic_menu_black_24dp@3x.png
  43. 0 23
      Gasteizko Margolariak/Images.xcassets/ic_notifications_black_24dp.imageset/Contents.json
  44. BIN
      Gasteizko Margolariak/Images.xcassets/ic_notifications_black_24dp.imageset/ic_notifications_black_24dp.png
  45. BIN
      Gasteizko Margolariak/Images.xcassets/ic_notifications_black_24dp.imageset/ic_notifications_black_24dp@2x.png
  46. BIN
      Gasteizko Margolariak/Images.xcassets/ic_notifications_black_24dp.imageset/ic_notifications_black_24dp@3x.png
  47. 0 22
      Gasteizko Margolariak/LablancaViewController.swift
  48. 0 22
      Gasteizko Margolariak/LocationViewController.swift
  49. 0 95
      Gasteizko Margolariak/MainViewController.swift
  50. 0 10
      Gasteizko Margolariak/Preferences.xcdatamodeld/Preferences.xcdatamodel/contents
  51. 0 22
      Gasteizko Margolariak/ScheduleViewController.swift
  52. 0 21
      Gasteizko Margolariak/SettingsViewController.swift
  53. 0 4
      Gasteizko Margolariak/SlideMenuControllerSwift.xcdatamodeld/SlideMenuControllerSwift.xcdatamodel/contents
  54. 0 23
      Gasteizko Margolariak/String.swift
  55. 0 43
      Gasteizko Margolariak/SubContentsViewController.storyboard
  56. 0 16
      Gasteizko Margolariak/SubContentsViewController.swift
  57. 0 30
      Gasteizko Margolariak/UIApplication.swift
  58. 0 50
      Gasteizko Margolariak/UIColor.swift
  59. 0 28
      Gasteizko Margolariak/UIImage.swift
  60. 0 69
      Gasteizko Margolariak/UIImageView.swift
  61. 0 33
      Gasteizko Margolariak/UITableViewExtension.swift
  62. 0 20
      Gasteizko Margolariak/UIView.swift
  63. 0 48
      Gasteizko Margolariak/UIViewController.swift
  64. 0 25
      Gasteizko Margolariak/ViewController.swift
  65. BIN
      Gasteizko Margolariak/res/ic_launcher_24dp.png
  66. BIN
      Gasteizko Margolariak/res/ic_launcher_24dp@2x.png
  67. BIN
      Gasteizko Margolariak/res/ic_launcher_24dp@3x.png
  68. BIN
      Gasteizko Margolariak/res/ic_menu_black_24dp.png
  69. BIN
      Gasteizko Margolariak/res/ic_menu_black_24dp@2x.png
  70. BIN
      Gasteizko Margolariak/res/ic_menu_black_24dp@3x.png
  71. BIN
      Gasteizko Margolariak/res/ic_notifications_black_24dp.png
  72. BIN
      Gasteizko Margolariak/res/ic_notifications_black_24dp@2x.png
  73. BIN
      Gasteizko Margolariak/res/ic_notifications_black_24dp@3x.png
  74. 0 36
      Gasteizko MargolariakTests/Gasteizko_MargolariakTests.swift
  75. 0 24
      Gasteizko MargolariakTests/Info.plist
  76. 0 36
      Gasteizko MargolariakUITests/Gasteizko_MargolariakUITests.swift
  77. 0 24
      Gasteizko MargolariakUITests/Info.plist
  78. 13 0
      MenuCollectionViewCell.swift
  79. 333 0
      app.xcodeproj/project.pbxproj
  80. 1 1
      app.xcodeproj/project.xcworkspace/contents.xcworkspacedata
  81. BIN
      app.xcodeproj/project.xcworkspace/xcuserdata/seavenois.xcuserdatad/UserInterfaceState.xcuserstate
  82. 17 37
      app.xcodeproj/xcuserdata/seavenois.xcuserdatad/xcschemes/app.xcscheme
  83. 2 12
      app.xcodeproj/xcuserdata/seavenois.xcuserdatad/xcschemes/xcschememanagement.plist
  84. 96 0
      app/AppDelegate.swift
  85. 27 0
      app/Base.lproj/LaunchScreen.storyboard
  86. 92 0
      app/Base.lproj/Main.storyboard
  87. 3 13
      app/Info.plist
  88. 56 0
      app/ViewController.swift
  89. 1 1
      app/app.xcdatamodeld/.xccurrentversion
  90. 4 0
      app/app.xcdatamodeld/app.xcdatamodel/contents

BIN
.DS_Store


+ 0 - 459
Gasteizko Margolariak.xcodeproj/project.pbxproj

@@ -1,459 +0,0 @@
-// !$*UTF8*$!
-{
-	archiveVersion = 1;
-	classes = {
-	};
-	objectVersion = 46;
-	objects = {
-
-/* Begin PBXBuildFile section */
-		9310BCBD1D6B9E4700C93AFA /* res in Resources */ = {isa = PBXBuildFile; fileRef = 9310BCBC1D6B9E4700C93AFA /* res */; };
-		9315AB341D6BB56D00BEBCD3 /* README.md in Sources */ = {isa = PBXBuildFile; fileRef = 9315AB331D6BB56D00BEBCD3 /* README.md */; };
-		9328AF6A1D6616C700E6B0E2 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9328AF691D6616C700E6B0E2 /* AppDelegate.swift */; };
-		9328AF6C1D6616C700E6B0E2 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9328AF6B1D6616C700E6B0E2 /* ViewController.swift */; };
-		9328AF6F1D6616C700E6B0E2 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 9328AF6D1D6616C700E6B0E2 /* Main.storyboard */; };
-		9328AF711D6616C700E6B0E2 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 9328AF701D6616C700E6B0E2 /* Assets.xcassets */; };
-		9338BE0D1D6B840D00D2735B /* MainViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9338BE0C1D6B840D00D2735B /* MainViewController.swift */; };
-		9338BE0F1D6B84D700D2735B /* SlideMenuController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9338BE0E1D6B84D700D2735B /* SlideMenuController.swift */; };
-		9338BE151D6B8E3000D2735B /* ImageHeaderView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9338BE141D6B8E3000D2735B /* ImageHeaderView.swift */; };
-		93A692EA1D6CB2F700594BA0 /* Preferences.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = 93A692E81D6CB2F700594BA0 /* Preferences.xcdatamodeld */; };
-		93A692ED1D6CB3BB00594BA0 /* Database.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = 93A692EB1D6CB3BB00594BA0 /* Database.xcdatamodeld */; };
-		93B05E291D6BA1EF00D909F9 /* HomeViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 93B05E281D6BA1EF00D909F9 /* HomeViewController.swift */; };
-		93B05E2B1D6BA23A00D909F9 /* LocationViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 93B05E2A1D6BA23A00D909F9 /* LocationViewController.swift */; };
-		93B05E2D1D6BA27200D909F9 /* LablancaViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 93B05E2C1D6BA27200D909F9 /* LablancaViewController.swift */; };
-		93B05E2F1D6BA29A00D909F9 /* ScheduleViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 93B05E2E1D6BA29A00D909F9 /* ScheduleViewController.swift */; };
-		93B05E311D6BA2BD00D909F9 /* GmscheduleViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 93B05E301D6BA2BD00D909F9 /* GmscheduleViewController.swift */; };
-		93B05E331D6BA2E600D909F9 /* ActivitiesViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 93B05E321D6BA2E600D909F9 /* ActivitiesViewController.swift */; };
-		93B05E351D6BA30E00D909F9 /* BlogViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 93B05E341D6BA30E00D909F9 /* BlogViewController.swift */; };
-		93B05E371D6BA33600D909F9 /* GalleryViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 93B05E361D6BA33600D909F9 /* GalleryViewController.swift */; };
-		93B05E391D6BA35200D909F9 /* SettingsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 93B05E381D6BA35200D909F9 /* SettingsViewController.swift */; };
-		93B2BE831D6B8F05007CBED3 /* BaseTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 93B2BE7F1D6B8F05007CBED3 /* BaseTableViewCell.swift */; };
-		93B2BE971D6B8F9D007CBED3 /* DataTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 93B2BE871D6B8F9C007CBED3 /* DataTableViewCell.swift */; };
-		93B2BE981D6B8F9D007CBED3 /* DataTableViewCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = 93B2BE881D6B8F9C007CBED3 /* DataTableViewCell.xib */; };
-		93B2BE991D6B8F9D007CBED3 /* ExSlideMenuController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 93B2BE891D6B8F9C007CBED3 /* ExSlideMenuController.swift */; };
-		93B2BE9A1D6B8F9D007CBED3 /* ImageHeaderView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 93B2BE8A1D6B8F9C007CBED3 /* ImageHeaderView.xib */; };
-		93B2BE9B1D6B8F9D007CBED3 /* SlideMenuControllerSwift.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = 93B2BE8B1D6B8F9C007CBED3 /* SlideMenuControllerSwift.xcdatamodeld */; };
-		93B2BE9C1D6B8F9D007CBED3 /* String.swift in Sources */ = {isa = PBXBuildFile; fileRef = 93B2BE8D1D6B8F9D007CBED3 /* String.swift */; };
-		93B2BE9D1D6B8F9D007CBED3 /* SubContentsViewController.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 93B2BE8E1D6B8F9D007CBED3 /* SubContentsViewController.storyboard */; };
-		93B2BE9E1D6B8F9D007CBED3 /* SubContentsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 93B2BE8F1D6B8F9D007CBED3 /* SubContentsViewController.swift */; };
-		93B2BE9F1D6B8F9D007CBED3 /* UIApplication.swift in Sources */ = {isa = PBXBuildFile; fileRef = 93B2BE901D6B8F9D007CBED3 /* UIApplication.swift */; };
-		93B2BEA01D6B8F9D007CBED3 /* UIColor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 93B2BE911D6B8F9D007CBED3 /* UIColor.swift */; };
-		93B2BEA11D6B8F9D007CBED3 /* UIImage.swift in Sources */ = {isa = PBXBuildFile; fileRef = 93B2BE921D6B8F9D007CBED3 /* UIImage.swift */; };
-		93B2BEA21D6B8F9D007CBED3 /* UIImageView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 93B2BE931D6B8F9D007CBED3 /* UIImageView.swift */; };
-		93B2BEA31D6B8F9D007CBED3 /* UITableViewExtension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 93B2BE941D6B8F9D007CBED3 /* UITableViewExtension.swift */; };
-		93B2BEA41D6B8F9D007CBED3 /* UIView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 93B2BE951D6B8F9D007CBED3 /* UIView.swift */; };
-		93B2BEA51D6B8F9D007CBED3 /* UIViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 93B2BE961D6B8F9D007CBED3 /* UIViewController.swift */; };
-		93B2BEAC1D6B8FEA007CBED3 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 93B2BEA61D6B8FEA007CBED3 /* Assets.xcassets */; };
-		93B2BEAD1D6B8FEA007CBED3 /* Base.lproj in Resources */ = {isa = PBXBuildFile; fileRef = 93B2BEA71D6B8FEA007CBED3 /* Base.lproj */; };
-		93B2BEAE1D6B8FEA007CBED3 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 93B2BEA81D6B8FEA007CBED3 /* Images.xcassets */; };
-		93B2BEB01D6B8FEA007CBED3 /* SlideMenuControllerSwift.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = 93B2BEAA1D6B8FEA007CBED3 /* SlideMenuControllerSwift.xcdatamodeld */; };
-/* End PBXBuildFile section */
-
-/* Begin PBXFileReference section */
-		9310BCBC1D6B9E4700C93AFA /* res */ = {isa = PBXFileReference; lastKnownFileType = folder; path = res; sourceTree = "<group>"; };
-		9315AB331D6BB56D00BEBCD3 /* README.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = "<group>"; };
-		9328AF661D6616C700E6B0E2 /* Gasteizko Margolariak.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Gasteizko Margolariak.app"; sourceTree = BUILT_PRODUCTS_DIR; };
-		9328AF691D6616C700E6B0E2 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
-		9328AF6B1D6616C700E6B0E2 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
-		9328AF6E1D6616C700E6B0E2 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
-		9328AF701D6616C700E6B0E2 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
-		9328AF731D6616C700E6B0E2 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
-		9328AF751D6616C700E6B0E2 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
-		9328AF7E1D6616C700E6B0E2 /* Gasteizko_MargolariakTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Gasteizko_MargolariakTests.swift; sourceTree = "<group>"; };
-		9328AF801D6616C700E6B0E2 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
-		9328AF891D6616C700E6B0E2 /* Gasteizko_MargolariakUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Gasteizko_MargolariakUITests.swift; sourceTree = "<group>"; };
-		9328AF8B1D6616C700E6B0E2 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
-		9338BE0C1D6B840D00D2735B /* MainViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MainViewController.swift; sourceTree = "<group>"; };
-		9338BE0E1D6B84D700D2735B /* SlideMenuController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SlideMenuController.swift; sourceTree = "<group>"; };
-		9338BE141D6B8E3000D2735B /* ImageHeaderView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ImageHeaderView.swift; sourceTree = "<group>"; };
-		93A692E41D6CB11400594BA0 /* libsqlite3.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libsqlite3.tbd; path = usr/lib/libsqlite3.tbd; sourceTree = SDKROOT; };
-		93A692E61D6CB14000594BA0 /* libsqlite3.0.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libsqlite3.0.tbd; path = usr/lib/libsqlite3.0.tbd; sourceTree = SDKROOT; };
-		93A692E91D6CB2F700594BA0 /* Preferences.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = Preferences.xcdatamodel; sourceTree = "<group>"; };
-		93A692EC1D6CB3BB00594BA0 /* Database.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = Database.xcdatamodel; sourceTree = "<group>"; };
-		93B05E281D6BA1EF00D909F9 /* HomeViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HomeViewController.swift; sourceTree = "<group>"; };
-		93B05E2A1D6BA23A00D909F9 /* LocationViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = LocationViewController.swift; sourceTree = "<group>"; };
-		93B05E2C1D6BA27200D909F9 /* LablancaViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = LablancaViewController.swift; sourceTree = "<group>"; };
-		93B05E2E1D6BA29A00D909F9 /* ScheduleViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ScheduleViewController.swift; sourceTree = "<group>"; };
-		93B05E301D6BA2BD00D909F9 /* GmscheduleViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GmscheduleViewController.swift; sourceTree = "<group>"; };
-		93B05E321D6BA2E600D909F9 /* ActivitiesViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ActivitiesViewController.swift; sourceTree = "<group>"; };
-		93B05E341D6BA30E00D909F9 /* BlogViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BlogViewController.swift; sourceTree = "<group>"; };
-		93B05E361D6BA33600D909F9 /* GalleryViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GalleryViewController.swift; sourceTree = "<group>"; };
-		93B05E381D6BA35200D909F9 /* SettingsViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SettingsViewController.swift; sourceTree = "<group>"; };
-		93B2BE7F1D6B8F05007CBED3 /* BaseTableViewCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BaseTableViewCell.swift; sourceTree = "<group>"; };
-		93B2BE871D6B8F9C007CBED3 /* DataTableViewCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DataTableViewCell.swift; sourceTree = "<group>"; };
-		93B2BE881D6B8F9C007CBED3 /* DataTableViewCell.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = DataTableViewCell.xib; sourceTree = "<group>"; };
-		93B2BE891D6B8F9C007CBED3 /* ExSlideMenuController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ExSlideMenuController.swift; sourceTree = "<group>"; };
-		93B2BE8A1D6B8F9C007CBED3 /* ImageHeaderView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = ImageHeaderView.xib; sourceTree = "<group>"; };
-		93B2BE8C1D6B8F9D007CBED3 /* SlideMenuControllerSwift.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = SlideMenuControllerSwift.xcdatamodel; sourceTree = "<group>"; };
-		93B2BE8D1D6B8F9D007CBED3 /* String.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = String.swift; sourceTree = "<group>"; };
-		93B2BE8E1D6B8F9D007CBED3 /* SubContentsViewController.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = SubContentsViewController.storyboard; sourceTree = "<group>"; };
-		93B2BE8F1D6B8F9D007CBED3 /* SubContentsViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SubContentsViewController.swift; sourceTree = "<group>"; };
-		93B2BE901D6B8F9D007CBED3 /* UIApplication.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UIApplication.swift; sourceTree = "<group>"; };
-		93B2BE911D6B8F9D007CBED3 /* UIColor.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UIColor.swift; sourceTree = "<group>"; };
-		93B2BE921D6B8F9D007CBED3 /* UIImage.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UIImage.swift; sourceTree = "<group>"; };
-		93B2BE931D6B8F9D007CBED3 /* UIImageView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UIImageView.swift; sourceTree = "<group>"; };
-		93B2BE941D6B8F9D007CBED3 /* UITableViewExtension.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UITableViewExtension.swift; sourceTree = "<group>"; };
-		93B2BE951D6B8F9D007CBED3 /* UIView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UIView.swift; sourceTree = "<group>"; };
-		93B2BE961D6B8F9D007CBED3 /* UIViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UIViewController.swift; sourceTree = "<group>"; };
-		93B2BEA61D6B8FEA007CBED3 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
-		93B2BEA71D6B8FEA007CBED3 /* Base.lproj */ = {isa = PBXFileReference; lastKnownFileType = folder; path = Base.lproj; sourceTree = "<group>"; };
-		93B2BEA81D6B8FEA007CBED3 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = "<group>"; };
-		93B2BEAB1D6B8FEA007CBED3 /* SlideMenuControllerSwift.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = SlideMenuControllerSwift.xcdatamodel; sourceTree = "<group>"; };
-/* End PBXFileReference section */
-
-/* Begin PBXFrameworksBuildPhase section */
-		9328AF631D6616C700E6B0E2 /* Frameworks */ = {
-			isa = PBXFrameworksBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-/* End PBXFrameworksBuildPhase section */
-
-/* Begin PBXGroup section */
-		9328AF5D1D6616C700E6B0E2 = {
-			isa = PBXGroup;
-			children = (
-				93A692E61D6CB14000594BA0 /* libsqlite3.0.tbd */,
-				93A692E41D6CB11400594BA0 /* libsqlite3.tbd */,
-				9315AB331D6BB56D00BEBCD3 /* README.md */,
-				9328AF681D6616C700E6B0E2 /* Gasteizko Margolariak */,
-				9328AF7D1D6616C700E6B0E2 /* Gasteizko MargolariakTests */,
-				9328AF881D6616C700E6B0E2 /* Gasteizko MargolariakUITests */,
-				9328AF671D6616C700E6B0E2 /* Products */,
-			);
-			sourceTree = "<group>";
-		};
-		9328AF671D6616C700E6B0E2 /* Products */ = {
-			isa = PBXGroup;
-			children = (
-				9328AF661D6616C700E6B0E2 /* Gasteizko Margolariak.app */,
-			);
-			name = Products;
-			sourceTree = "<group>";
-		};
-		9328AF681D6616C700E6B0E2 /* Gasteizko Margolariak */ = {
-			isa = PBXGroup;
-			children = (
-				9310BCBC1D6B9E4700C93AFA /* res */,
-				93B2BEA61D6B8FEA007CBED3 /* Assets.xcassets */,
-				93B2BEA71D6B8FEA007CBED3 /* Base.lproj */,
-				93B2BEA81D6B8FEA007CBED3 /* Images.xcassets */,
-				93B2BEAA1D6B8FEA007CBED3 /* SlideMenuControllerSwift.xcdatamodeld */,
-				93B2BE871D6B8F9C007CBED3 /* DataTableViewCell.swift */,
-				93B2BE881D6B8F9C007CBED3 /* DataTableViewCell.xib */,
-				93B2BE891D6B8F9C007CBED3 /* ExSlideMenuController.swift */,
-				93B2BE8A1D6B8F9C007CBED3 /* ImageHeaderView.xib */,
-				93B2BE8B1D6B8F9C007CBED3 /* SlideMenuControllerSwift.xcdatamodeld */,
-				93B2BE8D1D6B8F9D007CBED3 /* String.swift */,
-				93B2BE8E1D6B8F9D007CBED3 /* SubContentsViewController.storyboard */,
-				93B2BE8F1D6B8F9D007CBED3 /* SubContentsViewController.swift */,
-				93B2BE901D6B8F9D007CBED3 /* UIApplication.swift */,
-				93B2BE911D6B8F9D007CBED3 /* UIColor.swift */,
-				93B2BE921D6B8F9D007CBED3 /* UIImage.swift */,
-				93B2BE931D6B8F9D007CBED3 /* UIImageView.swift */,
-				93B2BE941D6B8F9D007CBED3 /* UITableViewExtension.swift */,
-				93B2BE951D6B8F9D007CBED3 /* UIView.swift */,
-				93B2BE961D6B8F9D007CBED3 /* UIViewController.swift */,
-				93B2BE7F1D6B8F05007CBED3 /* BaseTableViewCell.swift */,
-				9338BE141D6B8E3000D2735B /* ImageHeaderView.swift */,
-				9328AF691D6616C700E6B0E2 /* AppDelegate.swift */,
-				9328AF6B1D6616C700E6B0E2 /* ViewController.swift */,
-				9338BE0C1D6B840D00D2735B /* MainViewController.swift */,
-				93B05E361D6BA33600D909F9 /* GalleryViewController.swift */,
-				93B05E381D6BA35200D909F9 /* SettingsViewController.swift */,
-				93B05E341D6BA30E00D909F9 /* BlogViewController.swift */,
-				9328AF6D1D6616C700E6B0E2 /* Main.storyboard */,
-				9328AF701D6616C700E6B0E2 /* Assets.xcassets */,
-				9328AF721D6616C700E6B0E2 /* LaunchScreen.storyboard */,
-				9328AF751D6616C700E6B0E2 /* Info.plist */,
-				9338BE0E1D6B84D700D2735B /* SlideMenuController.swift */,
-				93B05E321D6BA2E600D909F9 /* ActivitiesViewController.swift */,
-				93B05E281D6BA1EF00D909F9 /* HomeViewController.swift */,
-				93B05E2A1D6BA23A00D909F9 /* LocationViewController.swift */,
-				93B05E2C1D6BA27200D909F9 /* LablancaViewController.swift */,
-				93B05E2E1D6BA29A00D909F9 /* ScheduleViewController.swift */,
-				93B05E301D6BA2BD00D909F9 /* GmscheduleViewController.swift */,
-				93A692E81D6CB2F700594BA0 /* Preferences.xcdatamodeld */,
-				93A692EB1D6CB3BB00594BA0 /* Database.xcdatamodeld */,
-			);
-			path = "Gasteizko Margolariak";
-			sourceTree = "<group>";
-		};
-		9328AF7D1D6616C700E6B0E2 /* Gasteizko MargolariakTests */ = {
-			isa = PBXGroup;
-			children = (
-				9328AF7E1D6616C700E6B0E2 /* Gasteizko_MargolariakTests.swift */,
-				9328AF801D6616C700E6B0E2 /* Info.plist */,
-			);
-			path = "Gasteizko MargolariakTests";
-			sourceTree = "<group>";
-		};
-		9328AF881D6616C700E6B0E2 /* Gasteizko MargolariakUITests */ = {
-			isa = PBXGroup;
-			children = (
-				9328AF891D6616C700E6B0E2 /* Gasteizko_MargolariakUITests.swift */,
-				9328AF8B1D6616C700E6B0E2 /* Info.plist */,
-			);
-			path = "Gasteizko MargolariakUITests";
-			sourceTree = "<group>";
-		};
-/* End PBXGroup section */
-
-/* Begin PBXNativeTarget section */
-		9328AF651D6616C700E6B0E2 /* Gasteizko Margolariak */ = {
-			isa = PBXNativeTarget;
-			buildConfigurationList = 9328AF8E1D6616C700E6B0E2 /* Build configuration list for PBXNativeTarget "Gasteizko Margolariak" */;
-			buildPhases = (
-				9328AF621D6616C700E6B0E2 /* Sources */,
-				9328AF631D6616C700E6B0E2 /* Frameworks */,
-				9328AF641D6616C700E6B0E2 /* Resources */,
-			);
-			buildRules = (
-			);
-			dependencies = (
-			);
-			name = "Gasteizko Margolariak";
-			productName = "Gasteizko Margolariak";
-			productReference = 9328AF661D6616C700E6B0E2 /* Gasteizko Margolariak.app */;
-			productType = "com.apple.product-type.application";
-		};
-/* End PBXNativeTarget section */
-
-/* Begin PBXProject section */
-		9328AF5E1D6616C700E6B0E2 /* Project object */ = {
-			isa = PBXProject;
-			attributes = {
-				LastSwiftUpdateCheck = 0730;
-				LastUpgradeCheck = 0730;
-				ORGANIZATIONNAME = "Gasteizko Margolariak";
-				TargetAttributes = {
-					9328AF651D6616C700E6B0E2 = {
-						CreatedOnToolsVersion = 7.3.1;
-						DevelopmentTeam = Z2WQ2CQN52;
-						LastSwiftMigration = 0800;
-					};
-				};
-			};
-			buildConfigurationList = 9328AF611D6616C700E6B0E2 /* Build configuration list for PBXProject "Gasteizko Margolariak" */;
-			compatibilityVersion = "Xcode 3.2";
-			developmentRegion = English;
-			hasScannedForEncodings = 0;
-			knownRegions = (
-				en,
-				Base,
-			);
-			mainGroup = 9328AF5D1D6616C700E6B0E2;
-			productRefGroup = 9328AF671D6616C700E6B0E2 /* Products */;
-			projectDirPath = "";
-			projectRoot = "";
-			targets = (
-				9328AF651D6616C700E6B0E2 /* Gasteizko Margolariak */,
-			);
-		};
-/* End PBXProject section */
-
-/* Begin PBXResourcesBuildPhase section */
-		9328AF641D6616C700E6B0E2 /* Resources */ = {
-			isa = PBXResourcesBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				9310BCBD1D6B9E4700C93AFA /* res in Resources */,
-				93B2BEAE1D6B8FEA007CBED3 /* Images.xcassets in Resources */,
-				93B2BE9A1D6B8F9D007CBED3 /* ImageHeaderView.xib in Resources */,
-				93B2BEAD1D6B8FEA007CBED3 /* Base.lproj in Resources */,
-				93B2BE9D1D6B8F9D007CBED3 /* SubContentsViewController.storyboard in Resources */,
-				9328AF711D6616C700E6B0E2 /* Assets.xcassets in Resources */,
-				93B2BEAC1D6B8FEA007CBED3 /* Assets.xcassets in Resources */,
-				9328AF6F1D6616C700E6B0E2 /* Main.storyboard in Resources */,
-				93B2BE981D6B8F9D007CBED3 /* DataTableViewCell.xib in Resources */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-/* End PBXResourcesBuildPhase section */
-
-/* Begin PBXSourcesBuildPhase section */
-		9328AF621D6616C700E6B0E2 /* Sources */ = {
-			isa = PBXSourcesBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				93B05E371D6BA33600D909F9 /* GalleryViewController.swift in Sources */,
-				93B2BE9F1D6B8F9D007CBED3 /* UIApplication.swift in Sources */,
-				93A692ED1D6CB3BB00594BA0 /* Database.xcdatamodeld in Sources */,
-				93B2BEA11D6B8F9D007CBED3 /* UIImage.swift in Sources */,
-				9338BE151D6B8E3000D2735B /* ImageHeaderView.swift in Sources */,
-				9328AF6C1D6616C700E6B0E2 /* ViewController.swift in Sources */,
-				93B05E2F1D6BA29A00D909F9 /* ScheduleViewController.swift in Sources */,
-				93B05E331D6BA2E600D909F9 /* ActivitiesViewController.swift in Sources */,
-				93B2BEA31D6B8F9D007CBED3 /* UITableViewExtension.swift in Sources */,
-				93B05E2B1D6BA23A00D909F9 /* LocationViewController.swift in Sources */,
-				9338BE0F1D6B84D700D2735B /* SlideMenuController.swift in Sources */,
-				93B2BEA41D6B8F9D007CBED3 /* UIView.swift in Sources */,
-				93B2BE831D6B8F05007CBED3 /* BaseTableViewCell.swift in Sources */,
-				9315AB341D6BB56D00BEBCD3 /* README.md in Sources */,
-				9328AF6A1D6616C700E6B0E2 /* AppDelegate.swift in Sources */,
-				93B05E291D6BA1EF00D909F9 /* HomeViewController.swift in Sources */,
-				93B2BEA01D6B8F9D007CBED3 /* UIColor.swift in Sources */,
-				93B05E2D1D6BA27200D909F9 /* LablancaViewController.swift in Sources */,
-				93B2BEA51D6B8F9D007CBED3 /* UIViewController.swift in Sources */,
-				93A692EA1D6CB2F700594BA0 /* Preferences.xcdatamodeld in Sources */,
-				93B2BEB01D6B8FEA007CBED3 /* SlideMenuControllerSwift.xcdatamodeld in Sources */,
-				93B2BE9E1D6B8F9D007CBED3 /* SubContentsViewController.swift in Sources */,
-				93B05E351D6BA30E00D909F9 /* BlogViewController.swift in Sources */,
-				93B2BE991D6B8F9D007CBED3 /* ExSlideMenuController.swift in Sources */,
-				93B2BE9B1D6B8F9D007CBED3 /* SlideMenuControllerSwift.xcdatamodeld in Sources */,
-				9338BE0D1D6B840D00D2735B /* MainViewController.swift in Sources */,
-				93B2BEA21D6B8F9D007CBED3 /* UIImageView.swift in Sources */,
-				93B05E391D6BA35200D909F9 /* SettingsViewController.swift in Sources */,
-				93B2BE9C1D6B8F9D007CBED3 /* String.swift in Sources */,
-				93B2BE971D6B8F9D007CBED3 /* DataTableViewCell.swift in Sources */,
-				93B05E311D6BA2BD00D909F9 /* GmscheduleViewController.swift in Sources */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-/* End PBXSourcesBuildPhase section */
-
-/* Begin PBXVariantGroup section */
-		9328AF6D1D6616C700E6B0E2 /* Main.storyboard */ = {
-			isa = PBXVariantGroup;
-			children = (
-				9328AF6E1D6616C700E6B0E2 /* Base */,
-			);
-			name = Main.storyboard;
-			sourceTree = "<group>";
-		};
-		9328AF721D6616C700E6B0E2 /* LaunchScreen.storyboard */ = {
-			isa = PBXVariantGroup;
-			children = (
-				9328AF731D6616C700E6B0E2 /* Base */,
-			);
-			name = LaunchScreen.storyboard;
-			sourceTree = "<group>";
-		};
-/* End PBXVariantGroup section */
-
-/* Begin XCBuildConfiguration section */
-		9328AF8D1D6616C700E6B0E2 /* Release */ = {
-			isa = XCBuildConfiguration;
-			buildSettings = {
-				ALWAYS_SEARCH_USER_PATHS = NO;
-				CLANG_ANALYZER_NONNULL = YES;
-				CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
-				CLANG_CXX_LIBRARY = "libc++";
-				CLANG_ENABLE_MODULES = YES;
-				CLANG_ENABLE_OBJC_ARC = YES;
-				CLANG_WARN_BOOL_CONVERSION = YES;
-				CLANG_WARN_CONSTANT_CONVERSION = YES;
-				CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
-				CLANG_WARN_EMPTY_BODY = YES;
-				CLANG_WARN_ENUM_CONVERSION = YES;
-				CLANG_WARN_INT_CONVERSION = YES;
-				CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
-				CLANG_WARN_UNREACHABLE_CODE = YES;
-				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
-				COPY_PHASE_STRIP = NO;
-				DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
-				ENABLE_NS_ASSERTIONS = NO;
-				ENABLE_STRICT_OBJC_MSGSEND = YES;
-				GCC_C_LANGUAGE_STANDARD = gnu99;
-				GCC_NO_COMMON_BLOCKS = YES;
-				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
-				GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
-				GCC_WARN_UNDECLARED_SELECTOR = YES;
-				GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
-				GCC_WARN_UNUSED_FUNCTION = YES;
-				GCC_WARN_UNUSED_VARIABLE = YES;
-				IPHONEOS_DEPLOYMENT_TARGET = 9.3;
-				MTL_ENABLE_DEBUG_INFO = NO;
-				SDKROOT = iphoneos10.0;
-				TARGETED_DEVICE_FAMILY = "1,2";
-				VALIDATE_PRODUCT = YES;
-			};
-			name = Release;
-		};
-		9328AF901D6616C700E6B0E2 /* Release */ = {
-			isa = XCBuildConfiguration;
-			buildSettings = {
-				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
-				ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = "Brand Assets";
-				CODE_SIGN_IDENTITY = "iPhone Developer";
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
-				DEVELOPMENT_TEAM = Z2WQ2CQN52;
-				INFOPLIST_FILE = "Gasteizko Margolariak/Info.plist";
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
-				"OTHER_CODE_SIGN_FLAGS[sdk=*]" = "--deep";
-				PRODUCT_BUNDLE_IDENTIFIER = com.margolariak.gm;
-				PRODUCT_NAME = "$(TARGET_NAME)";
-				PROVISIONING_PROFILE = "";
-				SWIFT_VERSION = 2.3;
-			};
-			name = Release;
-		};
-/* End XCBuildConfiguration section */
-
-/* Begin XCConfigurationList section */
-		9328AF611D6616C700E6B0E2 /* Build configuration list for PBXProject "Gasteizko Margolariak" */ = {
-			isa = XCConfigurationList;
-			buildConfigurations = (
-				9328AF8D1D6616C700E6B0E2 /* Release */,
-			);
-			defaultConfigurationIsVisible = 0;
-			defaultConfigurationName = Release;
-		};
-		9328AF8E1D6616C700E6B0E2 /* Build configuration list for PBXNativeTarget "Gasteizko Margolariak" */ = {
-			isa = XCConfigurationList;
-			buildConfigurations = (
-				9328AF901D6616C700E6B0E2 /* Release */,
-			);
-			defaultConfigurationIsVisible = 0;
-			defaultConfigurationName = Release;
-		};
-/* End XCConfigurationList section */
-
-/* Begin XCVersionGroup section */
-		93A692E81D6CB2F700594BA0 /* Preferences.xcdatamodeld */ = {
-			isa = XCVersionGroup;
-			children = (
-				93A692E91D6CB2F700594BA0 /* Preferences.xcdatamodel */,
-			);
-			currentVersion = 93A692E91D6CB2F700594BA0 /* Preferences.xcdatamodel */;
-			path = Preferences.xcdatamodeld;
-			sourceTree = "<group>";
-			versionGroupType = wrapper.xcdatamodel;
-		};
-		93A692EB1D6CB3BB00594BA0 /* Database.xcdatamodeld */ = {
-			isa = XCVersionGroup;
-			children = (
-				93A692EC1D6CB3BB00594BA0 /* Database.xcdatamodel */,
-			);
-			currentVersion = 93A692EC1D6CB3BB00594BA0 /* Database.xcdatamodel */;
-			path = Database.xcdatamodeld;
-			sourceTree = "<group>";
-			versionGroupType = wrapper.xcdatamodel;
-		};
-		93B2BE8B1D6B8F9C007CBED3 /* SlideMenuControllerSwift.xcdatamodeld */ = {
-			isa = XCVersionGroup;
-			children = (
-				93B2BE8C1D6B8F9D007CBED3 /* SlideMenuControllerSwift.xcdatamodel */,
-			);
-			currentVersion = 93B2BE8C1D6B8F9D007CBED3 /* SlideMenuControllerSwift.xcdatamodel */;
-			path = SlideMenuControllerSwift.xcdatamodeld;
-			sourceTree = "<group>";
-			versionGroupType = wrapper.xcdatamodel;
-		};
-		93B2BEAA1D6B8FEA007CBED3 /* SlideMenuControllerSwift.xcdatamodeld */ = {
-			isa = XCVersionGroup;
-			children = (
-				93B2BEAB1D6B8FEA007CBED3 /* SlideMenuControllerSwift.xcdatamodel */,
-			);
-			currentVersion = 93B2BEAB1D6B8FEA007CBED3 /* SlideMenuControllerSwift.xcdatamodel */;
-			path = SlideMenuControllerSwift.xcdatamodeld;
-			sourceTree = "<group>";
-			versionGroupType = wrapper.xcdatamodel;
-		};
-/* End XCVersionGroup section */
-	};
-	rootObject = 9328AF5E1D6616C700E6B0E2 /* Project object */;
-}

+ 0 - 22
Gasteizko Margolariak/ActivitiesViewController.swift

@@ -1,22 +0,0 @@
-//
-//  ActivitiesViewController.swift
-//  Gasteizko Margolariak
-//
-//  Created by Inigo Valentin on 22/08/16.
-//  Copyright © 2016 Gasteizko Margolariak. All rights reserved.
-//
-
-
-import UIKit
-
-class ActivitiesViewController: UIViewController {
-    
-    override func viewDidLoad() {
-        super.viewDidLoad()
-    }
-    
-    override func viewWillAppear(animated: Bool) {
-        super.viewWillAppear(animated)
-        self.setNavigationBarItem()
-    }
-}

+ 0 - 198
Gasteizko Margolariak/AppDelegate.swift

@@ -1,198 +0,0 @@
-//
-//  AppDelegate.swift
-//  Gasteizko Margolariak
-//
-//  Created by Inigo Valentin on 2016-08-23
-//  Copyright © 2016 Inigo Valentin. All rights reserved.
-//
-//  Based on the work of Yuji Hato.
-//
-
-import UIKit
-import CoreData
-
-@UIApplicationMain
-class AppDelegate: UIResponder, UIApplicationDelegate {
-    
-    var window: UIWindow?
-    
-    private func createMenuView() {
-        
-        // create viewController code...
-        let storyboard = UIStoryboard(name: "Main", bundle: nil)
-        
-        let mainViewController = storyboard.instantiateViewControllerWithIdentifier("MainViewController") as! MainViewController
-        //let leftViewController = storyboard.instantiateViewControllerWithIdentifier("LeftViewController") as! LeftViewController
-        
-        let nvc: UINavigationController = UINavigationController(rootViewController: mainViewController)
-		
-		UINavigationBar.appearance().tintColor = UIColor.blackColor()
-		UINavigationBar.appearance().backgroundColor = UIColor(hex: "4c9ed8")
-		
-        //leftViewController.mainViewController = nvc
-        
-        let slideMenuController = ExSlideMenuController(mainViewController:nvc)
-        slideMenuController.automaticallyAdjustsScrollViewInsets = true
-        slideMenuController.delegate = mainViewController
-        //self.window?.backgroundColor = UIColor(red: 236.0, green: 238.0, blue: 241.0, alpha: 1.0)
-		self.window?.backgroundColor = UIColor(hex: "c6e4f6")
-        self.window?.rootViewController = slideMenuController
-        self.window?.makeKeyAndVisible()
-    }
-    
-    func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
-        
-        self.createMenuView()
-		
-		//Get db version
-		//NSUserDefaults.standardUserDefaults().setObject("mynameisben", forKey: "username")
-		
-		/*if let dbVersion = NSUserDefaults.standardUserDefaults().stringForKey("dbversion"){
-			print("DB Version: \(dbVersion)")
-		}
-		else{
-			print("DB Verion not set. Fetching content")
-			
-			
-			//Async task to do the initial sync
-			let priority = DISPATCH_QUEUE_PRIORITY_DEFAULT
-			dispatch_async(dispatch_get_global_queue(priority, 0)) {
-				// do some task
-				let urlPath: String = "http://margolariak.com/app/sync.php"
-				let url: NSURL = NSURL(string: urlPath)!
-				let request1: NSURLRequest = NSURLRequest(URL: url)
-				let queue:NSOperationQueue = NSOperationQueue()
-				
-				NSURLConnection.sendAsynchronousRequest(request1, queue: queue, completionHandler:{ (response: NSURLResponse?, data: NSData?, error: NSError?) -> Void in
-					
-					do {
-						let content = try String(contentsOfURL: url)
-						//print("HTML : \(content)")
-						//let newVersion = content.substringWithRange(Range<String.Index>(start: content.rangeOfString("<version>"), end: content.rangeOfString("</version>")))
-						if let startRange = content.rangeOfString("<version>"), let endRange = content.rangeOfString("</version>") {
-							let newVersion = content[startRange.endIndex..<endRange.startIndex]
-							print("Remote db Verion : \(newVersion)")
-						}
-						
-					} catch let error as NSError {
-						print(error.localizedDescription)
-					}
-					
-					
-				})
-				
-				
-				dispatch_async(dispatch_get_main_queue()) {
-					// update some UI
-				}
-			}
-		}*/
-	
-		
-		
-        return true
-    }
-	
-	func applicationDidFinishLaunching(application: UIApplication) {
-		print("App launched")
-	}
-    
-    func applicationWillResignActive(application: UIApplication) {
-        // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
-        // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.
-    }
-    
-    func applicationDidEnterBackground(application: UIApplication) {
-        // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
-        // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
-    }
-    
-    func applicationWillEnterForeground(application: UIApplication) {
-        // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.
-    }
-    
-    func applicationDidBecomeActive(application: UIApplication) {
-        // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
-    }
-    
-    func applicationWillTerminate(application: UIApplication) {
-        // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
-        // Saves changes in the application's managed object context before the application terminates.
-        self.saveContext()
-    }
-    
-    // MARK: - Core Data stack
-    
-    lazy var applicationDocumentsDirectory: NSURL = {
-        // The directory the application uses to store the Core Data store file. This code uses a directory named "dekatotoro.test11" in the application's documents Application Support directory.
-        let urls = NSFileManager.defaultManager().URLsForDirectory(.DocumentDirectory, inDomains: .UserDomainMask)
-        return urls[urls.count-1] 
-        }()
-    
-    lazy var managedObjectModel: NSManagedObjectModel = {
-        // The managed object model for the application. This property is not optional. It is a fatal error for the application not to be able to find and load its model.
-        let modelURL = NSBundle.mainBundle().URLForResource("test11", withExtension: "momd")!
-        return NSManagedObjectModel(contentsOfURL: modelURL)!
-        }()
-    
-    lazy var persistentStoreCoordinator: NSPersistentStoreCoordinator? = {
-        // The persistent store coordinator for the application. This implementation creates and return a coordinator, having added the store for the application to it. This property is optional since there are legitimate error conditions that could cause the creation of the store to fail.
-        // Create the coordinator and store
-        var coordinator: NSPersistentStoreCoordinator? = NSPersistentStoreCoordinator(managedObjectModel: self.managedObjectModel)
-        let url = self.applicationDocumentsDirectory.URLByAppendingPathComponent("test11.sqlite")
-        var error: NSError? = nil
-        var failureReason = "There was an error creating or loading the application's saved data."
-        do {
-            try coordinator!.addPersistentStoreWithType(NSSQLiteStoreType, configuration: nil, URL: url, options: nil)
-        } catch var error1 as NSError {
-            error = error1
-            coordinator = nil
-            // Report any error we got.
-            var dict = [String: AnyObject]()
-            dict[NSLocalizedDescriptionKey] = "Failed to initialize the application's saved data"
-            dict[NSLocalizedFailureReasonErrorKey] = failureReason
-            dict[NSUnderlyingErrorKey] = error
-            error = NSError(domain: "YOUR_ERROR_DOMAIN", code: 9999, userInfo: dict)
-            // Replace this with code to handle the error appropriately.
-            // abort() causes the application to generate a crash log and terminate. You should not use this function in a shipping application, although it may be useful during development.
-            NSLog("Unresolved error \(error), \(error!.userInfo)")
-            abort()
-        } catch {
-            fatalError()
-        }
-        
-        return coordinator
-        }()
-    
-    lazy var managedObjectContext: NSManagedObjectContext? = {
-        // Returns the managed object context for the application (which is already bound to the persistent store coordinator for the application.) This property is optional since there are legitimate error conditions that could cause the creation of the context to fail.
-        let coordinator = self.persistentStoreCoordinator
-        if coordinator == nil {
-            return nil
-        }
-        var managedObjectContext = NSManagedObjectContext()
-        managedObjectContext.persistentStoreCoordinator = coordinator
-        return managedObjectContext
-        }()
-    
-    // MARK: - Core Data Saving support
-    
-    func saveContext () {
-        if let moc = self.managedObjectContext {
-            var error: NSError? = nil
-            if moc.hasChanges {
-                do {
-                    try moc.save()
-                } catch let error1 as NSError {
-                    error = error1
-                    // Replace this implementation with code to handle the error appropriately.
-                    // abort() causes the application to generate a crash log and terminate. You should not use this function in a shipping application, although it may be useful during development.
-                    NSLog("Unresolved error \(error), \(error!.userInfo)")
-                    abort()
-                }
-            }
-        }
-    }
-    
-}
-

+ 0 - 49
Gasteizko Margolariak/Assets.xcassets/Brand Assets.launchimage/Contents.json

@@ -1,49 +0,0 @@
-{
-  "images" : [
-    {
-      "orientation" : "portrait",
-      "idiom" : "ipad",
-      "minimum-system-version" : "7.0",
-      "extent" : "full-screen",
-      "scale" : "2x"
-    },
-    {
-      "orientation" : "landscape",
-      "idiom" : "ipad",
-      "minimum-system-version" : "7.0",
-      "extent" : "full-screen",
-      "scale" : "1x"
-    },
-    {
-      "orientation" : "landscape",
-      "idiom" : "ipad",
-      "minimum-system-version" : "7.0",
-      "extent" : "full-screen",
-      "scale" : "2x"
-    },
-    {
-      "orientation" : "portrait",
-      "idiom" : "iphone",
-      "minimum-system-version" : "7.0",
-      "scale" : "2x"
-    },
-    {
-      "orientation" : "portrait",
-      "idiom" : "iphone",
-      "minimum-system-version" : "7.0",
-      "subtype" : "retina4",
-      "scale" : "2x"
-    },
-    {
-      "orientation" : "portrait",
-      "idiom" : "ipad",
-      "minimum-system-version" : "7.0",
-      "extent" : "full-screen",
-      "scale" : "1x"
-    }
-  ],
-  "info" : {
-    "version" : 1,
-    "author" : "xcode"
-  }
-}

+ 0 - 6
Gasteizko Margolariak/Assets.xcassets/Contents.json

@@ -1,6 +0,0 @@
-{
-  "info" : {
-    "version" : 1,
-    "author" : "xcode"
-  }
-}

+ 0 - 42
Gasteizko Margolariak/Base.lproj/LaunchScreen.xib

@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="6254" systemVersion="13F34" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES">
-    <dependencies>
-        <deployment identifier="iOS"/>
-        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6247"/>
-        <capability name="Constraints with non-1.0 multipliers" minToolsVersion="5.1"/>
-    </dependencies>
-    <objects>
-        <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
-        <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
-        <view contentMode="scaleToFill" id="iN0-l3-epB">
-            <rect key="frame" x="0.0" y="0.0" width="480" height="480"/>
-            <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
-            <subviews>
-                <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="  Copyright (c) 2014 Yuji Hato. All rights reserved." textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="9" translatesAutoresizingMaskIntoConstraints="NO" id="8ie-xW-0ye">
-                    <rect key="frame" x="20" y="439" width="441" height="20.5"/>
-                    <fontDescription key="fontDescription" type="system" pointSize="17"/>
-                    <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
-                    <nil key="highlightedColor"/>
-                </label>
-                <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" misplaced="YES" text="SlideMenuControllerSwift" textAlignment="center" lineBreakMode="middleTruncation" baselineAdjustment="alignBaselines" minimumFontSize="18" translatesAutoresizingMaskIntoConstraints="NO" id="kId-c2-rCX">
-                    <rect key="frame" x="20" y="140" width="441" height="43"/>
-                    <fontDescription key="fontDescription" type="boldSystem" pointSize="24"/>
-                    <color key="textColor" red="0.92549019607843142" green="0.93333333333333335" blue="0.94509803921568625" alpha="1" colorSpace="calibratedRGB"/>
-                    <nil key="highlightedColor"/>
-                </label>
-            </subviews>
-            <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
-            <constraints>
-                <constraint firstItem="kId-c2-rCX" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="bottom" multiplier="1/3" constant="1" id="5cJ-9S-tgC"/>
-                <constraint firstAttribute="centerX" secondItem="kId-c2-rCX" secondAttribute="centerX" id="Koa-jz-hwk"/>
-                <constraint firstAttribute="bottom" secondItem="8ie-xW-0ye" secondAttribute="bottom" constant="20" id="Kzo-t9-V3l"/>
-                <constraint firstItem="8ie-xW-0ye" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="20" symbolic="YES" id="MfP-vx-nX0"/>
-                <constraint firstAttribute="centerX" secondItem="8ie-xW-0ye" secondAttribute="centerX" id="ZEH-qu-HZ9"/>
-                <constraint firstItem="kId-c2-rCX" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="20" symbolic="YES" id="fvb-Df-36g"/>
-            </constraints>
-            <nil key="simulatedStatusBarMetrics"/>
-            <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
-            <point key="canvasLocation" x="548" y="455"/>
-        </view>
-    </objects>
-</document>

+ 0 - 658
Gasteizko Margolariak/Base.lproj/Main.storyboard

@@ -1,658 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="11201" systemVersion="15F34" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="BYZ-38-t0r">
-    <dependencies>
-        <deployment identifier="iOS"/>
-        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11161"/>
-        <capability name="Constraints with non-1.0 multipliers" minToolsVersion="5.1"/>
-        <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
-    </dependencies>
-    <scenes>
-        <!--Right View Controller-->
-        <scene sceneID="bvR-W9-qnC">
-            <objects>
-                <viewController storyboardIdentifier="RightViewController" id="In8-Mc-X7I" customClass="RightViewController" customModule="Gasteizko_Margolariak" customModuleProvider="target" sceneMemberID="viewController">
-                    <layoutGuides>
-                        <viewControllerLayoutGuide type="top" id="Uwi-SA-NOq"/>
-                        <viewControllerLayoutGuide type="bottom" id="wFn-Mp-0fQ"/>
-                    </layoutGuides>
-                    <view key="view" alpha="0.90000000000000002" contentMode="scaleToFill" id="Ltp-Uh-d7b">
-                        <rect key="frame" x="0.0" y="0.0" width="320" height="480"/>
-                        <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
-                        <subviews>
-                            <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" misplaced="YES" text="RightViewController" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="1cV-XC-cqE">
-                                <frame key="frameInset" minX="180" minY="100" width="240" height="93"/>
-                                <constraints>
-                                    <constraint firstAttribute="width" constant="240" id="1Eb-kX-mSr"/>
-                                    <constraint firstAttribute="height" constant="93" id="JXD-Xz-JaB"/>
-                                </constraints>
-                                <fontDescription key="fontDescription" type="system" pointSize="22"/>
-                                <color key="textColor" red="0.61960784313725492" green="0.61960784313725492" blue="0.61960784313725492" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
-                                <nil key="highlightedColor"/>
-                            </label>
-                        </subviews>
-                        <color key="backgroundColor" red="0.94509803921568625" green="0.97254901960784312" blue="0.9137254901960784" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
-                        <constraints>
-                            <constraint firstAttribute="centerX" secondItem="1cV-XC-cqE" secondAttribute="centerX" id="Q8n-ib-5xp"/>
-                            <constraint firstItem="1cV-XC-cqE" firstAttribute="top" secondItem="Uwi-SA-NOq" secondAttribute="bottom" constant="80" id="nB2-pu-mht"/>
-                        </constraints>
-                    </view>
-                </viewController>
-                <placeholder placeholderIdentifier="IBFirstResponder" id="PvU-KF-Szg" userLabel="First Responder" sceneMemberID="firstResponder"/>
-            </objects>
-            <point key="canvasLocation" x="139" y="-1196"/>
-        </scene>
-        <!--Left View Controller-->
-        <scene sceneID="Nq8-8X-A5v">
-            <objects>
-                <viewController storyboardIdentifier="LeftViewController" id="Mog-8S-rDV" customClass="LeftViewController" customModule="Gasteizko_Margolariak" customModuleProvider="target" sceneMemberID="viewController">
-                    <layoutGuides>
-                        <viewControllerLayoutGuide type="top" id="ojD-hk-v0s"/>
-                        <viewControllerLayoutGuide type="bottom" id="hXM-FI-ON0"/>
-                    </layoutGuides>
-                    <view key="view" autoresizesSubviews="NO" contentMode="scaleToFill" verticalHuggingPriority="1" verticalCompressionResistancePriority="1" id="REJ-n5-19V">
-                        <rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
-                        <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
-                        <subviews>
-                            <tableView clipsSubviews="YES" contentMode="scaleToFill" verticalHuggingPriority="1" verticalCompressionResistancePriority="1" bounces="NO" keyboardDismissMode="onDrag" dataMode="prototypes" style="plain" rowHeight="44" sectionHeaderHeight="22" sectionFooterHeight="22" translatesAutoresizingMaskIntoConstraints="NO" id="tZ8-EX-Dgz">
-                                <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.0" colorSpace="custom" customColorSpace="sRGB"/>
-                                <edgeInsets key="layoutMargins" top="0.0" left="8" bottom="0.0" right="8"/>
-                                <color key="separatorColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
-                                <inset key="separatorInset" minX="20" minY="0.0" maxX="20" maxY="0.0"/>
-                                <color key="sectionIndexColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
-                                <color key="sectionIndexBackgroundColor" red="0.29803921568627451" green="0.61960784313725492" blue="0.84705882352941175" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
-                                <prototypes>
-                                    <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="blue" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" id="dqU-bn-Fff">
-                                        <rect key="frame" x="0.0" y="22" width="600" height="44"/>
-                                        <autoresizingMask key="autoresizingMask"/>
-                                        <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="dqU-bn-Fff" id="BKe-fm-u0f">
-                                            <frame key="frameInset" width="600" height="43.5"/>
-                                            <autoresizingMask key="autoresizingMask"/>
-                                        </tableViewCellContentView>
-                                    </tableViewCell>
-                                    <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="blue" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" id="SJ4-Ph-yIO">
-                                        <rect key="frame" x="0.0" y="66" width="600" height="44"/>
-                                        <autoresizingMask key="autoresizingMask"/>
-                                        <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="SJ4-Ph-yIO" id="Bqp-Tc-GA4">
-                                            <frame key="frameInset" width="600" height="43.5"/>
-                                            <autoresizingMask key="autoresizingMask"/>
-                                        </tableViewCellContentView>
-                                    </tableViewCell>
-                                    <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="blue" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" id="2is-mw-lma">
-                                        <rect key="frame" x="0.0" y="110" width="600" height="44"/>
-                                        <autoresizingMask key="autoresizingMask"/>
-                                        <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="2is-mw-lma" id="Jbn-ga-DQD">
-                                            <frame key="frameInset" width="600" height="43.5"/>
-                                            <autoresizingMask key="autoresizingMask"/>
-                                        </tableViewCellContentView>
-                                    </tableViewCell>
-                                    <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="blue" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" id="4ZE-n6-VHL">
-                                        <rect key="frame" x="0.0" y="154" width="600" height="44"/>
-                                        <autoresizingMask key="autoresizingMask"/>
-                                        <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="4ZE-n6-VHL" id="PeY-d3-Enn">
-                                            <frame key="frameInset" width="600" height="43.5"/>
-                                            <autoresizingMask key="autoresizingMask"/>
-                                        </tableViewCellContentView>
-                                    </tableViewCell>
-                                    <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="blue" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" id="vnu-HJ-e5K">
-                                        <rect key="frame" x="0.0" y="198" width="600" height="44"/>
-                                        <autoresizingMask key="autoresizingMask"/>
-                                        <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="vnu-HJ-e5K" id="6Sz-Zx-8WV">
-                                            <frame key="frameInset" width="600" height="43.5"/>
-                                            <autoresizingMask key="autoresizingMask"/>
-                                        </tableViewCellContentView>
-                                    </tableViewCell>
-                                    <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="blue" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" id="of4-xV-QiP">
-                                        <rect key="frame" x="0.0" y="242" width="600" height="44"/>
-                                        <autoresizingMask key="autoresizingMask"/>
-                                        <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="of4-xV-QiP" id="F03-76-3TU">
-                                            <frame key="frameInset" width="600" height="43.5"/>
-                                            <autoresizingMask key="autoresizingMask"/>
-                                        </tableViewCellContentView>
-                                    </tableViewCell>
-                                    <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="blue" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" id="AkS-Q3-gDU">
-                                        <rect key="frame" x="0.0" y="286" width="600" height="44"/>
-                                        <autoresizingMask key="autoresizingMask"/>
-                                        <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="AkS-Q3-gDU" id="qBg-ct-kHt">
-                                            <frame key="frameInset" width="600" height="43.5"/>
-                                            <autoresizingMask key="autoresizingMask"/>
-                                        </tableViewCellContentView>
-                                    </tableViewCell>
-                                    <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="blue" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" id="Zo7-4A-Jpm">
-                                        <rect key="frame" x="0.0" y="330" width="600" height="44"/>
-                                        <autoresizingMask key="autoresizingMask"/>
-                                        <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="Zo7-4A-Jpm" id="Zoo-lD-6Ah">
-                                            <frame key="frameInset" width="600" height="43.5"/>
-                                            <autoresizingMask key="autoresizingMask"/>
-                                        </tableViewCellContentView>
-                                    </tableViewCell>
-                                    <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="blue" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" id="HUm-K8-BNO">
-                                        <rect key="frame" x="0.0" y="374" width="600" height="44"/>
-                                        <autoresizingMask key="autoresizingMask"/>
-                                        <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="HUm-K8-BNO" id="nfi-xx-L3A">
-                                            <frame key="frameInset" width="600" height="43.5"/>
-                                            <autoresizingMask key="autoresizingMask"/>
-                                        </tableViewCellContentView>
-                                    </tableViewCell>
-                                </prototypes>
-                                <sections/>
-                                <connections>
-                                    <outlet property="dataSource" destination="Mog-8S-rDV" id="H0W-OR-4JG"/>
-                                    <outlet property="delegate" destination="Mog-8S-rDV" id="9co-7s-CEv"/>
-                                </connections>
-                            </tableView>
-                        </subviews>
-                        <color key="backgroundColor" red="0.29803921568627451" green="0.61960784313725492" blue="0.84705882352941175" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
-                        <constraints>
-                            <constraint firstItem="hXM-FI-ON0" firstAttribute="top" secondItem="tZ8-EX-Dgz" secondAttribute="bottom" id="JJj-IC-vli"/>
-                            <constraint firstItem="tZ8-EX-Dgz" firstAttribute="top" secondItem="REJ-n5-19V" secondAttribute="top" id="K0e-FY-E01"/>
-                            <constraint firstAttribute="trailing" secondItem="tZ8-EX-Dgz" secondAttribute="trailing" id="g5C-cu-sdP"/>
-                            <constraint firstItem="tZ8-EX-Dgz" firstAttribute="leading" secondItem="REJ-n5-19V" secondAttribute="leading" id="pzK-e6-Yy4"/>
-                        </constraints>
-                    </view>
-                    <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
-                    <size key="freeformSize" width="600" height="600"/>
-                    <connections>
-                        <outlet property="tableView" destination="tZ8-EX-Dgz" id="Q4I-bN-BsR"/>
-                    </connections>
-                </viewController>
-                <placeholder placeholderIdentifier="IBFirstResponder" id="JrB-Wy-sfE" userLabel="First Responder" sceneMemberID="firstResponder"/>
-            </objects>
-            <point key="canvasLocation" x="139" y="-538"/>
-        </scene>
-        <!--Main View Controller-->
-        <scene sceneID="tne-QT-ifu">
-            <objects>
-                <viewController storyboardIdentifier="MainViewController" id="BYZ-38-t0r" customClass="MainViewController" customModule="Gasteizko_Margolariak" customModuleProvider="target" sceneMemberID="viewController">
-                    <layoutGuides>
-                        <viewControllerLayoutGuide type="top" id="y3c-jy-aDJ"/>
-                        <viewControllerLayoutGuide type="bottom" id="wfy-db-euE"/>
-                    </layoutGuides>
-                    <view key="view" opaque="NO" alpha="0.0" contentMode="scaleToFill" id="8bC-Xf-vdC">
-                        <rect key="frame" x="0.0" y="0.0" width="320" height="480"/>
-                        <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
-                        <subviews>
-                            <tableView clipsSubviews="YES" contentMode="scaleToFill" misplaced="YES" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="44" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="MNw-nN-8ak">
-                                <frame key="frameInset" width="600" height="600"/>
-                                <color key="backgroundColor" red="0.89411764705882357" green="0.9137254901960784" blue="0.9137254901960784" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
-                                <connections>
-                                    <outlet property="dataSource" destination="BYZ-38-t0r" id="v6M-NJ-qDu"/>
-                                    <outlet property="delegate" destination="BYZ-38-t0r" id="yky-PA-Jge"/>
-                                </connections>
-                            </tableView>
-                        </subviews>
-                        <color key="backgroundColor" red="0.77647058823529413" green="0.89411764705882346" blue="0.96470588235294119" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
-                        <color key="tintColor" red="0.0" green="0.0" blue="0.0" alpha="0.0" colorSpace="custom" customColorSpace="sRGB"/>
-                        <constraints>
-                            <constraint firstAttribute="trailing" secondItem="MNw-nN-8ak" secondAttribute="trailing" id="0gj-9S-3k5"/>
-                            <constraint firstItem="wfy-db-euE" firstAttribute="top" secondItem="MNw-nN-8ak" secondAttribute="bottom" id="47o-gV-Kd1"/>
-                            <constraint firstItem="MNw-nN-8ak" firstAttribute="top" secondItem="8bC-Xf-vdC" secondAttribute="top" id="xbT-am-qCO"/>
-                            <constraint firstItem="MNw-nN-8ak" firstAttribute="leading" secondItem="8bC-Xf-vdC" secondAttribute="leading" id="zcu-wF-y35"/>
-                        </constraints>
-                    </view>
-                    <connections>
-                        <outlet property="tableView" destination="MNw-nN-8ak" id="OEx-Z5-027"/>
-                    </connections>
-                </viewController>
-                <placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
-            </objects>
-        </scene>
-        <!--Home View Controller-->
-        <scene sceneID="qDe-KX-ho1">
-            <objects>
-                <viewController storyboardIdentifier="HomeViewController" id="I9w-x4-mAi" customClass="HomeViewController" customModule="Gasteizko_Margolariak" customModuleProvider="target" sceneMemberID="viewController">
-                    <layoutGuides>
-                        <viewControllerLayoutGuide type="top" id="jtW-TN-dF4"/>
-                        <viewControllerLayoutGuide type="bottom" id="2n0-fL-47k"/>
-                    </layoutGuides>
-                    <view key="view" contentMode="scaleToFill" id="FDk-dB-c3B">
-                        <rect key="frame" x="0.0" y="0.0" width="320" height="480"/>
-                        <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
-                        <subviews>
-                            <view contentMode="scaleToFill" ambiguous="YES" misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="fQq-h9-XAb">
-                                <frame key="frameInset" minY="28" width="600" height="224"/>
-                                <subviews>
-                                    <stackView opaque="NO" contentMode="scaleToFill" ambiguous="YES" misplaced="YES" placeholderIntrinsicWidth="272" placeholderIntrinsicHeight="202" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="SQW-fW-w4x">
-                                        <frame key="frameInset" minY="10" width="289" height="202"/>
-                                        <subviews>
-                                            <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" text="La Blanca" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="gMY-PS-HF9">
-                                                <frame key="frameInset" minX="8" minY="8" width="273" height="20"/>
-                                                <constraints>
-                                                    <constraint firstAttribute="height" constant="20" id="vhp-8S-vYm"/>
-                                                </constraints>
-                                                <fontDescription key="fontDescription" type="boldSystem" pointSize="17"/>
-                                                <nil key="highlightedColor"/>
-                                            </label>
-                                            <stackView opaque="NO" contentMode="scaleToFill" ambiguous="YES" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="54p-pF-Lwz">
-                                                <frame key="frameInset" minX="8" minY="28" width="273" height="166"/>
-                                                <subviews>
-                                                    <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" image="ic_launcher_24dp" translatesAutoresizingMaskIntoConstraints="NO" id="vDF-YI-Ctm">
-                                                        <frame key="frameInset" minX="8" minY="8" width="257" height="130"/>
-                                                    </imageView>
-                                                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="gc8-7f-NXp">
-                                                        <frame key="frameInset" minX="8" minY="138" width="257" height="21"/>
-                                                        <fontDescription key="fontDescription" type="system" pointSize="17"/>
-                                                        <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
-                                                        <nil key="highlightedColor"/>
-                                                    </label>
-                                                </subviews>
-                                                <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
-                                                <edgeInsets key="layoutMargins" top="8" left="8" bottom="8" right="8"/>
-                                                <userDefinedRuntimeAttributes>
-                                                    <userDefinedRuntimeAttribute type="number" keyPath="keyPath">
-                                                        <integer key="value" value="1"/>
-                                                    </userDefinedRuntimeAttribute>
-                                                </userDefinedRuntimeAttributes>
-                                            </stackView>
-                                        </subviews>
-                                        <color key="backgroundColor" red="0.60784313725490191" green="0.75686274509803919" blue="0.85490196078431369" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
-                                        <edgeInsets key="layoutMargins" top="8" left="8" bottom="8" right="8"/>
-                                    </stackView>
-                                </subviews>
-                                <color key="backgroundColor" red="0.60784313725490191" green="0.75686274509803919" blue="0.85490196078431369" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
-                                <constraints>
-                                    <constraint firstItem="SQW-fW-w4x" firstAttribute="width" secondItem="fQq-h9-XAb" secondAttribute="width" multiplier="0.95" id="LA4-rH-wSd"/>
-                                </constraints>
-                                <edgeInsets key="layoutMargins" top="10" left="10" bottom="10" right="10"/>
-                            </view>
-                        </subviews>
-                        <color key="backgroundColor" red="0.89411764705882357" green="0.9137254901960784" blue="0.9137254901960784" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
-                        <constraints>
-                            <constraint firstItem="fQq-h9-XAb" firstAttribute="top" secondItem="jtW-TN-dF4" secondAttribute="bottom" constant="8" id="NIA-SG-F8G">
-                                <userDefinedRuntimeAttributes>
-                                    <userDefinedRuntimeAttribute type="number" keyPath="layer.borderWidth">
-                                        <integer key="value" value="1"/>
-                                    </userDefinedRuntimeAttribute>
-                                </userDefinedRuntimeAttributes>
-                            </constraint>
-                            <constraint firstItem="fQq-h9-XAb" firstAttribute="width" secondItem="FDk-dB-c3B" secondAttribute="width" multiplier="0.95" id="VMS-gU-Q7n"/>
-                            <constraint firstItem="fQq-h9-XAb" firstAttribute="centerX" secondItem="FDk-dB-c3B" secondAttribute="centerX" id="Zae-bP-EgN"/>
-                        </constraints>
-                    </view>
-                    <navigationItem key="navigationItem" id="Wgh-E1-vlx"/>
-                </viewController>
-                <placeholder placeholderIdentifier="IBFirstResponder" id="0gN-ZX-EvU" userLabel="First Responder" sceneMemberID="firstResponder"/>
-            </objects>
-            <point key="canvasLocation" x="118" y="1437"/>
-        </scene>
-        <!--Location View Controller-->
-        <scene sceneID="4cK-mI-MCG">
-            <objects>
-                <viewController storyboardIdentifier="LocationViewController" id="TvI-C9-lSF" customClass="LocationViewController" customModule="Gasteizko_Margolariak" customModuleProvider="target" sceneMemberID="viewController">
-                    <layoutGuides>
-                        <viewControllerLayoutGuide type="top" id="qOh-Be-bJ9"/>
-                        <viewControllerLayoutGuide type="bottom" id="yPA-d7-Ile"/>
-                    </layoutGuides>
-                    <view key="view" contentMode="scaleToFill" id="39x-FM-ldd">
-                        <rect key="frame" x="0.0" y="0.0" width="320" height="480"/>
-                        <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
-                        <subviews>
-                            <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" misplaced="YES" text="JavaViewController" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="yNk-jI-vWu">
-                                <frame key="frameInset" minX="180" minY="100" width="240" height="93"/>
-                                <constraints>
-                                    <constraint firstAttribute="width" constant="240" id="0CF-AY-wRd"/>
-                                    <constraint firstAttribute="height" constant="93" id="sHD-pg-Gth"/>
-                                </constraints>
-                                <fontDescription key="fontDescription" type="system" pointSize="22"/>
-                                <color key="textColor" red="0.61960784313725492" green="0.61960784313725492" blue="0.61960784313725492" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
-                                <nil key="highlightedColor"/>
-                            </label>
-                        </subviews>
-                        <color key="backgroundColor" red="0.89411764709999997" green="0.91764705879999997" blue="0.91372549020000005" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
-                        <constraints>
-                            <constraint firstAttribute="centerX" secondItem="yNk-jI-vWu" secondAttribute="centerX" id="S8p-PB-WbI"/>
-                            <constraint firstItem="yNk-jI-vWu" firstAttribute="top" secondItem="qOh-Be-bJ9" secondAttribute="bottom" constant="80" id="rVG-4D-zNp"/>
-                        </constraints>
-                    </view>
-                    <navigationItem key="navigationItem" id="UKp-kY-PgV"/>
-                </viewController>
-                <placeholder placeholderIdentifier="IBFirstResponder" id="cuQ-Rg-TRe" userLabel="First Responder" sceneMemberID="firstResponder"/>
-            </objects>
-            <point key="canvasLocation" x="130" y="789"/>
-        </scene>
-        <!--Lablanca View Controller-->
-        <scene sceneID="adq-KJ-u5Z">
-            <objects>
-                <viewController storyboardIdentifier="LablancaViewController" id="pwN-Wv-Ioh" customClass="LablancaViewController" customModule="Gasteizko_Margolariak" customModuleProvider="target" sceneMemberID="viewController">
-                    <layoutGuides>
-                        <viewControllerLayoutGuide type="top" id="QEC-CO-vAa"/>
-                        <viewControllerLayoutGuide type="bottom" id="4w6-Ph-vE3"/>
-                    </layoutGuides>
-                    <view key="view" contentMode="scaleToFill" id="IWZ-ke-U66">
-                        <rect key="frame" x="0.0" y="0.0" width="320" height="480"/>
-                        <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
-                        <subviews>
-                            <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" misplaced="YES" text="GoViewController" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="FLU-tD-9hd">
-                                <frame key="frameInset" minX="180" minY="100" width="240" height="93"/>
-                                <constraints>
-                                    <constraint firstAttribute="width" constant="240" id="2Im-Ws-XXN"/>
-                                    <constraint firstAttribute="height" constant="93" id="Khy-MB-kUI"/>
-                                </constraints>
-                                <fontDescription key="fontDescription" type="system" pointSize="22"/>
-                                <color key="textColor" red="0.61960784313725492" green="0.61960784313725492" blue="0.61960784313725492" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
-                                <nil key="highlightedColor"/>
-                            </label>
-                        </subviews>
-                        <color key="backgroundColor" red="0.89411764709999997" green="0.91764705879999997" blue="0.91372549020000005" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
-                        <constraints>
-                            <constraint firstAttribute="centerX" secondItem="FLU-tD-9hd" secondAttribute="centerX" id="OK6-xv-drL"/>
-                            <constraint firstItem="FLU-tD-9hd" firstAttribute="top" secondItem="QEC-CO-vAa" secondAttribute="bottom" constant="80" id="lWl-Qb-09v"/>
-                        </constraints>
-                    </view>
-                    <navigationItem key="navigationItem" id="Wve-YG-p0e"/>
-                </viewController>
-                <placeholder placeholderIdentifier="IBFirstResponder" id="R0Q-i3-kfU" userLabel="First Responder" sceneMemberID="firstResponder"/>
-            </objects>
-            <point key="canvasLocation" x="130" y="2189"/>
-        </scene>
-        <!--Schedule View Controller-->
-        <scene sceneID="d7w-0k-xlq">
-            <objects>
-                <viewController storyboardIdentifier="ScheduleViewController" id="dnB-Mf-802" customClass="ScheduleViewController" customModule="Gasteizko_Margolariak" customModuleProvider="target" sceneMemberID="viewController">
-                    <layoutGuides>
-                        <viewControllerLayoutGuide type="top" id="P9h-CD-Kay"/>
-                        <viewControllerLayoutGuide type="bottom" id="2A9-xu-LZI"/>
-                    </layoutGuides>
-                    <view key="view" contentMode="scaleToFill" id="oal-zY-YFo">
-                        <rect key="frame" x="0.0" y="0.0" width="320" height="480"/>
-                        <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
-                        <subviews>
-                            <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" misplaced="YES" text="NonMenuViewController" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="JkU-sV-rei">
-                                <frame key="frameInset" minX="180" minY="100" width="240" height="93"/>
-                                <constraints>
-                                    <constraint firstAttribute="height" constant="93" id="2gF-jm-4sT"/>
-                                    <constraint firstAttribute="width" constant="240" id="wCd-8x-XSL"/>
-                                </constraints>
-                                <fontDescription key="fontDescription" type="system" pointSize="22"/>
-                                <color key="textColor" red="0.61960784313725492" green="0.61960784313725492" blue="0.61960784313725492" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
-                                <nil key="highlightedColor"/>
-                            </label>
-                            <button opaque="NO" contentMode="scaleToFill" misplaced="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="16p-Vu-lJM">
-                                <frame key="frameInset" minX="215" minY="233" width="171" height="52"/>
-                                <constraints>
-                                    <constraint firstAttribute="width" constant="171" id="UWh-CV-hrv"/>
-                                    <constraint firstAttribute="height" constant="52" id="b02-Ff-xxQ"/>
-                                </constraints>
-                                <fontDescription key="fontDescription" type="system" pointSize="16"/>
-                                <state key="normal" title="To MainViewController">
-                                    <color key="titleColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
-                                    <color key="titleShadowColor" red="0.5" green="0.5" blue="0.5" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
-                                </state>
-                                <connections>
-                                    <action selector="didTouchToMain:" destination="dnB-Mf-802" eventType="touchUpInside" id="j5j-YU-q6R"/>
-                                </connections>
-                            </button>
-                        </subviews>
-                        <color key="backgroundColor" red="0.68235294117647061" green="0.83529411764705885" blue="0.50588235294117645" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
-                        <constraints>
-                            <constraint firstItem="JkU-sV-rei" firstAttribute="top" secondItem="P9h-CD-Kay" secondAttribute="bottom" constant="80" id="LyY-xm-DXa"/>
-                            <constraint firstAttribute="centerX" secondItem="16p-Vu-lJM" secondAttribute="centerX" id="Yma-zi-uRA"/>
-                            <constraint firstItem="16p-Vu-lJM" firstAttribute="top" secondItem="JkU-sV-rei" secondAttribute="bottom" constant="40" id="cnu-0z-deg"/>
-                            <constraint firstAttribute="centerX" secondItem="JkU-sV-rei" secondAttribute="centerX" id="yD5-kY-Rho"/>
-                        </constraints>
-                    </view>
-                </viewController>
-                <placeholder placeholderIdentifier="IBFirstResponder" id="BqV-Y1-lxd" userLabel="First Responder" sceneMemberID="firstResponder"/>
-            </objects>
-            <point key="canvasLocation" x="138" y="2864"/>
-        </scene>
-        <!--Gmschedule View Controller-->
-        <scene sceneID="Xif-Y4-3uZ">
-            <objects>
-                <viewController storyboardIdentifier="GmscheduleViewController" id="u1d-G3-tSj" customClass="GmscheduleViewController" customModule="Gasteizko_Margolariak" customModuleProvider="target" sceneMemberID="viewController">
-                    <layoutGuides>
-                        <viewControllerLayoutGuide type="top" id="VtB-hu-YDw"/>
-                        <viewControllerLayoutGuide type="bottom" id="DF1-M8-ebs"/>
-                    </layoutGuides>
-                    <view key="view" contentMode="scaleToFill" id="Swh-fz-ASn">
-                        <rect key="frame" x="0.0" y="0.0" width="320" height="480"/>
-                        <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
-                        <subviews>
-                            <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" misplaced="YES" text="NonMenuViewController" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="JSs-yU-m4w">
-                                <frame key="frameInset" minX="180" minY="100" width="240" height="93"/>
-                                <constraints>
-                                    <constraint firstAttribute="width" constant="240" id="cnE-js-3JZ"/>
-                                    <constraint firstAttribute="height" constant="93" id="fZT-s6-xkE"/>
-                                </constraints>
-                                <fontDescription key="fontDescription" type="system" pointSize="22"/>
-                                <color key="textColor" red="0.61960784310000006" green="0.61960784310000006" blue="0.61960784310000006" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
-                                <nil key="highlightedColor"/>
-                            </label>
-                            <button opaque="NO" contentMode="scaleToFill" misplaced="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="rMu-Xy-Lhh">
-                                <frame key="frameInset" minX="215" minY="233" width="171" height="52"/>
-                                <constraints>
-                                    <constraint firstAttribute="height" constant="52" id="3zl-MN-aJ1"/>
-                                    <constraint firstAttribute="width" constant="171" id="alc-Ra-OnB"/>
-                                </constraints>
-                                <fontDescription key="fontDescription" type="system" pointSize="16"/>
-                                <state key="normal" title="To MainViewController">
-                                    <color key="titleColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
-                                    <color key="titleShadowColor" red="0.5" green="0.5" blue="0.5" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
-                                </state>
-                                <connections>
-                                    <action selector="didTouchToMain:" destination="u1d-G3-tSj" eventType="touchUpInside" id="71f-Jy-Chc"/>
-                                </connections>
-                            </button>
-                        </subviews>
-                        <color key="backgroundColor" red="0.68235294120000001" green="0.83529411760000005" blue="0.50588235290000005" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
-                        <constraints>
-                            <constraint firstAttribute="centerX" secondItem="JSs-yU-m4w" secondAttribute="centerX" id="JeQ-0s-Jb8"/>
-                            <constraint firstAttribute="centerX" secondItem="rMu-Xy-Lhh" secondAttribute="centerX" id="Kam-Gq-ugj"/>
-                            <constraint firstItem="rMu-Xy-Lhh" firstAttribute="top" secondItem="JSs-yU-m4w" secondAttribute="bottom" constant="40" id="c8A-zt-MUm"/>
-                            <constraint firstItem="JSs-yU-m4w" firstAttribute="top" secondItem="VtB-hu-YDw" secondAttribute="bottom" constant="80" id="o8G-YM-Ebi"/>
-                        </constraints>
-                    </view>
-                </viewController>
-                <placeholder placeholderIdentifier="IBFirstResponder" id="ggi-fG-BLU" userLabel="First Responder" sceneMemberID="firstResponder"/>
-            </objects>
-            <point key="canvasLocation" x="138" y="2864"/>
-        </scene>
-        <!--Activities View Controller-->
-        <scene sceneID="ySS-kM-UxN">
-            <objects>
-                <viewController storyboardIdentifier="ActivitiesViewController" id="bGm-bT-ddk" customClass="ActivitiesViewController" customModule="Gasteizko_Margolariak" customModuleProvider="target" sceneMemberID="viewController">
-                    <layoutGuides>
-                        <viewControllerLayoutGuide type="top" id="aCW-p3-RjS"/>
-                        <viewControllerLayoutGuide type="bottom" id="cwa-jo-ROW"/>
-                    </layoutGuides>
-                    <view key="view" contentMode="scaleToFill" id="TaR-Ay-dBx">
-                        <rect key="frame" x="0.0" y="0.0" width="320" height="480"/>
-                        <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
-                        <subviews>
-                            <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" misplaced="YES" text="NonMenuViewController" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="hI7-Zf-VZG">
-                                <frame key="frameInset" minX="180" minY="100" width="240" height="93"/>
-                                <constraints>
-                                    <constraint firstAttribute="width" constant="240" id="9GB-rw-uwf"/>
-                                    <constraint firstAttribute="height" constant="93" id="AB6-iI-gl6"/>
-                                </constraints>
-                                <fontDescription key="fontDescription" type="system" pointSize="22"/>
-                                <color key="textColor" red="0.61960784310000006" green="0.61960784310000006" blue="0.61960784310000006" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
-                                <nil key="highlightedColor"/>
-                            </label>
-                            <button opaque="NO" contentMode="scaleToFill" misplaced="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="DyV-Yd-Nh2">
-                                <frame key="frameInset" minX="215" minY="233" width="171" height="52"/>
-                                <constraints>
-                                    <constraint firstAttribute="height" constant="52" id="RhU-lq-Myp"/>
-                                    <constraint firstAttribute="width" constant="171" id="kbD-ed-y32"/>
-                                </constraints>
-                                <fontDescription key="fontDescription" type="system" pointSize="16"/>
-                                <state key="normal" title="To MainViewController">
-                                    <color key="titleColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
-                                    <color key="titleShadowColor" red="0.5" green="0.5" blue="0.5" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
-                                </state>
-                                <connections>
-                                    <action selector="didTouchToMain:" destination="bGm-bT-ddk" eventType="touchUpInside" id="B6d-Mt-JXc"/>
-                                </connections>
-                            </button>
-                        </subviews>
-                        <color key="backgroundColor" red="0.68235294120000001" green="0.83529411760000005" blue="0.50588235290000005" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
-                        <constraints>
-                            <constraint firstItem="hI7-Zf-VZG" firstAttribute="top" secondItem="aCW-p3-RjS" secondAttribute="bottom" constant="80" id="6tP-9L-4MT"/>
-                            <constraint firstAttribute="centerX" secondItem="hI7-Zf-VZG" secondAttribute="centerX" id="BsD-rC-3Es"/>
-                            <constraint firstItem="DyV-Yd-Nh2" firstAttribute="top" secondItem="hI7-Zf-VZG" secondAttribute="bottom" constant="40" id="MQ9-le-zgK"/>
-                            <constraint firstAttribute="centerX" secondItem="DyV-Yd-Nh2" secondAttribute="centerX" id="huC-1q-jTU"/>
-                        </constraints>
-                    </view>
-                </viewController>
-                <placeholder placeholderIdentifier="IBFirstResponder" id="xK2-jB-B6R" userLabel="First Responder" sceneMemberID="firstResponder"/>
-            </objects>
-            <point key="canvasLocation" x="138" y="2864"/>
-        </scene>
-        <!--Blog View Controller-->
-        <scene sceneID="IIe-hG-X6c">
-            <objects>
-                <viewController storyboardIdentifier="BlogViewController" id="op4-Xb-3rZ" customClass="BlogViewController" customModule="Gasteizko_Margolariak" customModuleProvider="target" sceneMemberID="viewController">
-                    <layoutGuides>
-                        <viewControllerLayoutGuide type="top" id="cZe-Ve-mPK"/>
-                        <viewControllerLayoutGuide type="bottom" id="7O8-9B-55P"/>
-                    </layoutGuides>
-                    <view key="view" contentMode="scaleToFill" id="ifz-OL-PyY">
-                        <rect key="frame" x="0.0" y="0.0" width="320" height="480"/>
-                        <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
-                        <subviews>
-                            <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" misplaced="YES" text="NonMenuViewController" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="31m-GU-ron">
-                                <frame key="frameInset" minX="180" minY="100" width="240" height="93"/>
-                                <constraints>
-                                    <constraint firstAttribute="width" constant="240" id="5qD-TU-xut"/>
-                                    <constraint firstAttribute="height" constant="93" id="BZu-yR-Jcb"/>
-                                </constraints>
-                                <fontDescription key="fontDescription" type="system" pointSize="22"/>
-                                <color key="textColor" red="0.61960784310000006" green="0.61960784310000006" blue="0.61960784310000006" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
-                                <nil key="highlightedColor"/>
-                            </label>
-                            <button opaque="NO" contentMode="scaleToFill" misplaced="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="bOm-vs-MRs">
-                                <frame key="frameInset" minX="215" minY="233" width="171" height="52"/>
-                                <constraints>
-                                    <constraint firstAttribute="width" constant="171" id="Fb4-WO-oYG"/>
-                                    <constraint firstAttribute="height" constant="52" id="WIN-5m-oWh"/>
-                                </constraints>
-                                <fontDescription key="fontDescription" type="system" pointSize="16"/>
-                                <state key="normal" title="To MainViewController">
-                                    <color key="titleColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
-                                    <color key="titleShadowColor" red="0.5" green="0.5" blue="0.5" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
-                                </state>
-                                <connections>
-                                    <action selector="didTouchToMain:" destination="op4-Xb-3rZ" eventType="touchUpInside" id="zr3-Fa-LjF"/>
-                                </connections>
-                            </button>
-                        </subviews>
-                        <color key="backgroundColor" red="0.68235294120000001" green="0.83529411760000005" blue="0.50588235290000005" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
-                        <constraints>
-                            <constraint firstItem="bOm-vs-MRs" firstAttribute="top" secondItem="31m-GU-ron" secondAttribute="bottom" constant="40" id="4uL-6b-VqT"/>
-                            <constraint firstAttribute="centerX" secondItem="bOm-vs-MRs" secondAttribute="centerX" id="Clc-ty-WR9"/>
-                            <constraint firstItem="31m-GU-ron" firstAttribute="top" secondItem="cZe-Ve-mPK" secondAttribute="bottom" constant="80" id="WvG-PT-AS3"/>
-                            <constraint firstAttribute="centerX" secondItem="31m-GU-ron" secondAttribute="centerX" id="yZt-PC-208"/>
-                        </constraints>
-                    </view>
-                </viewController>
-                <placeholder placeholderIdentifier="IBFirstResponder" id="FkD-lX-1Cz" userLabel="First Responder" sceneMemberID="firstResponder"/>
-            </objects>
-            <point key="canvasLocation" x="138" y="2864"/>
-        </scene>
-        <!--Gallery View Controller-->
-        <scene sceneID="gqs-XF-Qei">
-            <objects>
-                <viewController storyboardIdentifier="GalleryViewController" id="NUL-Wy-06d" customClass="GalleryViewController" customModule="Gasteizko_Margolariak" customModuleProvider="target" sceneMemberID="viewController">
-                    <layoutGuides>
-                        <viewControllerLayoutGuide type="top" id="Q0O-iS-gpg"/>
-                        <viewControllerLayoutGuide type="bottom" id="50j-bB-VnM"/>
-                    </layoutGuides>
-                    <view key="view" contentMode="scaleToFill" id="FfK-Cj-D5k">
-                        <rect key="frame" x="0.0" y="0.0" width="320" height="480"/>
-                        <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
-                        <subviews>
-                            <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" misplaced="YES" text="NonMenuViewController" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ikF-ua-pez">
-                                <frame key="frameInset" minX="180" minY="100" width="240" height="93"/>
-                                <constraints>
-                                    <constraint firstAttribute="height" constant="93" id="8qu-IW-gs8"/>
-                                    <constraint firstAttribute="width" constant="240" id="nOa-NS-mw8"/>
-                                </constraints>
-                                <fontDescription key="fontDescription" type="system" pointSize="22"/>
-                                <color key="textColor" red="0.61960784310000006" green="0.61960784310000006" blue="0.61960784310000006" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
-                                <nil key="highlightedColor"/>
-                            </label>
-                            <button opaque="NO" contentMode="scaleToFill" misplaced="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="f9X-nf-gfH">
-                                <frame key="frameInset" minX="215" minY="233" width="171" height="52"/>
-                                <constraints>
-                                    <constraint firstAttribute="height" constant="52" id="683-TZ-QXZ"/>
-                                    <constraint firstAttribute="width" constant="171" id="AIc-AX-BiA"/>
-                                </constraints>
-                                <fontDescription key="fontDescription" type="system" pointSize="16"/>
-                                <state key="normal" title="To MainViewController">
-                                    <color key="titleColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
-                                    <color key="titleShadowColor" red="0.5" green="0.5" blue="0.5" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
-                                </state>
-                                <connections>
-                                    <action selector="didTouchToMain:" destination="NUL-Wy-06d" eventType="touchUpInside" id="YHL-jy-41B"/>
-                                </connections>
-                            </button>
-                        </subviews>
-                        <color key="backgroundColor" red="0.68235294120000001" green="0.83529411760000005" blue="0.50588235290000005" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
-                        <constraints>
-                            <constraint firstItem="ikF-ua-pez" firstAttribute="top" secondItem="Q0O-iS-gpg" secondAttribute="bottom" constant="80" id="8Dr-aY-jb2"/>
-                            <constraint firstAttribute="centerX" secondItem="f9X-nf-gfH" secondAttribute="centerX" id="VQJ-oy-E8M"/>
-                            <constraint firstAttribute="centerX" secondItem="ikF-ua-pez" secondAttribute="centerX" id="cN1-IT-8Z3"/>
-                            <constraint firstItem="f9X-nf-gfH" firstAttribute="top" secondItem="ikF-ua-pez" secondAttribute="bottom" constant="40" id="h5I-jf-EeI"/>
-                        </constraints>
-                    </view>
-                </viewController>
-                <placeholder placeholderIdentifier="IBFirstResponder" id="EyC-OL-zKc" userLabel="First Responder" sceneMemberID="firstResponder"/>
-            </objects>
-            <point key="canvasLocation" x="138" y="2864"/>
-        </scene>
-        <!--Settings View Controller-->
-        <scene sceneID="2bd-bW-eTv">
-            <objects>
-                <viewController storyboardIdentifier="SettingsViewController" id="jQJ-R1-Iz4" customClass="SettingsViewController" customModule="Gasteizko_Margolariak" customModuleProvider="target" sceneMemberID="viewController">
-                    <layoutGuides>
-                        <viewControllerLayoutGuide type="top" id="LJd-j5-Uf0"/>
-                        <viewControllerLayoutGuide type="bottom" id="ayy-5y-7gz"/>
-                    </layoutGuides>
-                    <view key="view" contentMode="scaleToFill" id="kBl-ic-d1h">
-                        <rect key="frame" x="0.0" y="0.0" width="320" height="480"/>
-                        <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
-                        <subviews>
-                            <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" misplaced="YES" text="NonMenuViewController" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="GIh-f2-kcF">
-                                <frame key="frameInset" minX="180" minY="100" width="240" height="93"/>
-                                <constraints>
-                                    <constraint firstAttribute="height" constant="93" id="8Qb-xv-huU"/>
-                                    <constraint firstAttribute="width" constant="240" id="Yox-Ri-fRh"/>
-                                </constraints>
-                                <fontDescription key="fontDescription" type="system" pointSize="22"/>
-                                <color key="textColor" red="0.61960784310000006" green="0.61960784310000006" blue="0.61960784310000006" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
-                                <nil key="highlightedColor"/>
-                            </label>
-                            <button opaque="NO" contentMode="scaleToFill" misplaced="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Nlk-ce-Oow">
-                                <frame key="frameInset" minX="215" minY="233" width="171" height="52"/>
-                                <constraints>
-                                    <constraint firstAttribute="height" constant="52" id="el0-o8-VQD"/>
-                                    <constraint firstAttribute="width" constant="171" id="x0M-UR-aSw"/>
-                                </constraints>
-                                <fontDescription key="fontDescription" type="system" pointSize="16"/>
-                                <state key="normal" title="To MainViewController">
-                                    <color key="titleColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
-                                    <color key="titleShadowColor" red="0.5" green="0.5" blue="0.5" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
-                                </state>
-                                <connections>
-                                    <action selector="didTouchToMain:" destination="jQJ-R1-Iz4" eventType="touchUpInside" id="TGd-Vi-EYu"/>
-                                </connections>
-                            </button>
-                        </subviews>
-                        <color key="backgroundColor" red="0.68235294120000001" green="0.83529411760000005" blue="0.50588235290000005" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
-                        <constraints>
-                            <constraint firstItem="Nlk-ce-Oow" firstAttribute="top" secondItem="GIh-f2-kcF" secondAttribute="bottom" constant="40" id="bWf-eZ-atT"/>
-                            <constraint firstAttribute="centerX" secondItem="Nlk-ce-Oow" secondAttribute="centerX" id="isL-iC-r85"/>
-                            <constraint firstItem="GIh-f2-kcF" firstAttribute="top" secondItem="LJd-j5-Uf0" secondAttribute="bottom" constant="80" id="oJR-jK-ixD"/>
-                            <constraint firstAttribute="centerX" secondItem="GIh-f2-kcF" secondAttribute="centerX" id="wQl-gH-ZAv"/>
-                        </constraints>
-                    </view>
-                </viewController>
-                <placeholder placeholderIdentifier="IBFirstResponder" id="5cR-4x-Hu9" userLabel="First Responder" sceneMemberID="firstResponder"/>
-            </objects>
-            <point key="canvasLocation" x="138" y="2864"/>
-        </scene>
-    </scenes>
-    <resources>
-        <image name="ic_launcher_24dp" width="22" height="24"/>
-    </resources>
-    <color key="tintColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
-</document>

+ 0 - 58
Gasteizko Margolariak/BaseTableViewCell.swift

@@ -1,58 +0,0 @@
-//
-//  BaseTableViewCell.swift
-//  Gasteizko Margolariak
-//
-//  Created by Inigo Valentin on 2016-08-23
-//  Copyright © 2016 Inigo Valentin. All rights reserved.
-//
-//  Based on the work of Yuji Hato.
-//
-
-import UIKit
-
-public class BaseTableViewCell : UITableViewCell {
-    class var identifier: String { return String.className(self) }
-    
-    public required init?(coder aDecoder: NSCoder) {
-        super.init(coder: aDecoder)
-        setup()
-    }
-    
-    override init(style: UITableViewCellStyle, reuseIdentifier: String?) {
-        super.init(style: style, reuseIdentifier: reuseIdentifier)
-        setup()
-    }
-    
-    public override func awakeFromNib() {
-    }
-    
-    public func setup() {
-    }
-    
-    public class func height() -> CGFloat {
-        return 48
-    }
-    
-    public func setData(data: Any?) {
-        self.backgroundColor = UIColor(hex: "4c9ed8")
-        //self.textLabel?.font = UIFont.italicSystemFontOfSize(18)
-		self.textLabel?.font = UIFont.boldSystemFontOfSize(19)
-        self.textLabel?.textColor = UIColor(hex: "ffffff")
-        if let menuText = data as? String {
-            self.textLabel?.text = menuText
-        }
-    }
-    
-    override public func setHighlighted(highlighted: Bool, animated: Bool) {
-        if highlighted {
-            self.alpha = 0.4
-        } else {
-            self.alpha = 1.0
-        }
-    }
-    
-    // ignore the default handling
-    override public func setSelected(selected: Bool, animated: Bool) {
-    }
-  
-}

+ 0 - 21
Gasteizko Margolariak/BlogViewController.swift

@@ -1,21 +0,0 @@
-//
-//  BlogViewController.swift
-//  Gasteizko Margolariak
-//
-//  Created by Inigo Valentin on 22/08/16.
-//  Copyright © 2016 Gasteizko Margolariak. All rights reserved.
-//
-
-import UIKit
-
-class BlogViewController: UIViewController {
-    
-    override func viewDidLoad() {
-        super.viewDidLoad()
-    }
-    
-    override func viewWillAppear(animated: Bool) {
-        super.viewWillAppear(animated)
-        self.setNavigationBarItem()
-    }
-}

+ 0 - 43
Gasteizko Margolariak/DataTableViewCell.swift

@@ -1,43 +0,0 @@
-//
-//  DataTableViewCell.swift
-//  Gasteizko Margolariak
-//
-//  Created by Inigo Valentin on 2016-08-23
-//  Copyright © 2016 Inigo Valentin. All rights reserved.
-//
-//  Based on the work of Yuji Hato.
-//
-
-import UIKit
-
-struct DataTableViewCellData {
-    
-    init(imageUrl: String, text: String) {
-        self.imageUrl = imageUrl
-        self.text = text
-    }
-    var imageUrl: String
-    var text: String
-}
-
-class DataTableViewCell : BaseTableViewCell {
-    
-    @IBOutlet weak var dataImage: UIImageView!
-    @IBOutlet weak var dataText: UILabel!
-    
-    override func awakeFromNib() {
-        self.dataText?.font = UIFont.italicSystemFontOfSize(16)
-        self.dataText?.textColor = UIColor(hex: "9E9E9E")
-    }
- 
-    override class func height() -> CGFloat {
-        return 80
-    }
-    
-    override func setData(data: Any?) {
-        if let data = data as? DataTableViewCellData {
-            self.dataImage.setRandomDownloadImage(80, height: 80)
-            self.dataText.text = data.text
-        }
-    }
-}

+ 0 - 50
Gasteizko Margolariak/DataTableViewCell.xib

@@ -1,50 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="10117" systemVersion="15A284" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES">
-    <dependencies>
-        <deployment identifier="iOS"/>
-        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="10085"/>
-    </dependencies>
-    <objects>
-        <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
-        <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
-        <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" id="c3H-ux-4zZ" customClass="DataTableViewCell" customModule="Gasteizko_Margolariak" customModuleProvider="target">
-            <rect key="frame" x="0.0" y="0.0" width="320" height="80"/>
-            <autoresizingMask key="autoresizingMask"/>
-            <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="c3H-ux-4zZ" id="eWK-b2-p7R">
-                <rect key="frame" x="0.0" y="0.0" width="320" height="79"/>
-                <autoresizingMask key="autoresizingMask"/>
-                <subviews>
-                    <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="ppM-43-tik">
-                        <rect key="frame" x="0.0" y="0.0" width="80" height="80"/>
-                        <constraints>
-                            <constraint firstAttribute="height" constant="80" id="osB-9J-1ls"/>
-                            <constraint firstAttribute="width" constant="80" id="wNA-oV-Ceo"/>
-                        </constraints>
-                    </imageView>
-                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="I30-9I-EnW">
-                        <rect key="frame" x="88" y="19" width="224" height="42"/>
-                        <constraints>
-                            <constraint firstAttribute="height" constant="42" id="tMX-bK-3QC"/>
-                        </constraints>
-                        <fontDescription key="fontDescription" type="system" pointSize="16"/>
-                        <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
-                        <nil key="highlightedColor"/>
-                    </label>
-                </subviews>
-                <constraints>
-                    <constraint firstItem="I30-9I-EnW" firstAttribute="leading" secondItem="ppM-43-tik" secondAttribute="trailing" constant="8" id="0sI-CM-qrq"/>
-                    <constraint firstItem="I30-9I-EnW" firstAttribute="centerY" secondItem="eWK-b2-p7R" secondAttribute="centerY" id="CC8-Ve-GEE"/>
-                    <constraint firstItem="ppM-43-tik" firstAttribute="top" secondItem="eWK-b2-p7R" secondAttribute="top" id="Ejt-ht-YfW"/>
-                    <constraint firstItem="ppM-43-tik" firstAttribute="leading" secondItem="eWK-b2-p7R" secondAttribute="leading" id="c9f-ya-sBc"/>
-                    <constraint firstAttribute="trailing" secondItem="I30-9I-EnW" secondAttribute="trailing" constant="8" id="rG9-lK-Ze8"/>
-                </constraints>
-            </tableViewCellContentView>
-            <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
-            <connections>
-                <outlet property="dataImage" destination="ppM-43-tik" id="xdO-QO-GUo"/>
-                <outlet property="dataText" destination="I30-9I-EnW" id="vsj-dK-z9n"/>
-            </connections>
-            <point key="canvasLocation" x="249" y="183"/>
-        </tableViewCell>
-    </objects>
-</document>

+ 0 - 238
Gasteizko Margolariak/Database.xcdatamodeld/Database.xcdatamodel/contents

@@ -1,238 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<model userDefinedModelVersionIdentifier="" type="com.apple.IDECoreDataModeler.DataModel" documentVersion="1.0" lastSavedToolsVersion="10174" systemVersion="15A284" minimumToolsVersion="Xcode 7.0">
-    <entity name="Activity" syncable="YES">
-        <attribute name="after_en" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="after_es" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="after_eu" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="album" optional="YES" attributeType="Integer 32" defaultValueString="0" syncable="YES"/>
-        <attribute name="city" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="comments" optional="YES" attributeType="Boolean" syncable="YES"/>
-        <attribute name="date" optional="YES" attributeType="Date" syncable="YES"/>
-        <attribute name="id" optional="YES" attributeType="Integer 32" defaultValueString="0" syncable="YES"/>
-        <attribute name="inscription" optional="YES" attributeType="Boolean" syncable="YES"/>
-        <attribute name="max_people" optional="YES" attributeType="Integer 32" defaultValueString="0" syncable="YES"/>
-        <attribute name="people" optional="YES" attributeType="Integer 32" defaultValueString="0" syncable="YES"/>
-        <attribute name="permalink" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="price" optional="YES" attributeType="Integer 32" defaultValueString="0" syncable="YES"/>
-        <attribute name="text_en" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="text_es" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="text_eu" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="title_en" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="title_es" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="title_eu" optional="YES" attributeType="String" syncable="YES"/>
-    </entity>
-    <entity name="Activity_comment" syncable="YES">
-        <attribute name="activity" optional="YES" attributeType="Integer 32" defaultValueString="0" syncable="YES"/>
-        <attribute name="dtime" optional="YES" attributeType="Date" syncable="YES"/>
-        <attribute name="id" optional="YES" attributeType="Integer 32" defaultValueString="0" syncable="YES"/>
-        <attribute name="lang" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="text" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="username" optional="YES" attributeType="String" syncable="YES"/>
-    </entity>
-    <entity name="Activity_image" syncable="YES">
-        <attribute name="activity" optional="YES" attributeType="Integer 32" defaultValueString="0" syncable="YES"/>
-        <attribute name="id" optional="YES" attributeType="Integer 32" defaultValueString="0" syncable="YES"/>
-        <attribute name="idx" optional="YES" attributeType="Integer 16" defaultValueString="0" syncable="YES"/>
-        <attribute name="image" optional="YES" attributeType="String" syncable="YES"/>
-    </entity>
-    <entity name="Activity_itinerary" syncable="YES">
-        <attribute name="activity" optional="YES" attributeType="Integer 32" defaultValueString="0" syncable="YES"/>
-        <attribute name="description_en" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="description_es" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="description_eu" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="end" optional="YES" attributeType="Date" syncable="YES"/>
-        <attribute name="id" optional="YES" attributeType="Integer 32" defaultValueString="0" syncable="YES"/>
-        <attribute name="name_en" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="name_es" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="name_eu" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="place" optional="YES" attributeType="Integer 32" defaultValueString="0" syncable="YES"/>
-        <attribute name="start" optional="YES" attributeType="Date" syncable="YES"/>
-    </entity>
-    <entity name="Activity_tag" syncable="YES">
-        <attribute name="activity" optional="YES" attributeType="Integer 32" defaultValueString="0" syncable="YES"/>
-        <attribute name="tag" optional="YES" attributeType="String" syncable="YES"/>
-    </entity>
-    <entity name="Album" syncable="YES">
-        <attribute name="description_en" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="description_es" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="description_eu" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="id" optional="YES" attributeType="Integer 32" defaultValueString="0" syncable="YES"/>
-        <attribute name="name_en" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="name_es" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="name_eu" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="open" optional="YES" attributeType="Boolean" syncable="YES"/>
-        <attribute name="permalink" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="time" optional="YES" attributeType="Date" syncable="YES"/>
-    </entity>
-    <entity name="Festival" syncable="YES">
-        <attribute name="id" optional="YES" attributeType="Integer 32" defaultValueString="0" syncable="YES"/>
-        <attribute name="img" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="text_en" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="text_es" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="text_eu" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="year" optional="YES" attributeType="Integer 16" defaultValueString="0" syncable="YES"/>
-    </entity>
-    <entity name="Festival_day" syncable="YES">
-        <attribute name="date" optional="YES" attributeType="Date" syncable="YES"/>
-        <attribute name="id" optional="YES" attributeType="Integer 32" defaultValueString="0" syncable="YES"/>
-        <attribute name="name_en" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="name_es" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="name_eu" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="price" optional="YES" attributeType="Decimal" defaultValueString="0" syncable="YES"/>
-    </entity>
-    <entity name="Festival_event" syncable="YES">
-        <attribute name="description_en" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="description_es" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="description_eu" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="end" optional="YES" attributeType="Date" syncable="YES"/>
-        <attribute name="gm" optional="YES" attributeType="Boolean" syncable="YES"/>
-        <attribute name="host" optional="YES" attributeType="Integer 32" defaultValueString="0" syncable="YES"/>
-        <attribute name="id" optional="YES" attributeType="Integer 32" defaultValueString="0" syncable="YES"/>
-        <attribute name="place" optional="YES" attributeType="Integer 32" defaultValueString="0" syncable="YES"/>
-        <attribute name="start" optional="YES" attributeType="Date" syncable="YES"/>
-        <attribute name="title_en" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="title_es" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="title_eu" optional="YES" attributeType="String" syncable="YES"/>
-    </entity>
-    <entity name="Festival_event_image" syncable="YES">
-        <attribute name="event" optional="YES" attributeType="Integer 32" defaultValueString="0" syncable="YES"/>
-        <attribute name="id" optional="YES" attributeType="Integer 32" defaultValueString="0" syncable="YES"/>
-        <attribute name="idx" optional="YES" attributeType="Integer 16" defaultValueString="0" syncable="YES"/>
-        <attribute name="image" optional="YES" attributeType="String" syncable="YES"/>
-    </entity>
-    <entity name="Festival_offer" syncable="YES">
-        <attribute name="days" optional="YES" attributeType="Integer 16" defaultValueString="0" syncable="YES"/>
-        <attribute name="description_en" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="description_es" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="description_eu" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="id" optional="YES" attributeType="Integer 32" defaultValueString="0" syncable="YES"/>
-        <attribute name="name_en" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="name_es" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="name_eu" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="price" optional="YES" attributeType="Integer 16" defaultValueString="0" syncable="YES"/>
-        <attribute name="year" optional="YES" attributeType="Integer 16" defaultValueString="0" syncable="YES"/>
-    </entity>
-    <entity name="Location" syncable="YES">
-        <attribute name="dtime" optional="YES" attributeType="Date" syncable="YES"/>
-        <attribute name="id" optional="YES" attributeType="Integer 32" defaultValueString="0" syncable="YES"/>
-        <attribute name="lat" optional="YES" attributeType="Double" defaultValueString="0.0" syncable="YES"/>
-        <attribute name="lon" optional="YES" attributeType="Double" defaultValueString="0.0" syncable="YES"/>
-        <attribute name="manual" optional="YES" attributeType="Double" defaultValueString="0.0" syncable="YES"/>
-    </entity>
-    <entity name="Notification" syncable="YES">
-        <attribute name="action" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="dtime" optional="YES" attributeType="Date" syncable="YES"/>
-        <attribute name="duration" optional="YES" attributeType="Integer 16" defaultValueString="0" syncable="YES"/>
-        <attribute name="id" optional="YES" attributeType="Integer 32" defaultValueString="0" syncable="YES"/>
-        <attribute name="internal" optional="YES" attributeType="Boolean" syncable="YES"/>
-        <attribute name="text_en" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="text_es" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="text_eu" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="title_en" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="title_es" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="title_eu" optional="YES" attributeType="String" syncable="YES"/>
-    </entity>
-    <entity name="People" syncable="YES">
-        <attribute name="id" optional="YES" attributeType="Integer 32" defaultValueString="0" syncable="YES"/>
-        <attribute name="link" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="name_en" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="name_es" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="name_eu" optional="YES" attributeType="String" syncable="YES"/>
-    </entity>
-    <entity name="Photo" syncable="YES">
-        <attribute name="description_en" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="description_es" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="description_eu" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="dtime" optional="YES" attributeType="Date" syncable="YES"/>
-        <attribute name="file" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="height" optional="YES" attributeType="Integer 64" defaultValueString="0" syncable="YES"/>
-        <attribute name="id" optional="YES" attributeType="Integer 32" defaultValueString="0" syncable="YES"/>
-        <attribute name="permalink" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="place" optional="YES" attributeType="Integer 32" defaultValueString="0" syncable="YES"/>
-        <attribute name="size" optional="YES" attributeType="Integer 64" defaultValueString="0" syncable="YES"/>
-        <attribute name="title_en" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="title_es" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="title_eu" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="uploaded" optional="YES" attributeType="Date" syncable="YES"/>
-        <attribute name="username" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="width" optional="YES" attributeType="Integer 64" defaultValueString="0" syncable="YES"/>
-    </entity>
-    <entity name="Photo_album" syncable="YES">
-        <attribute name="album" optional="YES" attributeType="Integer 32" defaultValueString="0" syncable="YES"/>
-        <attribute name="photo" optional="YES" attributeType="Integer 32" defaultValueString="0" syncable="YES"/>
-    </entity>
-    <entity name="Photo_comment" syncable="YES">
-        <attribute name="dtime" optional="YES" attributeType="Date" syncable="YES"/>
-        <attribute name="id" optional="YES" attributeType="Integer 32" defaultValueString="0" syncable="YES"/>
-        <attribute name="lang" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="photo" optional="YES" attributeType="Integer 32" defaultValueString="0" syncable="YES"/>
-        <attribute name="text" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="username" optional="YES" attributeType="String" syncable="YES"/>
-    </entity>
-    <entity name="Place" syncable="YES">
-        <attribute name="address_en" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="address_es" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="address_eu" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="cp" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="id" optional="YES" attributeType="Integer 32" defaultValueString="0" syncable="YES"/>
-        <attribute name="lat" optional="YES" attributeType="Double" defaultValueString="0.0" syncable="YES"/>
-        <attribute name="lon" optional="YES" attributeType="Double" defaultValueString="0.0" syncable="YES"/>
-        <attribute name="name_en" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="name_es" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="name_eu" optional="YES" attributeType="String" syncable="YES"/>
-    </entity>
-    <entity name="Post" syncable="YES">
-        <attribute name="comments" optional="YES" attributeType="Boolean" syncable="YES"/>
-        <attribute name="dtime" optional="YES" attributeType="Date" syncable="YES"/>
-        <attribute name="id" optional="YES" attributeType="Integer 32" defaultValueString="0" syncable="YES"/>
-        <attribute name="permalink" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="text_en" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="text_es" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="text_eu" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="title_en" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="title_es" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="title_eu" optional="YES" attributeType="String" syncable="YES"/>
-    </entity>
-    <entity name="Post_comment" syncable="YES">
-        <attribute name="dtime" optional="YES" attributeType="Date" syncable="YES"/>
-        <attribute name="id" optional="YES" attributeType="Integer 32" defaultValueString="0" syncable="YES"/>
-        <attribute name="lang" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="post" optional="YES" attributeType="Integer 32" defaultValueString="0" syncable="YES"/>
-        <attribute name="text" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="username" optional="YES" attributeType="String" syncable="YES"/>
-    </entity>
-    <entity name="Post_image" syncable="YES">
-        <attribute name="id" optional="YES" attributeType="Integer 32" defaultValueString="0" syncable="YES"/>
-        <attribute name="idx" optional="YES" attributeType="Integer 16" defaultValueString="0" syncable="YES"/>
-        <attribute name="image" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="post" optional="YES" attributeType="Integer 32" defaultValueString="0" syncable="YES"/>
-    </entity>
-    <entity name="Post_tag" syncable="YES">
-        <attribute name="post" optional="YES" attributeType="Integer 32" defaultValueString="0" syncable="YES"/>
-        <attribute name="tag" optional="YES" attributeType="String" syncable="YES"/>
-    </entity>
-    <elements>
-        <element name="Activity" positionX="-54" positionY="-9" width="128" height="330"/>
-        <element name="Activity_comment" positionX="-36" positionY="9" width="128" height="135"/>
-        <element name="Activity_image" positionX="-18" positionY="27" width="128" height="105"/>
-        <element name="Activity_itinerary" positionX="0" positionY="45" width="128" height="210"/>
-        <element name="Activity_tag" positionX="18" positionY="63" width="128" height="75"/>
-        <element name="Album" positionX="36" positionY="81" width="128" height="195"/>
-        <element name="Festival" positionX="-9" positionY="36" width="128" height="135"/>
-        <element name="Festival_day" positionX="0" positionY="45" width="128" height="135"/>
-        <element name="Festival_event" positionX="9" positionY="54" width="128" height="225"/>
-        <element name="Festival_event_image" positionX="18" positionY="63" width="128" height="105"/>
-        <element name="Festival_offer" positionX="27" positionY="72" width="128" height="195"/>
-        <element name="Photo" positionX="45" positionY="90" width="128" height="285"/>
-        <element name="Photo_album" positionX="0" positionY="45" width="128" height="75"/>
-        <element name="Photo_comment" positionX="9" positionY="54" width="128" height="135"/>
-        <element name="Place" positionX="18" positionY="63" width="128" height="195"/>
-        <element name="Post" positionX="27" positionY="72" width="128" height="195"/>
-        <element name="Post_image" positionX="36" positionY="81" width="128" height="105"/>
-        <element name="Post_tag" positionX="45" positionY="90" width="128" height="75"/>
-        <element name="Location" positionX="27" positionY="171" width="128" height="120"/>
-        <element name="Notification" positionX="36" positionY="180" width="128" height="210"/>
-        <element name="People" positionX="45" positionY="189" width="128" height="120"/>
-        <element name="Post_comment" positionX="54" positionY="198" width="128" height="135"/>
-    </elements>
-</model>

+ 0 - 32
Gasteizko Margolariak/ExSlideMenuController.swift

@@ -1,32 +0,0 @@
-//
-//  ExSlideMenuController.swift
-//  Gasteizko Margolariak
-//
-//  Created by Inigo Valentin on 2016-08-23
-//  Copyright © 2016 Inigo Valentin. All rights reserved.
-//
-//  Based on the work of Yuji Hato.
-//
-
-import UIKit
-
-class ExSlideMenuController : SlideMenuController {
-
-    override func isTagetViewController() -> Bool {
-        if let vc = UIApplication.topViewController() {
-            if vc is MainViewController ||
-            vc is HomeViewController ||
-            vc is LocationViewController ||
-            vc is LablancaViewController ||
-            vc is ScheduleViewController ||
-            vc is GmscheduleViewController ||
-            vc is ActivitiesViewController ||
-            vc is BlogViewController ||
-            vc is GalleryViewController ||
-            vc is SettingsViewController {
-                return true
-            }
-        }
-        return false
-    }
-}

+ 0 - 21
Gasteizko Margolariak/GalleryViewController.swift

@@ -1,21 +0,0 @@
-//
-//  GalleryViewController.swift
-//  Gasteizko Margolariak
-//
-//  Created by Inigo Valentin on 22/08/16.
-//  Copyright © 2016 Gasteizko Margolariak. All rights reserved.
-//
-
-import UIKit
-
-class GalleryViewController: UIViewController {
-    
-    override func viewDidLoad() {
-        super.viewDidLoad()
-    }
-    
-    override func viewWillAppear(animated: Bool) {
-        super.viewWillAppear(animated)
-        self.setNavigationBarItem()
-    }
-}

+ 0 - 22
Gasteizko Margolariak/GmscheduleViewController.swift

@@ -1,22 +0,0 @@
-//
-//  GmscheduleViewController.swift
-//  Gasteizko Margolariak
-//
-//  Created by Inigo Valentin on 22/08/16.
-//  Copyright © 2016 Gasteizko Margolariak. All rights reserved.
-//
-
-
-import UIKit
-
-class GmscheduleViewController: UIViewController {
-    
-    override func viewDidLoad() {
-        super.viewDidLoad()
-    }
-    
-    override func viewWillAppear(animated: Bool) {
-        super.viewWillAppear(animated)
-        self.setNavigationBarItem()
-    }
-}

+ 0 - 22
Gasteizko Margolariak/HomeViewController.swift

@@ -1,22 +0,0 @@
-//
-//  HomeViewController.swift
-//  Gasteizko Margolariak
-//
-//  Created by Inigo Valentin on 22/08/16.
-//  Copyright © 2016 Gasteizko Margolariak. All rights reserved.
-//
-
-
-import UIKit
-
-class HomeViewController: UIViewController {
-    
-    override func viewDidLoad() {
-        super.viewDidLoad()
-    }
-    
-    override func viewWillAppear(animated: Bool) {
-        super.viewWillAppear(animated)
-        self.setNavigationBarItem()
-    }
-}

+ 0 - 26
Gasteizko Margolariak/ImageHeaderView.swift

@@ -1,26 +0,0 @@
-//
-//  ImageHeaderCell.swift
-//  SlideMenuControllerSwift
-//
-//  Created by Yuji Hato on 11/3/15.
-//  Copyright © 2015 Yuji Hato. All rights reserved.
-//
-
-import UIKit
-
-class ImageHeaderView : UIView {
-    
-    @IBOutlet weak var profileImage : UIImageView!
-    @IBOutlet weak var backgroundImage : UIImageView!
-    
-    override func awakeFromNib() {
-        super.awakeFromNib()
-        self.backgroundColor = UIColor(hex: "E0E0E0")
-        self.profileImage.layer.cornerRadius = self.profileImage.frame.size.height / 2
-        self.profileImage.clipsToBounds = true
-        self.profileImage.layer.borderWidth = 1
-        self.profileImage.layer.borderColor = UIColor.whiteColor().CGColor
-        self.profileImage.setRandomDownloadImage(80, height: 80)
-        self.backgroundImage.setRandomDownloadImage(Int(self.frame.size.width), height: 160)
-    }
-}

+ 0 - 42
Gasteizko Margolariak/ImageHeaderView.xib

@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="10117" systemVersion="15A284" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES">
-    <dependencies>
-        <deployment identifier="iOS"/>
-        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="10085"/>
-    </dependencies>
-    <objects>
-        <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
-        <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
-        <view contentMode="scaleToFill" id="iN0-l3-epB" userLabel="Image Header View" customClass="ImageHeaderView" customModule="Gasteizko_Margolariak" customModuleProvider="target">
-            <rect key="frame" x="0.0" y="0.0" width="320" height="160"/>
-            <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
-            <subviews>
-                <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="crj-Qs-Xeq">
-                    <rect key="frame" x="0.0" y="0.0" width="320" height="160"/>
-                </imageView>
-                <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="KsU-S4-hhE">
-                    <rect key="frame" x="8" y="72" width="80" height="80"/>
-                    <constraints>
-                        <constraint firstAttribute="height" constant="80" id="THq-40-VhC"/>
-                        <constraint firstAttribute="width" constant="80" id="Vdp-yI-A0R"/>
-                    </constraints>
-                </imageView>
-            </subviews>
-            <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
-            <constraints>
-                <constraint firstAttribute="bottom" secondItem="crj-Qs-Xeq" secondAttribute="bottom" id="2GQ-0j-7zw"/>
-                <constraint firstAttribute="trailing" secondItem="crj-Qs-Xeq" secondAttribute="trailing" id="CEW-Ct-L8O"/>
-                <constraint firstItem="crj-Qs-Xeq" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" id="Guc-J3-ibn"/>
-                <constraint firstAttribute="bottom" secondItem="KsU-S4-hhE" secondAttribute="bottom" constant="8" id="Kff-vI-5XQ"/>
-                <constraint firstItem="crj-Qs-Xeq" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="S4z-uS-qaB"/>
-                <constraint firstItem="KsU-S4-hhE" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="8" id="cn0-Hd-iVZ"/>
-            </constraints>
-            <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
-            <connections>
-                <outlet property="backgroundImage" destination="crj-Qs-Xeq" id="s6z-e0-bbb"/>
-                <outlet property="profileImage" destination="KsU-S4-hhE" id="C8u-Fp-ZfO"/>
-            </connections>
-            <point key="canvasLocation" x="255" y="192"/>
-        </view>
-    </objects>
-</document>

+ 0 - 86
Gasteizko Margolariak/Images.xcassets/AppIcon.appiconset/Contents.json

@@ -1,86 +0,0 @@
-{
-  "images" : [
-    {
-      "size" : "29x29",
-      "idiom" : "iphone",
-      "filename" : "Icon-App-29x29@2x.png",
-      "scale" : "2x"
-    },
-    {
-      "size" : "29x29",
-      "idiom" : "iphone",
-      "filename" : "Icon-App-29x29@3x.png",
-      "scale" : "3x"
-    },
-    {
-      "size" : "40x40",
-      "idiom" : "iphone",
-      "filename" : "Icon-App-40x40@2x.png",
-      "scale" : "2x"
-    },
-    {
-      "size" : "40x40",
-      "idiom" : "iphone",
-      "filename" : "Icon-App-40x40@3x.png",
-      "scale" : "3x"
-    },
-    {
-      "size" : "60x60",
-      "idiom" : "iphone",
-      "filename" : "Icon-App-60x60@2x.png",
-      "scale" : "2x"
-    },
-    {
-      "size" : "60x60",
-      "idiom" : "iphone",
-      "filename" : "Icon-App-60x60@3x.png",
-      "scale" : "3x"
-    },
-    {
-      "size" : "29x29",
-      "idiom" : "ipad",
-      "filename" : "Icon-App-29x29@1x.png",
-      "scale" : "1x"
-    },
-    {
-      "size" : "29x29",
-      "idiom" : "ipad",
-      "filename" : "Icon-App-29x29@2x-1.png",
-      "scale" : "2x"
-    },
-    {
-      "size" : "40x40",
-      "idiom" : "ipad",
-      "filename" : "Icon-App-40x40@1x.png",
-      "scale" : "1x"
-    },
-    {
-      "size" : "40x40",
-      "idiom" : "ipad",
-      "filename" : "Icon-App-40x40@2x-1.png",
-      "scale" : "2x"
-    },
-    {
-      "size" : "76x76",
-      "idiom" : "ipad",
-      "filename" : "Icon-App-76x76@1x.png",
-      "scale" : "1x"
-    },
-    {
-      "size" : "76x76",
-      "idiom" : "ipad",
-      "filename" : "Icon-App-76x76@2x.png",
-      "scale" : "2x"
-    },
-    {
-      "size" : "83.5x83.5",
-      "idiom" : "ipad",
-      "filename" : "Icon-App-83.5x83.5@2x.png",
-      "scale" : "2x"
-    }
-  ],
-  "info" : {
-    "version" : 1,
-    "author" : "xcode"
-  }
-}

BIN
Gasteizko Margolariak/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png


BIN
Gasteizko Margolariak/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@2x-1.png


BIN
Gasteizko Margolariak/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png


BIN
Gasteizko Margolariak/Images.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png


BIN
Gasteizko Margolariak/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png


BIN
Gasteizko Margolariak/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@2x-1.png


BIN
Gasteizko Margolariak/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png


BIN
Gasteizko Margolariak/Images.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png


BIN
Gasteizko Margolariak/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png


BIN
Gasteizko Margolariak/Images.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png


BIN
Gasteizko Margolariak/Images.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png


BIN
Gasteizko Margolariak/Images.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png


BIN
Gasteizko Margolariak/Images.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png


+ 0 - 6
Gasteizko Margolariak/Images.xcassets/Contents.json

@@ -1,6 +0,0 @@
-{
-  "info" : {
-    "version" : 1,
-    "author" : "xcode"
-  }
-}

+ 0 - 23
Gasteizko Margolariak/Images.xcassets/ic_launcher_24dp.imageset/Contents.json

@@ -1,23 +0,0 @@
-{
-  "images" : [
-    {
-      "idiom" : "universal",
-      "filename" : "ic_launcher_24dp.png",
-      "scale" : "1x"
-    },
-    {
-      "idiom" : "universal",
-      "filename" : "ic_launcher_24dp@2x.png",
-      "scale" : "2x"
-    },
-    {
-      "idiom" : "universal",
-      "filename" : "ic_launcher_24dp@3x.png",
-      "scale" : "3x"
-    }
-  ],
-  "info" : {
-    "version" : 1,
-    "author" : "xcode"
-  }
-}

BIN
Gasteizko Margolariak/Images.xcassets/ic_launcher_24dp.imageset/ic_launcher_24dp.png


BIN
Gasteizko Margolariak/Images.xcassets/ic_launcher_24dp.imageset/ic_launcher_24dp@2x.png


BIN
Gasteizko Margolariak/Images.xcassets/ic_launcher_24dp.imageset/ic_launcher_24dp@3x.png


+ 0 - 23
Gasteizko Margolariak/Images.xcassets/ic_menu_black_24dp.imageset/Contents.json

@@ -1,23 +0,0 @@
-{
-  "images" : [
-    {
-      "idiom" : "universal",
-      "scale" : "1x",
-      "filename" : "ic_menu_black_24dp.png"
-    },
-    {
-      "idiom" : "universal",
-      "scale" : "2x",
-      "filename" : "ic_menu_black_24dp@2x.png"
-    },
-    {
-      "idiom" : "universal",
-      "scale" : "3x",
-      "filename" : "ic_menu_black_24dp@3x.png"
-    }
-  ],
-  "info" : {
-    "version" : 1,
-    "author" : "xcode"
-  }
-}

BIN
Gasteizko Margolariak/Images.xcassets/ic_menu_black_24dp.imageset/ic_menu_black_24dp.png


BIN
Gasteizko Margolariak/Images.xcassets/ic_menu_black_24dp.imageset/ic_menu_black_24dp@2x.png


BIN
Gasteizko Margolariak/Images.xcassets/ic_menu_black_24dp.imageset/ic_menu_black_24dp@3x.png


+ 0 - 23
Gasteizko Margolariak/Images.xcassets/ic_notifications_black_24dp.imageset/Contents.json

@@ -1,23 +0,0 @@
-{
-  "images" : [
-    {
-      "idiom" : "universal",
-      "scale" : "1x",
-      "filename" : "ic_notifications_black_24dp.png"
-    },
-    {
-      "idiom" : "universal",
-      "scale" : "2x",
-      "filename" : "ic_notifications_black_24dp@2x.png"
-    },
-    {
-      "idiom" : "universal",
-      "scale" : "3x",
-      "filename" : "ic_notifications_black_24dp@3x.png"
-    }
-  ],
-  "info" : {
-    "version" : 1,
-    "author" : "xcode"
-  }
-}

BIN
Gasteizko Margolariak/Images.xcassets/ic_notifications_black_24dp.imageset/ic_notifications_black_24dp.png


BIN
Gasteizko Margolariak/Images.xcassets/ic_notifications_black_24dp.imageset/ic_notifications_black_24dp@2x.png


BIN
Gasteizko Margolariak/Images.xcassets/ic_notifications_black_24dp.imageset/ic_notifications_black_24dp@3x.png


+ 0 - 22
Gasteizko Margolariak/LablancaViewController.swift

@@ -1,22 +0,0 @@
-//
-//  LablancaViewController.swift
-//  Gasteizko Margolariak
-//
-//  Created by Inigo Valentin on 22/08/16.
-//  Copyright © 2016 Gasteizko Margolariak. All rights reserved.
-//
-
-
-import UIKit
-
-class LablancaViewController: UIViewController {
-    
-    override func viewDidLoad() {
-        super.viewDidLoad()
-    }
-    
-    override func viewWillAppear(animated: Bool) {
-        super.viewWillAppear(animated)
-        self.setNavigationBarItem()
-    }
-}

+ 0 - 22
Gasteizko Margolariak/LocationViewController.swift

@@ -1,22 +0,0 @@
-//
-//  LocationViewController.swift
-//  Gasteizko Margolariak
-//
-//  Created by Inigo Valentin on 22/08/16.
-//  Copyright © 2016 Gasteizko Margolariak. All rights reserved.
-//
-
-
-import UIKit
-
-class LocationViewController: UIViewController {
-    
-    override func viewDidLoad() {
-        super.viewDidLoad()
-    }
-    
-    override func viewWillAppear(animated: Bool) {
-        super.viewWillAppear(animated)
-        self.setNavigationBarItem()
-    }
-}

+ 0 - 95
Gasteizko Margolariak/MainViewController.swift

@@ -1,95 +0,0 @@
-//
-//  ViewController.swift
-//  Gasteizko Margolariak
-//
-//  Created by Yuji Hato on 12/3/14.
-//
-
-import UIKit
-
-class MainViewController: UIViewController {
-
-    @IBOutlet weak var tableView: UITableView!
-    
-    var mainContens = ["data1", "data2", "data3", "data4", "data5", "data6", "data7", "data8", "data9", "data10", "data11", "data12", "data13", "data14", "data15"]
-    
-    override func viewDidLoad() {
-        super.viewDidLoad()
-        self.tableView.registerCellNib(DataTableViewCell.self)
-    }
-    
-    override func viewWillTransitionToSize(size: CGSize, withTransitionCoordinator coordinator: UIViewControllerTransitionCoordinator) {
-        super.viewWillTransitionToSize(size, withTransitionCoordinator: coordinator)
-    }
-    
-    override func viewWillAppear(animated: Bool) {
-        super.viewWillAppear(animated)
-        self.setNavigationBarItem()
-    }
-
-    override func didReceiveMemoryWarning() {
-        super.didReceiveMemoryWarning()
-    }
-
-}
-
-
-extension MainViewController : UITableViewDelegate {
-    func tableView(tableView: UITableView, heightForRowAtIndexPath indexPath: NSIndexPath) -> CGFloat {
-        return DataTableViewCell.height()
-    }
-}
-
-extension MainViewController : UITableViewDataSource {
-    func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
-        return self.mainContens.count
-    }
-     
-    func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {
-        let cell = self.tableView.dequeueReusableCellWithIdentifier(DataTableViewCell.identifier) as! DataTableViewCell
-        let data = DataTableViewCellData(imageUrl: "dummy", text: mainContens[indexPath.row])
-        cell.setData(data)
-        return cell
-    }
-    
-    func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath) {
-        let storyboard = UIStoryboard(name: "SubContentsViewController", bundle: nil)
-        let subContentsVC = storyboard.instantiateViewControllerWithIdentifier("SubContentsViewController") as! SubContentsViewController
-        self.navigationController?.pushViewController(subContentsVC, animated: true)
-    }
-}
-
-extension MainViewController : SlideMenuControllerDelegate {
-    
-    func leftWillOpen() {
-        print("SlideMenuControllerDelegate: leftWillOpen")
-    }
-    
-    func leftDidOpen() {
-        print("SlideMenuControllerDelegate: leftDidOpen")
-    }
-    
-    func leftWillClose() {
-        print("SlideMenuControllerDelegate: leftWillClose")
-    }
-    
-    func leftDidClose() {
-        print("SlideMenuControllerDelegate: leftDidClose")
-    }
-    
-    func rightWillOpen() {
-        print("SlideMenuControllerDelegate: rightWillOpen")
-    }
-    
-    func rightDidOpen() {
-        print("SlideMenuControllerDelegate: rightDidOpen")
-    }
-    
-    func rightWillClose() {
-        print("SlideMenuControllerDelegate: rightWillClose")
-    }
-    
-    func rightDidClose() {
-        print("SlideMenuControllerDelegate: rightDidClose")
-    }
-}

+ 0 - 10
Gasteizko Margolariak/Preferences.xcdatamodeld/Preferences.xcdatamodel/contents

@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<model userDefinedModelVersionIdentifier="" type="com.apple.IDECoreDataModeler.DataModel" documentVersion="1.0" lastSavedToolsVersion="10174" systemVersion="15A284" minimumToolsVersion="Xcode 7.0">
-    <entity name="Preference" syncable="YES">
-        <attribute name="name" optional="YES" attributeType="String" syncable="YES"/>
-        <attribute name="value" optional="YES" attributeType="String" syncable="YES"/>
-    </entity>
-    <elements>
-        <element name="Preference" positionX="-63" positionY="-18" width="128" height="75"/>
-    </elements>
-</model>

+ 0 - 22
Gasteizko Margolariak/ScheduleViewController.swift

@@ -1,22 +0,0 @@
-//
-//  ScheduleViewController.swift
-//  Gasteizko Margolariak
-//
-//  Created by Inigo Valentin on 22/08/16.
-//  Copyright © 2016 Gasteizko Margolariak. All rights reserved.
-//
-
-
-import UIKit
-
-class ScheduleViewController: UIViewController {
-    
-    override func viewDidLoad() {
-        super.viewDidLoad()
-    }
-    
-    override func viewWillAppear(animated: Bool) {
-        super.viewWillAppear(animated)
-        self.setNavigationBarItem()
-    }
-}

+ 0 - 21
Gasteizko Margolariak/SettingsViewController.swift

@@ -1,21 +0,0 @@
-//
-//  SettingsViewController.swift
-//  Gasteizko Margolariak
-//
-//  Created by Inigo Valentin on 22/08/16.
-//  Copyright © 2016 Gasteizko Margolariak. All rights reserved.
-//
-
-import UIKit
-
-class SettingsViewController: UIViewController {
-    
-    override func viewDidLoad() {
-        super.viewDidLoad()
-    }
-    
-    override func viewWillAppear(animated: Bool) {
-        super.viewWillAppear(animated)
-        self.setNavigationBarItem()
-    }
-}

+ 0 - 4
Gasteizko Margolariak/SlideMenuControllerSwift.xcdatamodeld/SlideMenuControllerSwift.xcdatamodel/contents

@@ -1,4 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<model name="Test1.xcdatamodel" userDefinedModelVersionIdentifier="" type="com.apple.IDECoreDataModeler.DataModel" documentVersion="1.0" lastSavedToolsVersion="1" systemVersion="11A491" minimumToolsVersion="Automatic" macOSVersion="Automatic" iOSVersion="Automatic">
-    <elements/>
-</model>

+ 0 - 23
Gasteizko Margolariak/String.swift

@@ -1,23 +0,0 @@
-//
-//  StringExtension.swift
-//  Gasteizko Margolariak
-//
-//  Created by Yuji Hato on 1/22/15.
-//  Copyright (c) 2015 Yuji Hato. All rights reserved.
-//
-
-import Foundation
-
-extension String {
-    static func className(aClass: AnyClass) -> String {
-        return NSStringFromClass(aClass).componentsSeparatedByString(".").last!
-    }
-    
-    func substring(from: Int) -> String {
-        return self.substringFromIndex(self.startIndex.advancedBy(from))
-    }
-    
-    var length: Int {
-        return self.characters.count
-    }
-}

+ 0 - 43
Gasteizko Margolariak/SubContentsViewController.storyboard

@@ -1,43 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="10117" systemVersion="15A284" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES">
-    <dependencies>
-        <deployment identifier="iOS"/>
-        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="10085"/>
-    </dependencies>
-    <scenes>
-        <!--Sub Contents View Controller-->
-        <scene sceneID="TTa-d3-aNE">
-            <objects>
-                <viewController storyboardIdentifier="SubContentsViewController" useStoryboardIdentifierAsRestorationIdentifier="YES" id="vxl-gz-eiI" customClass="SubContentsViewController" customModule="Gasteizko_Margolariak" customModuleProvider="target" sceneMemberID="viewController">
-                    <layoutGuides>
-                        <viewControllerLayoutGuide type="top" id="1Sf-aL-9sl"/>
-                        <viewControllerLayoutGuide type="bottom" id="H0R-6Q-ShB"/>
-                    </layoutGuides>
-                    <view key="view" contentMode="scaleToFill" id="VsC-r5-AAR">
-                        <rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
-                        <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
-                        <subviews>
-                            <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="SubContentsViewController" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="xqF-Kk-mvY">
-                                <rect key="frame" x="140" y="100" width="320" height="93"/>
-                                <constraints>
-                                    <constraint firstAttribute="height" constant="93" id="0ED-FM-x7N"/>
-                                    <constraint firstAttribute="width" constant="320" id="eKl-6z-MNt"/>
-                                </constraints>
-                                <fontDescription key="fontDescription" type="system" pointSize="22"/>
-                                <color key="textColor" red="0.61960784310000006" green="0.61960784310000006" blue="0.61960784310000006" alpha="1" colorSpace="calibratedRGB"/>
-                                <nil key="highlightedColor"/>
-                            </label>
-                        </subviews>
-                        <color key="backgroundColor" red="0.8784313725490196" green="0.94901960784313721" blue="0.94509803921568625" alpha="1" colorSpace="calibratedRGB"/>
-                        <constraints>
-                            <constraint firstItem="xqF-Kk-mvY" firstAttribute="top" secondItem="1Sf-aL-9sl" secondAttribute="bottom" constant="80" id="5JP-YF-zSK"/>
-                            <constraint firstItem="xqF-Kk-mvY" firstAttribute="centerX" secondItem="VsC-r5-AAR" secondAttribute="centerX" id="CZb-mL-3je"/>
-                        </constraints>
-                    </view>
-                </viewController>
-                <placeholder placeholderIdentifier="IBFirstResponder" id="RcS-82-FP2" userLabel="First Responder" sceneMemberID="firstResponder"/>
-            </objects>
-            <point key="canvasLocation" x="269" y="336"/>
-        </scene>
-    </scenes>
-</document>

+ 0 - 16
Gasteizko Margolariak/SubContentsViewController.swift

@@ -1,16 +0,0 @@
-//
-//  SubContentsViewController.swift
-//  Gasteizko Margolariak
-//
-//  Created by Yuji Hato on 11/8/15.
-//  Copyright © 2015 Yuji Hato. All rights reserved.
-//
-
-import UIKit
-
-class SubContentsViewController : UIViewController {
-    
-    override func viewDidLoad() {
-        super.viewDidLoad()
-    }
-}

+ 0 - 30
Gasteizko Margolariak/UIApplication.swift

@@ -1,30 +0,0 @@
-//
-//  UIApplication.swift
-//  Gasteizko Margolariak
-//
-//  Created by Yuji Hato on 11/11/15.
-//  Copyright © 2015 Yuji Hato. All rights reserved.
-//
-import UIKit
-
-extension UIApplication {
-    
-    class func topViewController(viewController: UIViewController? = UIApplication.sharedApplication().keyWindow?.rootViewController) -> UIViewController? {
-        if let nav = viewController as? UINavigationController {
-            return topViewController(nav.visibleViewController)
-        }
-        if let tab = viewController as? UITabBarController {
-            if let selected = tab.selectedViewController {
-                return topViewController(selected)
-            }
-        }
-        if let presented = viewController?.presentedViewController {
-            return topViewController(presented)
-        }
-        
-        if let slide = viewController as? SlideMenuController {
-            return topViewController(slide.mainViewController)
-        }
-        return viewController
-    }
-}

+ 0 - 50
Gasteizko Margolariak/UIColor.swift

@@ -1,50 +0,0 @@
-//
-//  UIColor.swift
-//  Gasteizko Margolariak
-//
-//  Created by Yuji Hato on 11/5/15.
-//  Copyright © 2015 Yuji Hato. All rights reserved.
-//
-
-import UIKit
-
-extension UIColor {
-
-    convenience init(hex: String) {
-        self.init(hex: hex, alpha:1)
-    }
-
-    convenience init(hex: String, alpha: CGFloat) {
-        var hexWithoutSymbol = hex
-        if hexWithoutSymbol.hasPrefix("#") {
-            hexWithoutSymbol = hex.substring(1)
-        }
-        
-        let scanner = NSScanner(string: hexWithoutSymbol)
-        var hexInt:UInt32 = 0x0
-        scanner.scanHexInt(&hexInt)
-        
-        var r:UInt32!, g:UInt32!, b:UInt32!
-        switch (hexWithoutSymbol.length) {
-        case 3: // #RGB
-            r = ((hexInt >> 4) & 0xf0 | (hexInt >> 8) & 0x0f)
-            g = ((hexInt >> 0) & 0xf0 | (hexInt >> 4) & 0x0f)
-            b = ((hexInt << 4) & 0xf0 | hexInt & 0x0f)
-            break;
-        case 6: // #RRGGBB
-            r = (hexInt >> 16) & 0xff
-            g = (hexInt >> 8) & 0xff
-            b = hexInt & 0xff
-            break;
-        default:
-            // TODO:ERROR
-            break;
-        }
-        
-        self.init(
-            red: (CGFloat(r)/255),
-            green: (CGFloat(g)/255),
-            blue: (CGFloat(b)/255),
-            alpha:alpha)
-    }
-}

+ 0 - 28
Gasteizko Margolariak/UIImage.swift

@@ -1,28 +0,0 @@
-//
-//  UIIMage.swift
-//  Gasteizko Margolariak
-//
-//  Created by Yuji Hato on 11/5/15.
-//  Copyright © 2015 Yuji Hato. All rights reserved.
-//
-
-import UIKit
-
-extension UIImage {
-    func trim(trimRect trimRect :CGRect) -> UIImage {
-        if CGRectContainsRect(CGRect(origin: CGPointZero, size: self.size), trimRect) {
-            if let imageRef = CGImageCreateWithImageInRect(self.CGImage!, trimRect) {
-                return UIImage(CGImage: imageRef)
-            }
-        }
-        
-        UIGraphicsBeginImageContextWithOptions(trimRect.size, true, self.scale)
-        self.drawInRect(CGRect(x: -trimRect.minX, y: -trimRect.minY, width: self.size.width, height: self.size.height))
-        let trimmedImage = UIGraphicsGetImageFromCurrentImageContext()
-        UIGraphicsEndImageContext()
-        
-        guard let image = trimmedImage else { return self }
-        
-        return image
-    }
-}

+ 0 - 69
Gasteizko Margolariak/UIImageView.swift

@@ -1,69 +0,0 @@
-//
-//  UIImageView.swift
-//  Gasteizko Margolariak
-//
-//  Created by Yuji Hato on 11/3/15.
-//  Copyright © 2015 Yuji Hato. All rights reserved.
-//
-
-import UIKit
-
-
-extension UIImageView {
-    
-    func setRandomDownloadImage(width: Int, height: Int) {
-        if self.image != nil {
-            self.alpha = 1
-            return
-        }
-        self.alpha = 0
-        let url = NSURL(string: "https://ssl.webpack.de/lorempixel.com/\(width)/\(height)/")!
-        let configuration = NSURLSessionConfiguration.defaultSessionConfiguration()
-        configuration.timeoutIntervalForRequest = 15
-        configuration.timeoutIntervalForResource = 15
-        configuration.requestCachePolicy = NSURLRequestCachePolicy.ReloadIgnoringLocalCacheData
-        let session = NSURLSession(configuration: configuration)
-        let task = session.dataTaskWithURL(url, completionHandler: { (data: NSData?, response: NSURLResponse?, error: NSError?) -> Void in
-            if error != nil {
-                return
-            }
-            
-            if let response = response as? NSHTTPURLResponse {
-                if response.statusCode / 100 != 2 {
-                    return
-                }
-                if let data = data, let image = UIImage(data: data) {
-                    dispatch_async(dispatch_get_main_queue(), { () -> Void in
-                        self.image = image
-                        UIView.animateWithDuration(0.3, animations: { () -> Void in
-                            self.alpha = 1
-                            }) { (finished: Bool) -> Void in
-                        }
-                    })
-                }
-            }
-        })
-        task.resume()
-    }
-    
-    func clipParallaxEffect(baseImage: UIImage?, screenSize: CGSize, displayHeight: CGFloat) {
-        if let baseImage = baseImage {
-            if displayHeight < 0 {
-                return
-            }
-            let aspect: CGFloat = screenSize.width / screenSize.height
-            let imageSize = baseImage.size
-            let imageScale: CGFloat = imageSize.height / screenSize.height
-            
-            let cropWidth: CGFloat = floor(aspect < 1.0 ? imageSize.width * aspect : imageSize.width)
-            let cropHeight: CGFloat = floor(displayHeight * imageScale)
-            
-            let left: CGFloat = (imageSize.width - cropWidth) / 2
-            let top: CGFloat = (imageSize.height - cropHeight) / 2
-            
-            let trimRect : CGRect = CGRectMake(left, top, cropWidth, cropHeight)
-            self.image = baseImage.trim(trimRect: trimRect)
-            self.frame = CGRectMake(0, 0, screenSize.width, displayHeight)
-        }
-    }
-}

+ 0 - 33
Gasteizko Margolariak/UITableViewExtension.swift

@@ -1,33 +0,0 @@
-//
-//  TableViewExtension.swift
-//  Gasteizko Margolariak
-//
-//  Created by Yuji Hato on 1/22/15.
-//  Copyright (c) 2015 Yuji Hato. All rights reserved.
-//
-import UIKit
-
-public extension UITableView {
-    
-    func registerCellClass(cellClass: AnyClass) {
-        let identifier = String.className(cellClass)
-        self.registerClass(cellClass, forCellReuseIdentifier: identifier)
-    }
-    
-    func registerCellNib(cellClass: AnyClass) {
-        let identifier = String.className(cellClass)
-        let nib = UINib(nibName: identifier, bundle: nil)
-        self.registerNib(nib, forCellReuseIdentifier: identifier)
-    }
-    
-    func registerHeaderFooterViewClass(viewClass: AnyClass) {
-        let identifier = String.className(viewClass)
-        self.registerClass(viewClass, forHeaderFooterViewReuseIdentifier: identifier)
-    }
-    
-    func registerHeaderFooterViewNib(viewClass: AnyClass) {
-        let identifier = String.className(viewClass)
-        let nib = UINib(nibName: identifier, bundle: nil)
-        self.registerNib(nib, forHeaderFooterViewReuseIdentifier: identifier)
-    }
-}

+ 0 - 20
Gasteizko Margolariak/UIView.swift

@@ -1,20 +0,0 @@
-//
-//  UIView.swift
-//  Gasetizko Margolariak
-//
-//  Created by Yuji Hato on 11/5/15.
-//  Copyright © 2015 Yuji Hato. All rights reserved.
-//
-
-import UIKit
-
-extension UIView {
-    class func loadNib<T: UIView>(viewType: T.Type) -> T {
-        let className = String.className(viewType)
-        return NSBundle(forClass: viewType).loadNibNamed(className, owner: nil, options: nil)!.first as! T
-    }
-    
-    class func loadNib() -> Self {
-        return loadNib(self)
-    }
-}

+ 0 - 48
Gasteizko Margolariak/UIViewController.swift

@@ -1,48 +0,0 @@
-//
-//  UIViewController.swift
-//  Gasteizko Margolariak
-//
-//  Created by Inigo Valentin on 2016-08-23
-//  Copyright © 2016 Inigo Valentin. All rights reserved.
-//
-//  Based on the work of Yuji Hato.
-//
-
-import UIKit
-
-extension UIViewController {
-    
-    func setNavigationBarItem() {
-		self.addLeftBarButtonWithImage(UIImage(named: "ic_menu_black_24dp")!)
-		
-		let myView: UIView = UIView(frame: CGRectMake(0, 0, 300, 30))
-		let title: UILabel = UILabel(frame: CGRectMake(0, 0, 300, 30))
-		title.text = "Gasteizko Margolariak"
-		title.textColor = UIColor.blackColor()
-		title.font = UIFont.boldSystemFontOfSize(20.0)
-		title.backgroundColor = UIColor.clearColor()
-		let image: UIImage = UIImage(named: "ic_launcher_24dp.png")!
-		let myImageView: UIImageView = UIImageView(image: image)
-		myImageView.frame = CGRectMake(230, 0, 30, 30)
-		myImageView.layer.cornerRadius = 5.0
-		myImageView.layer.masksToBounds = true
-		myImageView.layer.borderColor = UIColor.lightGrayColor().CGColor
-		myImageView.layer.borderWidth = 0.1
-		myView.addSubview(title)
-		myView.backgroundColor = UIColor.clearColor()
-		myView.addSubview(myImageView)
-		
-		self.navigationItem.titleView = myView
-		
-		
-		self.slideMenuController()?.removeLeftGestures()
-        self.slideMenuController()?.addLeftGestures()
-    }
-    
-    func removeNavigationBarItem() {
-        self.navigationItem.leftBarButtonItem = nil
-        self.navigationItem.rightBarButtonItem = nil
-        self.slideMenuController()?.removeLeftGestures()
-        //self.slideMenuController()?.removeRightGestures()
-    }
-}

+ 0 - 25
Gasteizko Margolariak/ViewController.swift

@@ -1,25 +0,0 @@
-//
-//  ViewController.swift
-//  Gasteizko Margolariak
-//
-//  Created by Inigo Valentin on 18/08/16.
-//  Copyright © 2016 Gasteizko Margolariak. All rights reserved.
-//
-
-import UIKit
-
-class ViewController: UIViewController {
-
-    override func viewDidLoad() {
-        super.viewDidLoad()
-        // Do any additional setup after loading the view, typically from a nib.
-    }
-
-    override func didReceiveMemoryWarning() {
-        super.didReceiveMemoryWarning()
-        // Dispose of any resources that can be recreated.
-    }
-
-
-}
-

BIN
Gasteizko Margolariak/res/ic_launcher_24dp.png


BIN
Gasteizko Margolariak/res/ic_launcher_24dp@2x.png


BIN
Gasteizko Margolariak/res/ic_launcher_24dp@3x.png


BIN
Gasteizko Margolariak/res/ic_menu_black_24dp.png


BIN
Gasteizko Margolariak/res/ic_menu_black_24dp@2x.png


BIN
Gasteizko Margolariak/res/ic_menu_black_24dp@3x.png


BIN
Gasteizko Margolariak/res/ic_notifications_black_24dp.png


BIN
Gasteizko Margolariak/res/ic_notifications_black_24dp@2x.png


BIN
Gasteizko Margolariak/res/ic_notifications_black_24dp@3x.png


+ 0 - 36
Gasteizko MargolariakTests/Gasteizko_MargolariakTests.swift

@@ -1,36 +0,0 @@
-//
-//  Gasteizko_MargolariakTests.swift
-//  Gasteizko MargolariakTests
-//
-//  Created by Inigo Valentin on 18/08/16.
-//  Copyright © 2016 Gasteizko Margolariak. All rights reserved.
-//
-
-import XCTest
-@testable import Gasteizko_Margolariak
-
-class Gasteizko_MargolariakTests: XCTestCase {
-    
-    override func setUp() {
-        super.setUp()
-        // Put setup code here. This method is called before the invocation of each test method in the class.
-    }
-    
-    override func tearDown() {
-        // Put teardown code here. This method is called after the invocation of each test method in the class.
-        super.tearDown()
-    }
-    
-    func testExample() {
-        // This is an example of a functional test case.
-        // Use XCTAssert and related functions to verify your tests produce the correct results.
-    }
-    
-    func testPerformanceExample() {
-        // This is an example of a performance test case.
-        self.measureBlock {
-            // Put the code you want to measure the time of here.
-        }
-    }
-    
-}

+ 0 - 24
Gasteizko MargolariakTests/Info.plist

@@ -1,24 +0,0 @@
-<?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>CFBundleExecutable</key>
-	<string>$(EXECUTABLE_NAME)</string>
-	<key>CFBundleIdentifier</key>
-	<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
-	<key>CFBundleInfoDictionaryVersion</key>
-	<string>6.0</string>
-	<key>CFBundleName</key>
-	<string>$(PRODUCT_NAME)</string>
-	<key>CFBundlePackageType</key>
-	<string>BNDL</string>
-	<key>CFBundleShortVersionString</key>
-	<string>1.0</string>
-	<key>CFBundleSignature</key>
-	<string>????</string>
-	<key>CFBundleVersion</key>
-	<string>1</string>
-</dict>
-</plist>

+ 0 - 36
Gasteizko MargolariakUITests/Gasteizko_MargolariakUITests.swift

@@ -1,36 +0,0 @@
-//
-//  Gasteizko_MargolariakUITests.swift
-//  Gasteizko MargolariakUITests
-//
-//  Created by Inigo Valentin on 18/08/16.
-//  Copyright © 2016 Gasteizko Margolariak. All rights reserved.
-//
-
-import XCTest
-
-class Gasteizko_MargolariakUITests: XCTestCase {
-        
-    override func setUp() {
-        super.setUp()
-        
-        // Put setup code here. This method is called before the invocation of each test method in the class.
-        
-        // In UI tests it is usually best to stop immediately when a failure occurs.
-        continueAfterFailure = false
-        // UI tests must launch the application that they test. Doing this in setup will make sure it happens for each test method.
-        XCUIApplication().launch()
-
-        // In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this.
-    }
-    
-    override func tearDown() {
-        // Put teardown code here. This method is called after the invocation of each test method in the class.
-        super.tearDown()
-    }
-    
-    func testExample() {
-        // Use recording to get started writing UI tests.
-        // Use XCTAssert and related functions to verify your tests produce the correct results.
-    }
-    
-}

+ 0 - 24
Gasteizko MargolariakUITests/Info.plist

@@ -1,24 +0,0 @@
-<?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>CFBundleExecutable</key>
-	<string>$(EXECUTABLE_NAME)</string>
-	<key>CFBundleIdentifier</key>
-	<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
-	<key>CFBundleInfoDictionaryVersion</key>
-	<string>6.0</string>
-	<key>CFBundleName</key>
-	<string>$(PRODUCT_NAME)</string>
-	<key>CFBundlePackageType</key>
-	<string>BNDL</string>
-	<key>CFBundleShortVersionString</key>
-	<string>1.0</string>
-	<key>CFBundleSignature</key>
-	<string>????</string>
-	<key>CFBundleVersion</key>
-	<string>1</string>
-</dict>
-</plist>

+ 13 - 0
MenuCollectionViewCell.swift

@@ -0,0 +1,13 @@
+//
+//  MenuCollectionViewCell.swift
+//  app
+//
+//  Created by Inigo Valentin on 30/09/16.
+//  Copyright © 2016 Margolariak. All rights reserved.
+//
+
+import UIKit
+class MenuCollectionViewCell: UICollectionViewCell {
+    
+    @IBOutlet weak var myLabel: UILabel!
+}

+ 333 - 0
app.xcodeproj/project.pbxproj

@@ -0,0 +1,333 @@
+// !$*UTF8*$!
+{
+	archiveVersion = 1;
+	classes = {
+	};
+	objectVersion = 46;
+	objects = {
+
+/* Begin PBXBuildFile section */
+		93B408031D9ED44C000FBC99 /* MenuCollectionViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 93B408021D9ED44C000FBC99 /* MenuCollectionViewCell.swift */; };
+		93B84B9A1D9C31AB006C0F67 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 93B84B991D9C31AB006C0F67 /* AppDelegate.swift */; };
+		93B84B9C1D9C31AB006C0F67 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 93B84B9B1D9C31AB006C0F67 /* ViewController.swift */; };
+		93B84B9F1D9C31AB006C0F67 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 93B84B9D1D9C31AB006C0F67 /* Main.storyboard */; };
+		93B84BA21D9C31AB006C0F67 /* app.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = 93B84BA01D9C31AB006C0F67 /* app.xcdatamodeld */; };
+		93B84BA41D9C31AB006C0F67 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 93B84BA31D9C31AB006C0F67 /* Assets.xcassets */; };
+		93B84BA71D9C31AB006C0F67 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 93B84BA51D9C31AB006C0F67 /* LaunchScreen.storyboard */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXFileReference section */
+		93B408021D9ED44C000FBC99 /* MenuCollectionViewCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = MenuCollectionViewCell.swift; path = ../MenuCollectionViewCell.swift; sourceTree = "<group>"; };
+		93B84B961D9C31AB006C0F67 /* app.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = app.app; sourceTree = BUILT_PRODUCTS_DIR; };
+		93B84B991D9C31AB006C0F67 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
+		93B84B9B1D9C31AB006C0F67 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
+		93B84B9E1D9C31AB006C0F67 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
+		93B84BA11D9C31AB006C0F67 /* app.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = app.xcdatamodel; sourceTree = "<group>"; };
+		93B84BA31D9C31AB006C0F67 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
+		93B84BA61D9C31AB006C0F67 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
+		93B84BA81D9C31AB006C0F67 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+		93B84B931D9C31AB006C0F67 /* Frameworks */ = {
+			isa = PBXFrameworksBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+		93B84B8D1D9C31AB006C0F67 = {
+			isa = PBXGroup;
+			children = (
+				93B84B981D9C31AB006C0F67 /* app */,
+				93B84B971D9C31AB006C0F67 /* Products */,
+			);
+			sourceTree = "<group>";
+		};
+		93B84B971D9C31AB006C0F67 /* Products */ = {
+			isa = PBXGroup;
+			children = (
+				93B84B961D9C31AB006C0F67 /* app.app */,
+			);
+			name = Products;
+			sourceTree = "<group>";
+		};
+		93B84B981D9C31AB006C0F67 /* app */ = {
+			isa = PBXGroup;
+			children = (
+				93B408021D9ED44C000FBC99 /* MenuCollectionViewCell.swift */,
+				93B84B991D9C31AB006C0F67 /* AppDelegate.swift */,
+				93B84B9B1D9C31AB006C0F67 /* ViewController.swift */,
+				93B84B9D1D9C31AB006C0F67 /* Main.storyboard */,
+				93B84BA31D9C31AB006C0F67 /* Assets.xcassets */,
+				93B84BA51D9C31AB006C0F67 /* LaunchScreen.storyboard */,
+				93B84BA81D9C31AB006C0F67 /* Info.plist */,
+				93B84BA01D9C31AB006C0F67 /* app.xcdatamodeld */,
+			);
+			path = app;
+			sourceTree = "<group>";
+		};
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+		93B84B951D9C31AB006C0F67 /* app */ = {
+			isa = PBXNativeTarget;
+			buildConfigurationList = 93B84BAB1D9C31AB006C0F67 /* Build configuration list for PBXNativeTarget "app" */;
+			buildPhases = (
+				93B84B921D9C31AB006C0F67 /* Sources */,
+				93B84B931D9C31AB006C0F67 /* Frameworks */,
+				93B84B941D9C31AB006C0F67 /* Resources */,
+			);
+			buildRules = (
+			);
+			dependencies = (
+			);
+			name = app;
+			productName = app;
+			productReference = 93B84B961D9C31AB006C0F67 /* app.app */;
+			productType = "com.apple.product-type.application";
+		};
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+		93B84B8E1D9C31AB006C0F67 /* Project object */ = {
+			isa = PBXProject;
+			attributes = {
+				LastSwiftUpdateCheck = 0800;
+				LastUpgradeCheck = 0800;
+				ORGANIZATIONNAME = Margolariak;
+				TargetAttributes = {
+					93B84B951D9C31AB006C0F67 = {
+						CreatedOnToolsVersion = 8.0;
+						DevelopmentTeam = Z2WQ2CQN52;
+						ProvisioningStyle = Automatic;
+					};
+				};
+			};
+			buildConfigurationList = 93B84B911D9C31AB006C0F67 /* Build configuration list for PBXProject "app" */;
+			compatibilityVersion = "Xcode 3.2";
+			developmentRegion = English;
+			hasScannedForEncodings = 0;
+			knownRegions = (
+				en,
+				Base,
+			);
+			mainGroup = 93B84B8D1D9C31AB006C0F67;
+			productRefGroup = 93B84B971D9C31AB006C0F67 /* Products */;
+			projectDirPath = "";
+			projectRoot = "";
+			targets = (
+				93B84B951D9C31AB006C0F67 /* app */,
+			);
+		};
+/* End PBXProject section */
+
+/* Begin PBXResourcesBuildPhase section */
+		93B84B941D9C31AB006C0F67 /* Resources */ = {
+			isa = PBXResourcesBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				93B84BA71D9C31AB006C0F67 /* LaunchScreen.storyboard in Resources */,
+				93B84BA41D9C31AB006C0F67 /* Assets.xcassets in Resources */,
+				93B84B9F1D9C31AB006C0F67 /* Main.storyboard in Resources */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+/* End PBXResourcesBuildPhase section */
+
+/* Begin PBXSourcesBuildPhase section */
+		93B84B921D9C31AB006C0F67 /* Sources */ = {
+			isa = PBXSourcesBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				93B84B9C1D9C31AB006C0F67 /* ViewController.swift in Sources */,
+				93B84B9A1D9C31AB006C0F67 /* AppDelegate.swift in Sources */,
+				93B84BA21D9C31AB006C0F67 /* app.xcdatamodeld in Sources */,
+				93B408031D9ED44C000FBC99 /* MenuCollectionViewCell.swift in Sources */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+/* End PBXSourcesBuildPhase section */
+
+/* Begin PBXVariantGroup section */
+		93B84B9D1D9C31AB006C0F67 /* Main.storyboard */ = {
+			isa = PBXVariantGroup;
+			children = (
+				93B84B9E1D9C31AB006C0F67 /* Base */,
+			);
+			name = Main.storyboard;
+			sourceTree = "<group>";
+		};
+		93B84BA51D9C31AB006C0F67 /* LaunchScreen.storyboard */ = {
+			isa = PBXVariantGroup;
+			children = (
+				93B84BA61D9C31AB006C0F67 /* Base */,
+			);
+			name = LaunchScreen.storyboard;
+			sourceTree = "<group>";
+		};
+/* End PBXVariantGroup section */
+
+/* Begin XCBuildConfiguration section */
+		93B84BA91D9C31AB006C0F67 /* Debug */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				ALWAYS_SEARCH_USER_PATHS = NO;
+				CLANG_ANALYZER_NONNULL = YES;
+				CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+				CLANG_CXX_LIBRARY = "libc++";
+				CLANG_ENABLE_MODULES = YES;
+				CLANG_ENABLE_OBJC_ARC = YES;
+				CLANG_WARN_BOOL_CONVERSION = YES;
+				CLANG_WARN_CONSTANT_CONVERSION = YES;
+				CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+				CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
+				CLANG_WARN_EMPTY_BODY = YES;
+				CLANG_WARN_ENUM_CONVERSION = YES;
+				CLANG_WARN_INFINITE_RECURSION = YES;
+				CLANG_WARN_INT_CONVERSION = YES;
+				CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+				CLANG_WARN_SUSPICIOUS_MOVES = YES;
+				CLANG_WARN_UNREACHABLE_CODE = YES;
+				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+				COPY_PHASE_STRIP = NO;
+				DEBUG_INFORMATION_FORMAT = dwarf;
+				ENABLE_STRICT_OBJC_MSGSEND = YES;
+				ENABLE_TESTABILITY = YES;
+				GCC_C_LANGUAGE_STANDARD = gnu99;
+				GCC_DYNAMIC_NO_PIC = NO;
+				GCC_NO_COMMON_BLOCKS = YES;
+				GCC_OPTIMIZATION_LEVEL = 0;
+				GCC_PREPROCESSOR_DEFINITIONS = (
+					"DEBUG=1",
+					"$(inherited)",
+				);
+				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+				GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+				GCC_WARN_UNDECLARED_SELECTOR = YES;
+				GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+				GCC_WARN_UNUSED_FUNCTION = YES;
+				GCC_WARN_UNUSED_VARIABLE = YES;
+				IPHONEOS_DEPLOYMENT_TARGET = 10.0;
+				MTL_ENABLE_DEBUG_INFO = YES;
+				ONLY_ACTIVE_ARCH = YES;
+				SDKROOT = iphoneos;
+				SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
+				SWIFT_OPTIMIZATION_LEVEL = "-Onone";
+				TARGETED_DEVICE_FAMILY = "1,2";
+			};
+			name = Debug;
+		};
+		93B84BAA1D9C31AB006C0F67 /* Release */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				ALWAYS_SEARCH_USER_PATHS = NO;
+				CLANG_ANALYZER_NONNULL = YES;
+				CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+				CLANG_CXX_LIBRARY = "libc++";
+				CLANG_ENABLE_MODULES = YES;
+				CLANG_ENABLE_OBJC_ARC = YES;
+				CLANG_WARN_BOOL_CONVERSION = YES;
+				CLANG_WARN_CONSTANT_CONVERSION = YES;
+				CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+				CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
+				CLANG_WARN_EMPTY_BODY = YES;
+				CLANG_WARN_ENUM_CONVERSION = YES;
+				CLANG_WARN_INFINITE_RECURSION = YES;
+				CLANG_WARN_INT_CONVERSION = YES;
+				CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+				CLANG_WARN_SUSPICIOUS_MOVES = YES;
+				CLANG_WARN_UNREACHABLE_CODE = YES;
+				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+				COPY_PHASE_STRIP = NO;
+				DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+				ENABLE_NS_ASSERTIONS = NO;
+				ENABLE_STRICT_OBJC_MSGSEND = YES;
+				GCC_C_LANGUAGE_STANDARD = gnu99;
+				GCC_NO_COMMON_BLOCKS = YES;
+				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+				GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+				GCC_WARN_UNDECLARED_SELECTOR = YES;
+				GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+				GCC_WARN_UNUSED_FUNCTION = YES;
+				GCC_WARN_UNUSED_VARIABLE = YES;
+				IPHONEOS_DEPLOYMENT_TARGET = 10.0;
+				MTL_ENABLE_DEBUG_INFO = NO;
+				SDKROOT = iphoneos;
+				SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
+				TARGETED_DEVICE_FAMILY = "1,2";
+				VALIDATE_PRODUCT = YES;
+			};
+			name = Release;
+		};
+		93B84BAC1D9C31AB006C0F67 /* Debug */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+				DEVELOPMENT_TEAM = Z2WQ2CQN52;
+				INFOPLIST_FILE = app/Info.plist;
+				IPHONEOS_DEPLOYMENT_TARGET = 9.3;
+				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
+				PRODUCT_BUNDLE_IDENTIFIER = com.margolariak.app;
+				PRODUCT_NAME = "$(TARGET_NAME)";
+				SWIFT_VERSION = 3.0;
+			};
+			name = Debug;
+		};
+		93B84BAD1D9C31AB006C0F67 /* Release */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+				DEVELOPMENT_TEAM = Z2WQ2CQN52;
+				INFOPLIST_FILE = app/Info.plist;
+				IPHONEOS_DEPLOYMENT_TARGET = 9.3;
+				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
+				PRODUCT_BUNDLE_IDENTIFIER = com.margolariak.app;
+				PRODUCT_NAME = "$(TARGET_NAME)";
+				SWIFT_VERSION = 3.0;
+			};
+			name = Release;
+		};
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+		93B84B911D9C31AB006C0F67 /* Build configuration list for PBXProject "app" */ = {
+			isa = XCConfigurationList;
+			buildConfigurations = (
+				93B84BA91D9C31AB006C0F67 /* Debug */,
+				93B84BAA1D9C31AB006C0F67 /* Release */,
+			);
+			defaultConfigurationIsVisible = 0;
+			defaultConfigurationName = Release;
+		};
+		93B84BAB1D9C31AB006C0F67 /* Build configuration list for PBXNativeTarget "app" */ = {
+			isa = XCConfigurationList;
+			buildConfigurations = (
+				93B84BAC1D9C31AB006C0F67 /* Debug */,
+				93B84BAD1D9C31AB006C0F67 /* Release */,
+			);
+			defaultConfigurationIsVisible = 0;
+			defaultConfigurationName = Release;
+		};
+/* End XCConfigurationList section */
+
+/* Begin XCVersionGroup section */
+		93B84BA01D9C31AB006C0F67 /* app.xcdatamodeld */ = {
+			isa = XCVersionGroup;
+			children = (
+				93B84BA11D9C31AB006C0F67 /* app.xcdatamodel */,
+			);
+			currentVersion = 93B84BA11D9C31AB006C0F67 /* app.xcdatamodel */;
+			path = app.xcdatamodeld;
+			sourceTree = "<group>";
+			versionGroupType = wrapper.xcdatamodel;
+		};
+/* End XCVersionGroup section */
+	};
+	rootObject = 93B84B8E1D9C31AB006C0F67 /* Project object */;
+}

+ 1 - 1
Gasteizko Margolariak.xcodeproj/project.xcworkspace/contents.xcworkspacedata → app.xcodeproj/project.xcworkspace/contents.xcworkspacedata

@@ -2,6 +2,6 @@
 <Workspace
    version = "1.0">
    <FileRef
-      location = "self:Gasteizko Margolariak.xcodeproj">
+      location = "self:app.xcodeproj">
    </FileRef>
 </Workspace>

BIN
app.xcodeproj/project.xcworkspace/xcuserdata/seavenois.xcuserdatad/UserInterfaceState.xcuserstate


+ 17 - 37
Gasteizko Margolariak.xcodeproj/xcuserdata/seavenois.xcuserdatad/xcschemes/Gasteizko Margolariak.xcscheme → app.xcodeproj/xcuserdata/seavenois.xcuserdatad/xcschemes/app.xcscheme

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <Scheme
-   LastUpgradeVersion = "0730"
+   LastUpgradeVersion = "0800"
    version = "1.3">
    <BuildAction
       parallelizeBuildables = "YES"
@@ -14,10 +14,10 @@
             buildForAnalyzing = "YES">
             <BuildableReference
                BuildableIdentifier = "primary"
-               BlueprintIdentifier = "9328AF651D6616C700E6B0E2"
-               BuildableName = "Gasteizko Margolariak.app"
-               BlueprintName = "Gasteizko Margolariak"
-               ReferencedContainer = "container:Gasteizko Margolariak.xcodeproj">
+               BlueprintIdentifier = "93B84B951D9C31AB006C0F67"
+               BuildableName = "app.app"
+               BlueprintName = "app"
+               ReferencedContainer = "container:app.xcodeproj">
             </BuildableReference>
          </BuildActionEntry>
       </BuildActionEntries>
@@ -28,34 +28,14 @@
       selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
       shouldUseLaunchSchemeArgsEnv = "YES">
       <Testables>
-         <TestableReference
-            skipped = "NO">
-            <BuildableReference
-               BuildableIdentifier = "primary"
-               BlueprintIdentifier = "9328AF791D6616C700E6B0E2"
-               BuildableName = "Gasteizko MargolariakTests.xctest"
-               BlueprintName = "Gasteizko MargolariakTests"
-               ReferencedContainer = "container:Gasteizko Margolariak.xcodeproj">
-            </BuildableReference>
-         </TestableReference>
-         <TestableReference
-            skipped = "NO">
-            <BuildableReference
-               BuildableIdentifier = "primary"
-               BlueprintIdentifier = "9328AF841D6616C700E6B0E2"
-               BuildableName = "Gasteizko MargolariakUITests.xctest"
-               BlueprintName = "Gasteizko MargolariakUITests"
-               ReferencedContainer = "container:Gasteizko Margolariak.xcodeproj">
-            </BuildableReference>
-         </TestableReference>
       </Testables>
       <MacroExpansion>
          <BuildableReference
             BuildableIdentifier = "primary"
-            BlueprintIdentifier = "9328AF651D6616C700E6B0E2"
-            BuildableName = "Gasteizko Margolariak.app"
-            BlueprintName = "Gasteizko Margolariak"
-            ReferencedContainer = "container:Gasteizko Margolariak.xcodeproj">
+            BlueprintIdentifier = "93B84B951D9C31AB006C0F67"
+            BuildableName = "app.app"
+            BlueprintName = "app"
+            ReferencedContainer = "container:app.xcodeproj">
          </BuildableReference>
       </MacroExpansion>
       <AdditionalOptions>
@@ -75,10 +55,10 @@
          runnableDebuggingMode = "0">
          <BuildableReference
             BuildableIdentifier = "primary"
-            BlueprintIdentifier = "9328AF651D6616C700E6B0E2"
-            BuildableName = "Gasteizko Margolariak.app"
-            BlueprintName = "Gasteizko Margolariak"
-            ReferencedContainer = "container:Gasteizko Margolariak.xcodeproj">
+            BlueprintIdentifier = "93B84B951D9C31AB006C0F67"
+            BuildableName = "app.app"
+            BlueprintName = "app"
+            ReferencedContainer = "container:app.xcodeproj">
          </BuildableReference>
       </BuildableProductRunnable>
       <AdditionalOptions>
@@ -94,10 +74,10 @@
          runnableDebuggingMode = "0">
          <BuildableReference
             BuildableIdentifier = "primary"
-            BlueprintIdentifier = "9328AF651D6616C700E6B0E2"
-            BuildableName = "Gasteizko Margolariak.app"
-            BlueprintName = "Gasteizko Margolariak"
-            ReferencedContainer = "container:Gasteizko Margolariak.xcodeproj">
+            BlueprintIdentifier = "93B84B951D9C31AB006C0F67"
+            BuildableName = "app.app"
+            BlueprintName = "app"
+            ReferencedContainer = "container:app.xcodeproj">
          </BuildableReference>
       </BuildableProductRunnable>
    </ProfileAction>

+ 2 - 12
Gasteizko Margolariak.xcodeproj/xcuserdata/seavenois.xcuserdatad/xcschemes/xcschememanagement.plist → app.xcodeproj/xcuserdata/seavenois.xcuserdatad/xcschemes/xcschememanagement.plist

@@ -4,7 +4,7 @@
 <dict>
 	<key>SchemeUserState</key>
 	<dict>
-		<key>Gasteizko Margolariak.xcscheme</key>
+		<key>app.xcscheme</key>
 		<dict>
 			<key>orderHint</key>
 			<integer>0</integer>
@@ -12,17 +12,7 @@
 	</dict>
 	<key>SuppressBuildableAutocreation</key>
 	<dict>
-		<key>9328AF651D6616C700E6B0E2</key>
-		<dict>
-			<key>primary</key>
-			<true/>
-		</dict>
-		<key>9328AF791D6616C700E6B0E2</key>
-		<dict>
-			<key>primary</key>
-			<true/>
-		</dict>
-		<key>9328AF841D6616C700E6B0E2</key>
+		<key>93B84B951D9C31AB006C0F67</key>
 		<dict>
 			<key>primary</key>
 			<true/>

+ 96 - 0
app/AppDelegate.swift

@@ -0,0 +1,96 @@
+//
+//  AppDelegate.swift
+//  app
+//
+//  Created by Inigo Valentin on 28/09/16.
+//  Copyright © 2016 Margolariak. All rights reserved.
+//
+
+import UIKit
+import CoreData
+
+@UIApplicationMain
+class AppDelegate: UIResponder, UIApplicationDelegate {
+
+    var window: UIWindow?
+
+
+    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
+        // Override point for customization after application launch.
+        
+        //Set a one line for collectionView
+        
+        return true
+    }
+
+    func applicationWillResignActive(_ application: UIApplication) {
+        // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
+        // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game.
+    }
+
+    func applicationDidEnterBackground(_ application: UIApplication) {
+        // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
+        // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
+    }
+
+    func applicationWillEnterForeground(_ application: UIApplication) {
+        // Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background.
+    }
+
+    func applicationDidBecomeActive(_ application: UIApplication) {
+        // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
+    }
+
+    func applicationWillTerminate(_ application: UIApplication) {
+        // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
+        // Saves changes in the application's managed object context before the application terminates.
+        //self.saveContext()
+    }
+
+    // MARK: - Core Data stack
+
+    /*lazy var persistentContainer: NSPersistentContainer = {
+        /*
+         The persistent container for the application. This implementation
+         creates and returns a container, having loaded the store for the
+         application to it. This property is optional since there are legitimate
+         error conditions that could cause the creation of the store to fail.
+        */
+        let container = NSPersistentContainer(name: "app")
+        container.loadPersistentStores(completionHandler: { (storeDescription, error) in
+            if let error = error as NSError? {
+                // Replace this implementation with code to handle the error appropriately.
+                // fatalError() causes the application to generate a crash log and terminate. You should not use this function in a shipping application, although it may be useful during development.
+                 
+                /*
+                 Typical reasons for an error here include:
+                 * The parent directory does not exist, cannot be created, or disallows writing.
+                 * The persistent store is not accessible, due to permissions or data protection when the device is locked.
+                 * The device is out of space.
+                 * The store could not be migrated to the current model version.
+                 Check the error message to determine what the actual problem was.
+                 */
+                fatalError("Unresolved error \(error), \(error.userInfo)")
+            }
+        })
+        return container
+    }()
+
+    // MARK: - Core Data Saving support
+
+    func saveContext () {
+        let context = persistentContainer.viewContext
+        if context.hasChanges {
+            do {
+                try context.save()
+            } catch {
+                // Replace this implementation with code to handle the error appropriately.
+                // fatalError() causes the application to generate a crash log and terminate. You should not use this function in a shipping application, although it may be useful during development.
+                let nserror = error as NSError
+                fatalError("Unresolved error \(nserror), \(nserror.userInfo)")
+            }
+        }
+    }*/
+
+}
+

+ 27 - 0
app/Base.lproj/LaunchScreen.storyboard

@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="11134" systemVersion="15F34" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
+    <dependencies>
+        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11106"/>
+        <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
+    </dependencies>
+    <scenes>
+        <!--View Controller-->
+        <scene sceneID="EHf-IW-A2E">
+            <objects>
+                <viewController id="01J-lp-oVM" sceneMemberID="viewController">
+                    <layoutGuides>
+                        <viewControllerLayoutGuide type="top" id="Llm-lL-Icb"/>
+                        <viewControllerLayoutGuide type="bottom" id="xb3-aO-Qok"/>
+                    </layoutGuides>
+                    <view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
+                        <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
+                        <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
+                        <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
+                    </view>
+                </viewController>
+                <placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
+            </objects>
+            <point key="canvasLocation" x="53" y="375"/>
+        </scene>
+    </scenes>
+</document>

+ 92 - 0
app/Base.lproj/Main.storyboard

@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="11201" systemVersion="15F34" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="BYZ-38-t0r">
+    <dependencies>
+        <deployment identifier="iOS"/>
+        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11161"/>
+        <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
+    </dependencies>
+    <scenes>
+        <!--Gasteizko Margolariak-->
+        <scene sceneID="e3W-6Z-Jyk">
+            <objects>
+                <navigationController title="Gasteizko Margolariak" id="cgF-cq-ysf" sceneMemberID="viewController">
+                    <navigationBar key="navigationBar" contentMode="scaleToFill" id="lgI-h9-O0s">
+                        <rect key="frame" x="0.0" y="0.0" width="375" height="44"/>
+                        <autoresizingMask key="autoresizingMask"/>
+                        <color key="backgroundColor" red="0.4079896717" green="1" blue="0.34807942549999998" alpha="1" colorSpace="calibratedRGB"/>
+                    </navigationBar>
+                </navigationController>
+                <placeholder placeholderIdentifier="IBFirstResponder" id="utt-1m-pei" userLabel="First Responder" sceneMemberID="firstResponder"/>
+            </objects>
+        </scene>
+        <!--Gasteizko Margolariak-->
+        <scene sceneID="tne-QT-ifu">
+            <objects>
+                <viewController title="Gasteizko Margolariak" id="BYZ-38-t0r" customClass="ViewController" customModule="app" customModuleProvider="target" sceneMemberID="viewController">
+                    <layoutGuides>
+                        <viewControllerLayoutGuide type="top" id="y3c-jy-aDJ"/>
+                        <viewControllerLayoutGuide type="bottom" id="wfy-db-euE"/>
+                    </layoutGuides>
+                    <view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
+                        <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
+                        <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
+                        <subviews>
+                            <collectionView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" misplaced="YES" pagingEnabled="YES" dataMode="prototypes" translatesAutoresizingMaskIntoConstraints="NO" id="Ikv-46-g2m">
+                                <frame key="frameInset" minY="242" width="375" height="128"/>
+                                <color key="backgroundColor" red="0.9425276964" green="1" blue="0.35931510379999998" alpha="1" colorSpace="calibratedRGB"/>
+                                <constraints>
+                                    <constraint firstAttribute="height" constant="50" id="D8o-cR-8qU"/>
+                                </constraints>
+                                <collectionViewFlowLayout key="collectionViewLayout" scrollDirection="horizontal" minimumLineSpacing="3" minimumInteritemSpacing="1000" id="uuj-Dg-Ftx">
+                                    <size key="itemSize" width="100" height="50"/>
+                                    <size key="headerReferenceSize" width="0.0" height="0.0"/>
+                                    <size key="footerReferenceSize" width="0.0" height="0.0"/>
+                                    <inset key="sectionInset" minX="0.0" minY="0.0" maxX="0.0" maxY="0.0"/>
+                                </collectionViewFlowLayout>
+                                <cells>
+                                    <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" reuseIdentifier="cell" id="a4j-DF-epb" customClass="MenuCollectionViewCell" customModule="app" customModuleProvider="target">
+                                        <rect key="frame" x="0.0" y="39" width="100" height="50"/>
+                                        <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
+                                        <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
+                                            <rect key="frame" x="0.0" y="0.0" width="100" height="50"/>
+                                            <autoresizingMask key="autoresizingMask"/>
+                                            <subviews>
+                                                <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" misplaced="YES" text="Home" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="PbJ-gz-Ivz">
+                                                    <frame key="frameInset" minX="-95" minY="-39" width="240" height="128"/>
+                                                    <color key="backgroundColor" red="0.4079896717" green="1" blue="0.34807942549999998" alpha="1" colorSpace="calibratedRGB"/>
+                                                    <constraints>
+                                                        <constraint firstAttribute="height" constant="50" id="JDi-Ta-B3u"/>
+                                                        <constraint firstAttribute="width" constant="100" id="eKL-ga-53F"/>
+                                                    </constraints>
+                                                    <fontDescription key="fontDescription" type="system" pointSize="17"/>
+                                                    <nil key="textColor"/>
+                                                    <nil key="highlightedColor"/>
+                                                </label>
+                                            </subviews>
+                                        </view>
+                                        <color key="backgroundColor" red="0.0" green="0.47843137250000001" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
+                                        <connections>
+                                            <outlet property="myLabel" destination="PbJ-gz-Ivz" id="Qtp-JE-TDT"/>
+                                        </connections>
+                                    </collectionViewCell>
+                                </cells>
+                                <connections>
+                                    <outlet property="dataSource" destination="BYZ-38-t0r" id="SI3-sR-dHs"/>
+                                    <outlet property="delegate" destination="BYZ-38-t0r" id="k4t-RF-DxW"/>
+                                </connections>
+                            </collectionView>
+                        </subviews>
+                        <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
+                        <constraints>
+                            <constraint firstItem="Ikv-46-g2m" firstAttribute="leading" secondItem="8bC-Xf-vdC" secondAttribute="leading" id="eln-ck-QcI"/>
+                            <constraint firstItem="Ikv-46-g2m" firstAttribute="width" secondItem="8bC-Xf-vdC" secondAttribute="width" id="j8o-dm-xpa"/>
+                            <constraint firstItem="Ikv-46-g2m" firstAttribute="top" secondItem="y3c-jy-aDJ" secondAttribute="bottom" constant="65" id="kb5-4D-ytn"/>
+                        </constraints>
+                    </view>
+                </viewController>
+                <placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
+            </objects>
+            <point key="canvasLocation" x="789.60000000000002" y="899.10044977511257"/>
+        </scene>
+    </scenes>
+</document>

+ 3 - 13
Gasteizko Margolariak/Info.plist → app/Info.plist

@@ -4,12 +4,10 @@
 <dict>
 	<key>CFBundleDevelopmentRegion</key>
 	<string>en</string>
+	<key>CFBundleDisplayName</key>
+	<string>Gasteizko Margolariak</string>
 	<key>CFBundleExecutable</key>
 	<string>$(EXECUTABLE_NAME)</string>
-	<key>CFBundleIcons</key>
-	<dict/>
-	<key>CFBundleIcons~ipad</key>
-	<dict/>
 	<key>CFBundleIdentifier</key>
 	<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
 	<key>CFBundleInfoDictionaryVersion</key>
@@ -20,19 +18,12 @@
 	<string>APPL</string>
 	<key>CFBundleShortVersionString</key>
 	<string>1.0</string>
-	<key>CFBundleSignature</key>
-	<string>????</string>
 	<key>CFBundleVersion</key>
 	<string>1</string>
 	<key>LSRequiresIPhoneOS</key>
 	<true/>
-	<key>NSAppTransportSecurity</key>
-	<dict>
-		<key>NSAllowsArbitraryLoads</key>
-		<true/>
-	</dict>
 	<key>UILaunchStoryboardName</key>
-	<string>Main</string>
+	<string>LaunchScreen</string>
 	<key>UIMainStoryboardFile</key>
 	<string>Main</string>
 	<key>UIRequiredDeviceCapabilities</key>
@@ -44,7 +35,6 @@
 		<string>UIInterfaceOrientationPortrait</string>
 		<string>UIInterfaceOrientationLandscapeLeft</string>
 		<string>UIInterfaceOrientationLandscapeRight</string>
-		<string>UIInterfaceOrientationPortraitUpsideDown</string>
 	</array>
 	<key>UISupportedInterfaceOrientations~ipad</key>
 	<array>

+ 56 - 0
app/ViewController.swift

@@ -0,0 +1,56 @@
+//
+//  ViewController.swift
+//  app
+//
+//  Created by Inigo Valentin on 28/09/16.
+//  Copyright © 2016 Margolariak. All rights reserved.
+//
+
+import UIKit
+
+class ViewController: UIViewController, UICollectionViewDataSource, UICollectionViewDelegate {
+
+    override func viewDidLoad() {
+        super.viewDidLoad()
+        // Do any additional setup after loading the view, typically from a nib.
+    }
+
+    override func didReceiveMemoryWarning() {
+        super.didReceiveMemoryWarning()
+        // Dispose of any resources that can be recreated.
+    }
+    
+    let reuseIdentifier = "cell" // also enter this string as the cell identifier in the storyboard
+    var items = ["Home", "Location", "La Blanca", "Actividades", "Blog", "Gallery"]
+    
+    
+    // MARK: - UICollectionViewDataSource protocol
+    
+    // tell the collection view how many cells to make
+    func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {
+        return self.items.count
+    }
+    
+    // make a cell for each cell index path
+    func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {
+        
+        // get a reference to our storyboard cell
+        let cell = collectionView.dequeueReusableCell(withReuseIdentifier: reuseIdentifier, for: indexPath as IndexPath) as! MenuCollectionViewCell
+        
+        // Use the outlet in our custom class to get a reference to the UILabel in the cell
+        cell.myLabel.text = self.items[indexPath.item]
+        cell.backgroundColor = UIColor.cyan // make cell more visible in our example project
+        
+        return cell
+    }
+    
+    // MARK: - UICollectionViewDelegate protocol
+    
+    func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {
+        // handle tap events
+        print("You selected cell #\(indexPath.item)!")
+    }
+
+
+}
+

+ 1 - 1
Gasteizko Margolariak/SlideMenuControllerSwift.xcdatamodeld/.xccurrentversion → app/app.xcdatamodeld/.xccurrentversion

@@ -3,6 +3,6 @@
 <plist version="1.0">
 <dict>
 	<key>_XCCurrentVersionName</key>
-	<string>SlideMenuControllerSwift.xcdatamodel</string>
+	<string>app.xcdatamodel</string>
 </dict>
 </plist>

+ 4 - 0
app/app.xcdatamodeld/app.xcdatamodel/contents

@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<model type="com.apple.IDECoreDataModeler.DataModel" documentVersion="1.0" lastSavedToolsVersion="1" systemVersion="11A491" minimumToolsVersion="Automatic" sourceLanguage="Swift" userDefinedModelVersionIdentifier="">
+    <elements/>
+</model>