diff --git a/mobileapp/ios/skolehjem/skolehjem.xcodeproj/project.pbxproj b/mobileapp/ios/skolehjem/skolehjem.xcodeproj/project.pbxproj new file mode 100644 index 0000000..f8408f8 --- /dev/null +++ b/mobileapp/ios/skolehjem/skolehjem.xcodeproj/project.pbxproj @@ -0,0 +1,338 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 50; + objects = { + +/* Begin PBXBuildFile section */ + 63D90CA924EFD14600E5833A /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 63D90CA824EFD14600E5833A /* AppDelegate.swift */; }; + 63D90CAB24EFD14600E5833A /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 63D90CAA24EFD14600E5833A /* ViewController.swift */; }; + 63D90CAE24EFD14600E5833A /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 63D90CAC24EFD14600E5833A /* Main.storyboard */; }; + 63D90CB024EFD16000E5833A /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 63D90CAF24EFD16000E5833A /* Assets.xcassets */; }; + 63D90CB324EFD16100E5833A /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 63D90CB124EFD16100E5833A /* LaunchScreen.storyboard */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + 63D90CA524EFD14600E5833A /* skolehjem.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = skolehjem.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 63D90CA824EFD14600E5833A /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; + 63D90CAA24EFD14600E5833A /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; + 63D90CAD24EFD14600E5833A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; + 63D90CAF24EFD16000E5833A /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + 63D90CB224EFD16100E5833A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; + 63D90CB424EFD16300E5833A /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 63D90CA224EFD14600E5833A /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 63D90C9C24EFD14600E5833A = { + isa = PBXGroup; + children = ( + 63D90CA724EFD14600E5833A /* skolehjem */, + 63D90CA624EFD14600E5833A /* Products */, + ); + sourceTree = ""; + }; + 63D90CA624EFD14600E5833A /* Products */ = { + isa = PBXGroup; + children = ( + 63D90CA524EFD14600E5833A /* skolehjem.app */, + ); + name = Products; + sourceTree = ""; + }; + 63D90CA724EFD14600E5833A /* skolehjem */ = { + isa = PBXGroup; + children = ( + 63D90CA824EFD14600E5833A /* AppDelegate.swift */, + 63D90CAA24EFD14600E5833A /* ViewController.swift */, + 63D90CAC24EFD14600E5833A /* Main.storyboard */, + 63D90CAF24EFD16000E5833A /* Assets.xcassets */, + 63D90CB124EFD16100E5833A /* LaunchScreen.storyboard */, + 63D90CB424EFD16300E5833A /* Info.plist */, + ); + path = skolehjem; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 63D90CA424EFD14600E5833A /* skolehjem */ = { + isa = PBXNativeTarget; + buildConfigurationList = 63D90CB724EFD16400E5833A /* Build configuration list for PBXNativeTarget "skolehjem" */; + buildPhases = ( + 63D90CA124EFD14600E5833A /* Sources */, + 63D90CA224EFD14600E5833A /* Frameworks */, + 63D90CA324EFD14600E5833A /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = skolehjem; + productName = skolehjem; + productReference = 63D90CA524EFD14600E5833A /* skolehjem.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 63D90C9D24EFD14600E5833A /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 1010; + LastUpgradeCheck = 1010; + TargetAttributes = { + 63D90CA424EFD14600E5833A = { + CreatedOnToolsVersion = 10.1; + }; + }; + }; + buildConfigurationList = 63D90CA024EFD14600E5833A /* Build configuration list for PBXProject "skolehjem" */; + compatibilityVersion = "Xcode 9.3"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 63D90C9C24EFD14600E5833A; + productRefGroup = 63D90CA624EFD14600E5833A /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 63D90CA424EFD14600E5833A /* skolehjem */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 63D90CA324EFD14600E5833A /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 63D90CB324EFD16100E5833A /* LaunchScreen.storyboard in Resources */, + 63D90CB024EFD16000E5833A /* Assets.xcassets in Resources */, + 63D90CAE24EFD14600E5833A /* Main.storyboard in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 63D90CA124EFD14600E5833A /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 63D90CAB24EFD14600E5833A /* ViewController.swift in Sources */, + 63D90CA924EFD14600E5833A /* AppDelegate.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXVariantGroup section */ + 63D90CAC24EFD14600E5833A /* Main.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 63D90CAD24EFD14600E5833A /* Base */, + ); + name = Main.storyboard; + sourceTree = ""; + }; + 63D90CB124EFD16100E5833A /* LaunchScreen.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 63D90CB224EFD16100E5833A /* Base */, + ); + name = LaunchScreen.storyboard; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + 63D90CB524EFD16300E5833A /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = 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_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_IDENTITY = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + 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 = 12.1; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + 63D90CB624EFD16300E5833A /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = 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_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_IDENTITY = "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 = gnu11; + 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 = 12.1; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SDKROOT = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 63D90CB824EFD16400E5833A /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = 3ZZXP29LWT; + INFOPLIST_FILE = skolehjem/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = sde.odense.skolehjem; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 4.2; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 63D90CB924EFD16400E5833A /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = 3ZZXP29LWT; + INFOPLIST_FILE = skolehjem/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = sde.odense.skolehjem; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 4.2; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 63D90CA024EFD14600E5833A /* Build configuration list for PBXProject "skolehjem" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 63D90CB524EFD16300E5833A /* Debug */, + 63D90CB624EFD16300E5833A /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 63D90CB724EFD16400E5833A /* Build configuration list for PBXNativeTarget "skolehjem" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 63D90CB824EFD16400E5833A /* Debug */, + 63D90CB924EFD16400E5833A /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 63D90C9D24EFD14600E5833A /* Project object */; +} diff --git a/mobileapp/ios/skolehjem/skolehjem.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/mobileapp/ios/skolehjem/skolehjem.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..62c3e07 --- /dev/null +++ b/mobileapp/ios/skolehjem/skolehjem.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/mobileapp/ios/skolehjem/skolehjem.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/mobileapp/ios/skolehjem/skolehjem.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/mobileapp/ios/skolehjem/skolehjem.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/mobileapp/ios/skolehjem/skolehjem.xcodeproj/project.xcworkspace/xcuserdata/macuser.xcuserdatad/UserInterfaceState.xcuserstate b/mobileapp/ios/skolehjem/skolehjem.xcodeproj/project.xcworkspace/xcuserdata/macuser.xcuserdatad/UserInterfaceState.xcuserstate new file mode 100644 index 0000000..c8f7138 Binary files /dev/null and b/mobileapp/ios/skolehjem/skolehjem.xcodeproj/project.xcworkspace/xcuserdata/macuser.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/mobileapp/ios/skolehjem/skolehjem.xcodeproj/xcuserdata/macuser.xcuserdatad/xcschemes/xcschememanagement.plist b/mobileapp/ios/skolehjem/skolehjem.xcodeproj/xcuserdata/macuser.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..2c96ccb --- /dev/null +++ b/mobileapp/ios/skolehjem/skolehjem.xcodeproj/xcuserdata/macuser.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,14 @@ + + + + + SchemeUserState + + skolehjem.xcscheme_^#shared#^_ + + orderHint + 0 + + + + diff --git a/mobileapp/ios/skolehjem/skolehjem/AppDelegate.swift b/mobileapp/ios/skolehjem/skolehjem/AppDelegate.swift new file mode 100644 index 0000000..5cf62ae --- /dev/null +++ b/mobileapp/ios/skolehjem/skolehjem/AppDelegate.swift @@ -0,0 +1,45 @@ +// +// AppDelegate.swift +// skolehjem +// +// Created by macuser on 21/08/2020. +// + +import UIKit + +@UIApplicationMain +class AppDelegate: UIResponder, UIApplicationDelegate { + + var window: UIWindow? + + + func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { + // Override point for customization after application launch. + 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:. + } + + +} + diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/Contents.json b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..289a23e --- /dev/null +++ b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,116 @@ +{ + "images" : [ + { + "size" : "20x20", + "idiom" : "iphone", + "filename" : "ic_launcher.png", + "scale" : "2x" + }, + { + "size" : "20x20", + "idiom" : "iphone", + "filename" : "ic_launcher-1.png", + "scale" : "3x" + }, + { + "size" : "29x29", + "idiom" : "iphone", + "filename" : "ic_launcher-2.png", + "scale" : "2x" + }, + { + "size" : "29x29", + "idiom" : "iphone", + "filename" : "ic_launcher-3.png", + "scale" : "3x" + }, + { + "size" : "40x40", + "idiom" : "iphone", + "filename" : "ic_launcher-12.png", + "scale" : "2x" + }, + { + "size" : "40x40", + "idiom" : "iphone", + "filename" : "ic_launcher-13.png", + "scale" : "3x" + }, + { + "size" : "60x60", + "idiom" : "iphone", + "filename" : "ic_launcher-4.png", + "scale" : "2x" + }, + { + "size" : "60x60", + "idiom" : "iphone", + "filename" : "ic_launcher-5.png", + "scale" : "3x" + }, + { + "size" : "20x20", + "idiom" : "ipad", + "filename" : "ic_launcher-7.png", + "scale" : "1x" + }, + { + "size" : "20x20", + "idiom" : "ipad", + "filename" : "ic_launcher-6.png", + "scale" : "2x" + }, + { + "size" : "29x29", + "idiom" : "ipad", + "filename" : "ic_launcher-8.png", + "scale" : "1x" + }, + { + "size" : "29x29", + "idiom" : "ipad", + "filename" : "ic_launcher-9.png", + "scale" : "2x" + }, + { + "size" : "40x40", + "idiom" : "ipad", + "filename" : "ic_launcher-10.png", + "scale" : "1x" + }, + { + "size" : "40x40", + "idiom" : "ipad", + "filename" : "ic_launcher-11.png", + "scale" : "2x" + }, + { + "size" : "76x76", + "idiom" : "ipad", + "filename" : "ic_launcher-16.png", + "scale" : "1x" + }, + { + "size" : "76x76", + "idiom" : "ipad", + "filename" : "ic_launcher-15.png", + "scale" : "2x" + }, + { + "size" : "83.5x83.5", + "idiom" : "ipad", + "filename" : "ic_launcher-17.png", + "scale" : "2x" + }, + { + "size" : "1024x1024", + "idiom" : "ios-marketing", + "filename" : "ic_launcher-14.png", + "scale" : "1x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-1.png b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-1.png new file mode 100644 index 0000000..b7aaf89 Binary files /dev/null and b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-1.png differ diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-10.png b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-10.png new file mode 100644 index 0000000..b7aaf89 Binary files /dev/null and b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-10.png differ diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-11.png b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-11.png new file mode 100644 index 0000000..b7aaf89 Binary files /dev/null and b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-11.png differ diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-12.png b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-12.png new file mode 100644 index 0000000..b7aaf89 Binary files /dev/null and b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-12.png differ diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-13.png b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-13.png new file mode 100644 index 0000000..b7aaf89 Binary files /dev/null and b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-13.png differ diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-14.png b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-14.png new file mode 100644 index 0000000..b7aaf89 Binary files /dev/null and b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-14.png differ diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-15.png b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-15.png new file mode 100644 index 0000000..b7aaf89 Binary files /dev/null and b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-15.png differ diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-16.png b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-16.png new file mode 100644 index 0000000..b7aaf89 Binary files /dev/null and b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-16.png differ diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-17.png b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-17.png new file mode 100644 index 0000000..b7aaf89 Binary files /dev/null and b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-17.png differ diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-2.png b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-2.png new file mode 100644 index 0000000..b7aaf89 Binary files /dev/null and b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-2.png differ diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-3.png b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-3.png new file mode 100644 index 0000000..b7aaf89 Binary files /dev/null and b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-3.png differ diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-4.png b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-4.png new file mode 100644 index 0000000..b7aaf89 Binary files /dev/null and b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-4.png differ diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-5.png b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-5.png new file mode 100644 index 0000000..b7aaf89 Binary files /dev/null and b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-5.png differ diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-6.png b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-6.png new file mode 100644 index 0000000..b7aaf89 Binary files /dev/null and b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-6.png differ diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-7.png b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-7.png new file mode 100644 index 0000000..b7aaf89 Binary files /dev/null and b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-7.png differ diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-8.png b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-8.png new file mode 100644 index 0000000..b7aaf89 Binary files /dev/null and b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-8.png differ diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-9.png b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-9.png new file mode 100644 index 0000000..b7aaf89 Binary files /dev/null and b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher-9.png differ diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher.png b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher.png new file mode 100644 index 0000000..b7aaf89 Binary files /dev/null and b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/AppIcon.appiconset/ic_launcher.png differ diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/Contents.json b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/Contents.json new file mode 100644 index 0000000..da4a164 --- /dev/null +++ b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage-2.launchimage/Contents.json b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage-2.launchimage/Contents.json new file mode 100644 index 0000000..a3af472 --- /dev/null +++ b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage-2.launchimage/Contents.json @@ -0,0 +1,55 @@ +{ + "images" : [ + { + "orientation" : "portrait", + "idiom" : "ipad", + "filename" : "ic_launcher.png", + "extent" : "full-screen", + "minimum-system-version" : "7.0", + "scale" : "1x" + }, + { + "orientation" : "landscape", + "idiom" : "ipad", + "filename" : "ic_launcher-4.png", + "extent" : "full-screen", + "minimum-system-version" : "7.0", + "scale" : "1x" + }, + { + "orientation" : "portrait", + "idiom" : "ipad", + "filename" : "ic_launcher-1.png", + "extent" : "full-screen", + "minimum-system-version" : "7.0", + "scale" : "2x" + }, + { + "orientation" : "landscape", + "idiom" : "ipad", + "filename" : "ic_launcher-5.png", + "extent" : "full-screen", + "minimum-system-version" : "7.0", + "scale" : "2x" + }, + { + "orientation" : "portrait", + "idiom" : "iphone", + "filename" : "ic_launcher-2.png", + "minimum-system-version" : "7.0", + "scale" : "2x" + }, + { + "orientation" : "portrait", + "idiom" : "iphone", + "filename" : "ic_launcher-3.png", + "minimum-system-version" : "7.0", + "subtype" : "retina4", + "scale" : "2x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage-2.launchimage/ic_launcher-1.png b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage-2.launchimage/ic_launcher-1.png new file mode 100644 index 0000000..b7aaf89 Binary files /dev/null and b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage-2.launchimage/ic_launcher-1.png differ diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage-2.launchimage/ic_launcher-2.png b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage-2.launchimage/ic_launcher-2.png new file mode 100644 index 0000000..b7aaf89 Binary files /dev/null and b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage-2.launchimage/ic_launcher-2.png differ diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage-2.launchimage/ic_launcher-3.png b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage-2.launchimage/ic_launcher-3.png new file mode 100644 index 0000000..b7aaf89 Binary files /dev/null and b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage-2.launchimage/ic_launcher-3.png differ diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage-2.launchimage/ic_launcher-4.png b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage-2.launchimage/ic_launcher-4.png new file mode 100644 index 0000000..b7aaf89 Binary files /dev/null and b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage-2.launchimage/ic_launcher-4.png differ diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage-2.launchimage/ic_launcher-5.png b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage-2.launchimage/ic_launcher-5.png new file mode 100644 index 0000000..b7aaf89 Binary files /dev/null and b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage-2.launchimage/ic_launcher-5.png differ diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage-2.launchimage/ic_launcher.png b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage-2.launchimage/ic_launcher.png new file mode 100644 index 0000000..b7aaf89 Binary files /dev/null and b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage-2.launchimage/ic_launcher.png differ diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage.launchimage/Contents.json b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage.launchimage/Contents.json new file mode 100644 index 0000000..efc0f77 --- /dev/null +++ b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage.launchimage/Contents.json @@ -0,0 +1,55 @@ +{ + "images" : [ + { + "orientation" : "portrait", + "idiom" : "ipad", + "filename" : "ic_launcher-playstore-1.png", + "extent" : "full-screen", + "minimum-system-version" : "7.0", + "scale" : "1x" + }, + { + "orientation" : "landscape", + "idiom" : "ipad", + "filename" : "ic_launcher-playstore-2.png", + "extent" : "full-screen", + "minimum-system-version" : "7.0", + "scale" : "1x" + }, + { + "orientation" : "portrait", + "idiom" : "ipad", + "filename" : "ic_launcher-playstore.png", + "extent" : "full-screen", + "minimum-system-version" : "7.0", + "scale" : "2x" + }, + { + "orientation" : "landscape", + "idiom" : "ipad", + "filename" : "ic_launcher-playstore-3.png", + "extent" : "full-screen", + "minimum-system-version" : "7.0", + "scale" : "2x" + }, + { + "orientation" : "portrait", + "idiom" : "iphone", + "filename" : "ic_launcher-playstore-4.png", + "minimum-system-version" : "7.0", + "scale" : "2x" + }, + { + "orientation" : "portrait", + "idiom" : "iphone", + "filename" : "ic_launcher-playstore-5.png", + "minimum-system-version" : "7.0", + "subtype" : "retina4", + "scale" : "2x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage.launchimage/ic_launcher-playstore-1.png b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage.launchimage/ic_launcher-playstore-1.png new file mode 100644 index 0000000..511dd3c Binary files /dev/null and b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage.launchimage/ic_launcher-playstore-1.png differ diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage.launchimage/ic_launcher-playstore-2.png b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage.launchimage/ic_launcher-playstore-2.png new file mode 100644 index 0000000..511dd3c Binary files /dev/null and b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage.launchimage/ic_launcher-playstore-2.png differ diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage.launchimage/ic_launcher-playstore-3.png b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage.launchimage/ic_launcher-playstore-3.png new file mode 100644 index 0000000..511dd3c Binary files /dev/null and b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage.launchimage/ic_launcher-playstore-3.png differ diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage.launchimage/ic_launcher-playstore-4.png b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage.launchimage/ic_launcher-playstore-4.png new file mode 100644 index 0000000..511dd3c Binary files /dev/null and b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage.launchimage/ic_launcher-playstore-4.png differ diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage.launchimage/ic_launcher-playstore-5.png b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage.launchimage/ic_launcher-playstore-5.png new file mode 100644 index 0000000..511dd3c Binary files /dev/null and b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage.launchimage/ic_launcher-playstore-5.png differ diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage.launchimage/ic_launcher-playstore.png b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage.launchimage/ic_launcher-playstore.png new file mode 100644 index 0000000..511dd3c Binary files /dev/null and b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/LaunchImage.launchimage/ic_launcher-playstore.png differ diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/ic_launcher-playstore.imageset/Contents.json b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/ic_launcher-playstore.imageset/Contents.json new file mode 100644 index 0000000..233b16a --- /dev/null +++ b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/ic_launcher-playstore.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "ic_launcher-playstore.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/ic_launcher-playstore.imageset/ic_launcher-playstore.png b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/ic_launcher-playstore.imageset/ic_launcher-playstore.png new file mode 100644 index 0000000..511dd3c Binary files /dev/null and b/mobileapp/ios/skolehjem/skolehjem/Assets.xcassets/ic_launcher-playstore.imageset/ic_launcher-playstore.png differ diff --git a/mobileapp/ios/skolehjem/skolehjem/Base.lproj/LaunchScreen.storyboard b/mobileapp/ios/skolehjem/skolehjem/Base.lproj/LaunchScreen.storyboard new file mode 100644 index 0000000..bfa3612 --- /dev/null +++ b/mobileapp/ios/skolehjem/skolehjem/Base.lproj/LaunchScreen.storyboard @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/mobileapp/ios/skolehjem/skolehjem/Base.lproj/Main.storyboard b/mobileapp/ios/skolehjem/skolehjem/Base.lproj/Main.storyboard new file mode 100644 index 0000000..7e65df7 --- /dev/null +++ b/mobileapp/ios/skolehjem/skolehjem/Base.lproj/Main.storyboard @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/mobileapp/ios/skolehjem/skolehjem/Info.plist b/mobileapp/ios/skolehjem/skolehjem/Info.plist new file mode 100644 index 0000000..1b57cd5 --- /dev/null +++ b/mobileapp/ios/skolehjem/skolehjem/Info.plist @@ -0,0 +1,49 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleDisplayName + SDE Skolehjem + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIcons + + CFBundleIcons~ipad + + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + LSRequiresIPhoneOS + + UILaunchStoryboardName + Main + UIMainStoryboardFile + Main + UIRequiredDeviceCapabilities + + armv7 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + + diff --git a/mobileapp/ios/skolehjem/skolehjem/ViewController.swift b/mobileapp/ios/skolehjem/skolehjem/ViewController.swift new file mode 100644 index 0000000..95a520b --- /dev/null +++ b/mobileapp/ios/skolehjem/skolehjem/ViewController.swift @@ -0,0 +1,27 @@ +// +// ViewController.swift +// skolehjem +// +// Created by macuser on 21/08/2020. +// + +import UIKit +import WebKit + + +class ViewController: UIViewController { + @IBOutlet weak var webview: WKWebView! + + override func viewDidLoad() { + super.viewDidLoad(); + + let url = URL(string: "https://ekapp.sde.dk"); + let request = URLRequest(url: url!); + + webview.scrollView.isMultipleTouchEnabled = false; + webview.load(request); + } + + +} +