diff --git a/Verdnatura/.DS_Store b/Verdnatura/.DS_Store new file mode 100644 index 0000000..2d9cce1 Binary files /dev/null and b/Verdnatura/.DS_Store differ diff --git a/Verdnatura/Verdnatura.xcodeproj/project.pbxproj b/Verdnatura/Verdnatura.xcodeproj/project.pbxproj new file mode 100644 index 0000000..e437020 --- /dev/null +++ b/Verdnatura/Verdnatura.xcodeproj/project.pbxproj @@ -0,0 +1,348 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 50; + objects = { + +/* Begin PBXBuildFile section */ + EBC33AA22595B47600CD89D7 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = EBC33AA12595B47600CD89D7 /* AppDelegate.swift */; }; + EBC33AA62595B47600CD89D7 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = EBC33AA52595B47600CD89D7 /* ViewController.swift */; }; + EBC33AA92595B47600CD89D7 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = EBC33AA72595B47600CD89D7 /* Main.storyboard */; }; + EBC33AAB2595B47900CD89D7 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = EBC33AAA2595B47900CD89D7 /* Assets.xcassets */; }; + EBC33AAE2595B47900CD89D7 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = EBC33AAC2595B47900CD89D7 /* LaunchScreen.storyboard */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + EBC33A9E2595B47600CD89D7 /* Verdnatura.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Verdnatura.app; sourceTree = BUILT_PRODUCTS_DIR; }; + EBC33AA12595B47600CD89D7 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; + EBC33AA52595B47600CD89D7 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; + EBC33AA82595B47600CD89D7 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; + EBC33AAA2595B47900CD89D7 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + EBC33AAD2595B47900CD89D7 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; + EBC33AAF2595B47900CD89D7 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + EBC33A9B2595B47600CD89D7 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + EBC33A952595B47600CD89D7 = { + isa = PBXGroup; + children = ( + EBC33AA02595B47600CD89D7 /* Verdnatura */, + EBC33A9F2595B47600CD89D7 /* Products */, + ); + sourceTree = ""; + }; + EBC33A9F2595B47600CD89D7 /* Products */ = { + isa = PBXGroup; + children = ( + EBC33A9E2595B47600CD89D7 /* Verdnatura.app */, + ); + name = Products; + sourceTree = ""; + }; + EBC33AA02595B47600CD89D7 /* Verdnatura */ = { + isa = PBXGroup; + children = ( + EBC33AA12595B47600CD89D7 /* AppDelegate.swift */, + EBC33AA52595B47600CD89D7 /* ViewController.swift */, + EBC33AA72595B47600CD89D7 /* Main.storyboard */, + EBC33AAA2595B47900CD89D7 /* Assets.xcassets */, + EBC33AAC2595B47900CD89D7 /* LaunchScreen.storyboard */, + EBC33AAF2595B47900CD89D7 /* Info.plist */, + ); + path = Verdnatura; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + EBC33A9D2595B47600CD89D7 /* Verdnatura */ = { + isa = PBXNativeTarget; + buildConfigurationList = EBC33AB22595B47900CD89D7 /* Build configuration list for PBXNativeTarget "Verdnatura" */; + buildPhases = ( + EBC33A9A2595B47600CD89D7 /* Sources */, + EBC33A9B2595B47600CD89D7 /* Frameworks */, + EBC33A9C2595B47600CD89D7 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = Verdnatura; + productName = Verdnatura; + productReference = EBC33A9E2595B47600CD89D7 /* Verdnatura.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + EBC33A962595B47600CD89D7 /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 1210; + LastUpgradeCheck = 1210; + TargetAttributes = { + EBC33A9D2595B47600CD89D7 = { + CreatedOnToolsVersion = 12.1; + }; + }; + }; + buildConfigurationList = EBC33A992595B47600CD89D7 /* Build configuration list for PBXProject "Verdnatura" */; + compatibilityVersion = "Xcode 9.3"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = EBC33A952595B47600CD89D7; + productRefGroup = EBC33A9F2595B47600CD89D7 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + EBC33A9D2595B47600CD89D7 /* Verdnatura */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + EBC33A9C2595B47600CD89D7 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + EBC33AAE2595B47900CD89D7 /* LaunchScreen.storyboard in Resources */, + EBC33AAB2595B47900CD89D7 /* Assets.xcassets in Resources */, + EBC33AA92595B47600CD89D7 /* Main.storyboard in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + EBC33A9A2595B47600CD89D7 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + EBC33AA62595B47600CD89D7 /* ViewController.swift in Sources */, + EBC33AA22595B47600CD89D7 /* AppDelegate.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXVariantGroup section */ + EBC33AA72595B47600CD89D7 /* Main.storyboard */ = { + isa = PBXVariantGroup; + children = ( + EBC33AA82595B47600CD89D7 /* Base */, + ); + name = Main.storyboard; + sourceTree = ""; + }; + EBC33AAC2595B47900CD89D7 /* LaunchScreen.storyboard */ = { + isa = PBXVariantGroup; + children = ( + EBC33AAD2595B47900CD89D7 /* Base */, + ); + name = LaunchScreen.storyboard; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + EBC33AB02595B47900CD89D7 /* 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_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + 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; + 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 = 14.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; + }; + EBC33AB12595B47900CD89D7 /* 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_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + 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; + 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 = 14.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; + }; + EBC33AB32595B47900CD89D7 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 15; + DEVELOPMENT_TEAM = S2MKP69DVN; + INFOPLIST_FILE = Verdnatura/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 2.0.0; + PRODUCT_BUNDLE_IDENTIFIER = com.verdnatura.Verdnaturaventas; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + EBC33AB42595B47900CD89D7 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 15; + DEVELOPMENT_TEAM = S2MKP69DVN; + INFOPLIST_FILE = Verdnatura/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 2.0.0; + PRODUCT_BUNDLE_IDENTIFIER = com.verdnatura.Verdnaturaventas; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + EBC33A992595B47600CD89D7 /* Build configuration list for PBXProject "Verdnatura" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + EBC33AB02595B47900CD89D7 /* Debug */, + EBC33AB12595B47900CD89D7 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + EBC33AB22595B47900CD89D7 /* Build configuration list for PBXNativeTarget "Verdnatura" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + EBC33AB32595B47900CD89D7 /* Debug */, + EBC33AB42595B47900CD89D7 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = EBC33A962595B47600CD89D7 /* Project object */; +} diff --git a/Verdnatura/Verdnatura.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Verdnatura/Verdnatura.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..919434a --- /dev/null +++ b/Verdnatura/Verdnatura.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/Verdnatura/Verdnatura.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/Verdnatura/Verdnatura.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/Verdnatura/Verdnatura.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/Verdnatura/Verdnatura.xcodeproj/project.xcworkspace/xcuserdata/enriqueblascoblanquer.xcuserdatad/UserInterfaceState.xcuserstate b/Verdnatura/Verdnatura.xcodeproj/project.xcworkspace/xcuserdata/enriqueblascoblanquer.xcuserdatad/UserInterfaceState.xcuserstate new file mode 100644 index 0000000..7c9cd3a Binary files /dev/null and b/Verdnatura/Verdnatura.xcodeproj/project.xcworkspace/xcuserdata/enriqueblascoblanquer.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/Verdnatura/Verdnatura.xcodeproj/xcuserdata/enriqueblascoblanquer.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist b/Verdnatura/Verdnatura.xcodeproj/xcuserdata/enriqueblascoblanquer.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist new file mode 100644 index 0000000..23fd0c0 --- /dev/null +++ b/Verdnatura/Verdnatura.xcodeproj/xcuserdata/enriqueblascoblanquer.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist @@ -0,0 +1,6 @@ + + + diff --git a/Verdnatura/Verdnatura.xcodeproj/xcuserdata/enriqueblascoblanquer.xcuserdatad/xcschemes/xcschememanagement.plist b/Verdnatura/Verdnatura.xcodeproj/xcuserdata/enriqueblascoblanquer.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..6e46435 --- /dev/null +++ b/Verdnatura/Verdnatura.xcodeproj/xcuserdata/enriqueblascoblanquer.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,14 @@ + + + + + SchemeUserState + + Verdnatura.xcscheme_^#shared#^_ + + orderHint + 0 + + + + diff --git a/Verdnatura/Verdnatura/.DS_Store b/Verdnatura/Verdnatura/.DS_Store new file mode 100644 index 0000000..df9e8a6 Binary files /dev/null and b/Verdnatura/Verdnatura/.DS_Store differ diff --git a/Verdnatura/Verdnatura/AppDelegate.swift b/Verdnatura/Verdnatura/AppDelegate.swift new file mode 100644 index 0000000..6cc0fe9 --- /dev/null +++ b/Verdnatura/Verdnatura/AppDelegate.swift @@ -0,0 +1,35 @@ +// +// AppDelegate.swift +// Verdnatura +// +// Created by Enrique Blasco Blanquer on 25/12/20. +// + +import UIKit + +@main +class AppDelegate: UIResponder, UIApplicationDelegate { + + var window: UIWindow? + + func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { + // Override point for customization after application launch. + // Get selected language if already there, otherwise check preferred languages on basis of locale if available then set to default language else english + + + self.initRootView() + + return true + } + + func initRootView(){ + // init root controller of application and setting it to window + let storyboard = UIStoryboard(name: "Main", bundle: Bundle.main) + let rootController: UIViewController = storyboard.instantiateViewController(withIdentifier: "appNavigationController") + + window?.rootViewController = rootController + } + + +} + diff --git a/Verdnatura/Verdnatura/Assets.xcassets/AppIcon.appiconset/Contents.json b/Verdnatura/Verdnatura/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..c6e7ccc --- /dev/null +++ b/Verdnatura/Verdnatura/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,112 @@ +{ + "images" : [ + { + "idiom" : "iphone", + "size" : "20x20", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "20x20", + "scale" : "3x" + }, + { + "size" : "29x29", + "idiom" : "iphone", + "filename" : "Icon-Small@2x.png", + "scale" : "2x" + }, + { + "size" : "29x29", + "idiom" : "iphone", + "filename" : "Icon-Small@3x.png", + "scale" : "3x" + }, + { + "size" : "40x40", + "idiom" : "iphone", + "filename" : "Icon-40@2x.png", + "scale" : "2x" + }, + { + "size" : "40x40", + "idiom" : "iphone", + "filename" : "Icon-40@3x.png", + "scale" : "3x" + }, + { + "size" : "60x60", + "idiom" : "iphone", + "filename" : "Icon-60@2x.png", + "scale" : "2x" + }, + { + "size" : "60x60", + "idiom" : "iphone", + "filename" : "Icon-60@3x.png", + "scale" : "3x" + }, + { + "idiom" : "ipad", + "size" : "20x20", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "20x20", + "scale" : "2x" + }, + { + "size" : "29x29", + "idiom" : "ipad", + "filename" : "Icon-Small.png", + "scale" : "1x" + }, + { + "size" : "29x29", + "idiom" : "ipad", + "filename" : "Icon-Small@2x.png", + "scale" : "2x" + }, + { + "size" : "40x40", + "idiom" : "ipad", + "filename" : "Icon-40.png", + "scale" : "1x" + }, + { + "size" : "40x40", + "idiom" : "ipad", + "filename" : "Icon-40@2x.png", + "scale" : "2x" + }, + { + "size" : "76x76", + "idiom" : "ipad", + "filename" : "Icon-76.png", + "scale" : "1x" + }, + { + "size" : "76x76", + "idiom" : "ipad", + "filename" : "Icon-76@2x.png", + "scale" : "2x" + }, + { + "size" : "83.5x83.5", + "idiom" : "ipad", + "filename" : "Icon-83.5@2x.png", + "scale" : "2x" + }, + { + "size" : "1024x1024", + "idiom" : "ios-marketing", + "filename" : "itunnes.png", + "scale" : "1x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/Verdnatura/Verdnatura/Assets.xcassets/AppIcon.appiconset/Icon-40.png b/Verdnatura/Verdnatura/Assets.xcassets/AppIcon.appiconset/Icon-40.png new file mode 100644 index 0000000..d462033 Binary files /dev/null and b/Verdnatura/Verdnatura/Assets.xcassets/AppIcon.appiconset/Icon-40.png differ diff --git a/Verdnatura/Verdnatura/Assets.xcassets/AppIcon.appiconset/Icon-40@2x.png b/Verdnatura/Verdnatura/Assets.xcassets/AppIcon.appiconset/Icon-40@2x.png new file mode 100644 index 0000000..02dfa8b Binary files /dev/null and b/Verdnatura/Verdnatura/Assets.xcassets/AppIcon.appiconset/Icon-40@2x.png differ diff --git a/Verdnatura/Verdnatura/Assets.xcassets/AppIcon.appiconset/Icon-40@3x.png b/Verdnatura/Verdnatura/Assets.xcassets/AppIcon.appiconset/Icon-40@3x.png new file mode 100644 index 0000000..2c83b08 Binary files /dev/null and b/Verdnatura/Verdnatura/Assets.xcassets/AppIcon.appiconset/Icon-40@3x.png differ diff --git a/Verdnatura/Verdnatura/Assets.xcassets/AppIcon.appiconset/Icon-60@2x.png b/Verdnatura/Verdnatura/Assets.xcassets/AppIcon.appiconset/Icon-60@2x.png new file mode 100644 index 0000000..2c83b08 Binary files /dev/null and b/Verdnatura/Verdnatura/Assets.xcassets/AppIcon.appiconset/Icon-60@2x.png differ diff --git a/Verdnatura/Verdnatura/Assets.xcassets/AppIcon.appiconset/Icon-60@3x.png b/Verdnatura/Verdnatura/Assets.xcassets/AppIcon.appiconset/Icon-60@3x.png new file mode 100644 index 0000000..aa89d75 Binary files /dev/null and b/Verdnatura/Verdnatura/Assets.xcassets/AppIcon.appiconset/Icon-60@3x.png differ diff --git a/Verdnatura/Verdnatura/Assets.xcassets/AppIcon.appiconset/Icon-76.png b/Verdnatura/Verdnatura/Assets.xcassets/AppIcon.appiconset/Icon-76.png new file mode 100644 index 0000000..52886d6 Binary files /dev/null and b/Verdnatura/Verdnatura/Assets.xcassets/AppIcon.appiconset/Icon-76.png differ diff --git a/Verdnatura/Verdnatura/Assets.xcassets/AppIcon.appiconset/Icon-76@2x.png b/Verdnatura/Verdnatura/Assets.xcassets/AppIcon.appiconset/Icon-76@2x.png new file mode 100644 index 0000000..bad3934 Binary files /dev/null and b/Verdnatura/Verdnatura/Assets.xcassets/AppIcon.appiconset/Icon-76@2x.png differ diff --git a/Verdnatura/Verdnatura/Assets.xcassets/AppIcon.appiconset/Icon-83.5@2x.png b/Verdnatura/Verdnatura/Assets.xcassets/AppIcon.appiconset/Icon-83.5@2x.png new file mode 100644 index 0000000..e297a97 Binary files /dev/null and b/Verdnatura/Verdnatura/Assets.xcassets/AppIcon.appiconset/Icon-83.5@2x.png differ diff --git a/Verdnatura/Verdnatura/Assets.xcassets/AppIcon.appiconset/Icon-Small.png b/Verdnatura/Verdnatura/Assets.xcassets/AppIcon.appiconset/Icon-Small.png new file mode 100644 index 0000000..5347de6 Binary files /dev/null and b/Verdnatura/Verdnatura/Assets.xcassets/AppIcon.appiconset/Icon-Small.png differ diff --git a/Verdnatura/Verdnatura/Assets.xcassets/AppIcon.appiconset/Icon-Small@2x.png b/Verdnatura/Verdnatura/Assets.xcassets/AppIcon.appiconset/Icon-Small@2x.png new file mode 100644 index 0000000..4125b25 Binary files /dev/null and b/Verdnatura/Verdnatura/Assets.xcassets/AppIcon.appiconset/Icon-Small@2x.png differ diff --git a/Verdnatura/Verdnatura/Assets.xcassets/AppIcon.appiconset/Icon-Small@3x.png b/Verdnatura/Verdnatura/Assets.xcassets/AppIcon.appiconset/Icon-Small@3x.png new file mode 100644 index 0000000..4837b1e Binary files /dev/null and b/Verdnatura/Verdnatura/Assets.xcassets/AppIcon.appiconset/Icon-Small@3x.png differ diff --git a/Verdnatura/Verdnatura/Assets.xcassets/AppIcon.appiconset/itunnes.png b/Verdnatura/Verdnatura/Assets.xcassets/AppIcon.appiconset/itunnes.png new file mode 100644 index 0000000..8b5e3b0 Binary files /dev/null and b/Verdnatura/Verdnatura/Assets.xcassets/AppIcon.appiconset/itunnes.png differ diff --git a/Verdnatura/Verdnatura/Assets.xcassets/Contents.json b/Verdnatura/Verdnatura/Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/Verdnatura/Verdnatura/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Verdnatura/Verdnatura/Assets.xcassets/back.imageset/Contents.json b/Verdnatura/Verdnatura/Assets.xcassets/back.imageset/Contents.json new file mode 100644 index 0000000..445f333 --- /dev/null +++ b/Verdnatura/Verdnatura/Assets.xcassets/back.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "scale" : "1x" + }, + { + "filename" : "keyboard_backspace-24px.png", + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Verdnatura/Verdnatura/Assets.xcassets/back.imageset/keyboard_backspace-24px.png b/Verdnatura/Verdnatura/Assets.xcassets/back.imageset/keyboard_backspace-24px.png new file mode 100644 index 0000000..02c5d60 Binary files /dev/null and b/Verdnatura/Verdnatura/Assets.xcassets/back.imageset/keyboard_backspace-24px.png differ diff --git a/Verdnatura/Verdnatura/Assets.xcassets/logo.imageset/Contents.json b/Verdnatura/Verdnatura/Assets.xcassets/logo.imageset/Contents.json new file mode 100644 index 0000000..31211da --- /dev/null +++ b/Verdnatura/Verdnatura/Assets.xcassets/logo.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "filename" : "LogoIcon_Verdnatura.png", + "idiom" : "universal", + "scale" : "1x" + }, + { + "filename" : "LogoIcon_Verdnatura2.png", + "idiom" : "universal", + "scale" : "2x" + }, + { + "filename" : "LogoIcon_Verdnatura3.png", + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Verdnatura/Verdnatura/Assets.xcassets/logo.imageset/LogoIcon_Verdnatura.png b/Verdnatura/Verdnatura/Assets.xcassets/logo.imageset/LogoIcon_Verdnatura.png new file mode 100644 index 0000000..4cb0326 Binary files /dev/null and b/Verdnatura/Verdnatura/Assets.xcassets/logo.imageset/LogoIcon_Verdnatura.png differ diff --git a/Verdnatura/Verdnatura/Assets.xcassets/logo.imageset/LogoIcon_Verdnatura2.png b/Verdnatura/Verdnatura/Assets.xcassets/logo.imageset/LogoIcon_Verdnatura2.png new file mode 100644 index 0000000..38e4361 Binary files /dev/null and b/Verdnatura/Verdnatura/Assets.xcassets/logo.imageset/LogoIcon_Verdnatura2.png differ diff --git a/Verdnatura/Verdnatura/Assets.xcassets/logo.imageset/LogoIcon_Verdnatura3.png b/Verdnatura/Verdnatura/Assets.xcassets/logo.imageset/LogoIcon_Verdnatura3.png new file mode 100644 index 0000000..6c7caf7 Binary files /dev/null and b/Verdnatura/Verdnatura/Assets.xcassets/logo.imageset/LogoIcon_Verdnatura3.png differ diff --git a/Verdnatura/Verdnatura/Base.lproj/LaunchScreen.storyboard b/Verdnatura/Verdnatura/Base.lproj/LaunchScreen.storyboard new file mode 100644 index 0000000..86d6c12 --- /dev/null +++ b/Verdnatura/Verdnatura/Base.lproj/LaunchScreen.storyboard @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Verdnatura/Verdnatura/Base.lproj/Main.storyboard b/Verdnatura/Verdnatura/Base.lproj/Main.storyboard new file mode 100644 index 0000000..6fdb735 --- /dev/null +++ b/Verdnatura/Verdnatura/Base.lproj/Main.storyboard @@ -0,0 +1,110 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Verdnatura/Verdnatura/Info.plist b/Verdnatura/Verdnatura/Info.plist new file mode 100644 index 0000000..a57993a --- /dev/null +++ b/Verdnatura/Verdnatura/Info.plist @@ -0,0 +1,48 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + $(PRODUCT_BUNDLE_PACKAGE_TYPE) + CFBundleShortVersionString + $(MARKETING_VERSION) + CFBundleVersion + $(CURRENT_PROJECT_VERSION) + LSRequiresIPhoneOS + + UIApplicationSupportsIndirectInputEvents + + UILaunchStoryboardName + LaunchScreen + UIMainStoryboardFile + Main + UIRequiredDeviceCapabilities + + armv7 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + UIInterfaceOrientationPortraitUpsideDown + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + + diff --git a/Verdnatura/Verdnatura/ViewController.swift b/Verdnatura/Verdnatura/ViewController.swift new file mode 100644 index 0000000..4c80e36 --- /dev/null +++ b/Verdnatura/Verdnatura/ViewController.swift @@ -0,0 +1,41 @@ +// +// ViewController.swift +// Verdnatura +// +// Created by Enrique Blasco Blanquer on 25/12/20. +// + +import UIKit + +class ViewController: UIViewController ,UIWebViewDelegate{ + @IBOutlet weak var webView: UIWebView! + @IBOutlet weak var loadingview: UIView! + @IBOutlet weak var btnBack: UIButton! + + + override func viewDidLoad() { + super.viewDidLoad() + self.webView.delegate = self + } + + override func viewDidAppear(_ animated: Bool) { + let url = URL (string: "https://www.verdnatura.es/") + let requestObj = URLRequest(url: url!) + webView.loadRequest(requestObj) + } + + func webViewDidStartLoad(_ webView: UIWebView) { + loadingview.isHidden = false + + } + + func webViewDidFinishLoad(_ webView: UIWebView) { + loadingview.isHidden = true + } + + @IBAction func goBack(_ sender: Any) { + self.webView.goBack() + } + +} +