├── .gitignore ├── LICENSE ├── README.md ├── openweathermap-ios ├── .gitignore ├── .swiftlint.yml ├── openweathermap-ios.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist └── openweathermap-ios │ ├── AppDelegate.swift │ ├── Base.lproj │ └── Main.storyboard │ ├── Maps │ ├── Model │ │ ├── Annotation.swift │ │ └── AnnotationView.swift │ └── ViewControllers │ │ └── MapViewController.swift │ ├── Support Files │ ├── Assets.xcassets │ │ ├── AppIcon.appiconset │ │ │ └── Contents.json │ │ └── Contents.json │ ├── Base.lproj │ │ └── LaunchScreen.storyboard │ └── Info.plist │ └── en.lproj │ └── Localizable.strings └── readme ├── bookmark_detail.png ├── bookmarked_location.png ├── bookmarked_showing.png ├── logo.png └── map_view.png /.gitignore: -------------------------------------------------------------------------------- 1 | 2 | # Created by https://www.gitignore.io/api/swift,cocoapods 3 | # Edit at https://www.gitignore.io/?templates=swift,cocoapods 4 | 5 | ### CocoaPods ### 6 | ## CocoaPods GitIgnore Template 7 | 8 | # CocoaPods - Only use to conserve bandwidth / Save time on Pushing 9 | # - Also handy if you have a large number of dependant pods 10 | # - AS PER https://guides.cocoapods.org/using/using-cocoapods.html NEVER IGNORE THE LOCK FILE 11 | Pods/ 12 | 13 | ### Swift ### 14 | # Xcode 15 | # 16 | # gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore 17 | 18 | ## Build generated 19 | build/ 20 | DerivedData/ 21 | 22 | ## Various settings 23 | *.pbxuser 24 | !default.pbxuser 25 | *.mode1v3 26 | !default.mode1v3 27 | *.mode2v3 28 | !default.mode2v3 29 | *.perspectivev3 30 | !default.perspectivev3 31 | xcuserdata/ 32 | 33 | ## Other 34 | *.moved-aside 35 | *.xccheckout 36 | *.xcscmblueprint 37 | 38 | ## Obj-C/Swift specific 39 | *.hmap 40 | *.ipa 41 | *.dSYM.zip 42 | *.dSYM 43 | 44 | ## Playgrounds 45 | timeline.xctimeline 46 | playground.xcworkspace 47 | 48 | # Swift Package Manager 49 | # Add this line if you want to avoid checking in source code from Swift Package Manager dependencies. 50 | # Packages/ 51 | # Package.pins 52 | # Package.resolved 53 | .build/ 54 | # Add this line if you want to avoid checking in Xcode SPM integration. 55 | # .swiftpm/xcode 56 | 57 | # CocoaPods 58 | # We recommend against adding the Pods directory to your .gitignore. However 59 | # you should judge for yourself, the pros and cons are mentioned at: 60 | # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control 61 | # Pods/ 62 | # Add this line if you want to avoid checking in source code from the Xcode workspace 63 | # *.xcworkspace 64 | 65 | # Carthage 66 | # Add this line if you want to avoid checking in source code from Carthage dependencies. 67 | # Carthage/Checkouts 68 | 69 | Carthage/Build 70 | 71 | # Accio dependency management 72 | Dependencies/ 73 | .accio/ 74 | 75 | # fastlane 76 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 77 | # screenshots whenever they are needed. 78 | # For more information about the recommended setup visit: 79 | # https://docs.fastlane.tools/best-practices/source-control/#source-control 80 | 81 | fastlane/report.xml 82 | fastlane/Preview.html 83 | fastlane/screenshots/**/*.png 84 | fastlane/test_output 85 | 86 | # Code Injection 87 | # After new code Injection tools there's a generated folder /iOSInjectionProject 88 | # https://github.com/johnno1962/injectionforxcode 89 | 90 | iOSInjectionProject/ 91 | 92 | # End of https://www.gitignore.io/api/swift,cocoapods -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2020 Lucas Montano 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |

2 | 3 | Open Weather Logo 4 | 5 |

6 | 7 |

8 | iOS OpenWeather App 9 |

10 | 11 |

OpenWeather is a project created by Lucas Montano initially as an One-Day-Challange, then he decided to create an Open Source project to help his followers and everyone getting started with Open Source world world building a basic but very strategic application!

12 | 13 |

14 | 15 | Made by Lucas Montano 16 | 17 | 18 | Last Commit 19 | 20 | Contributors 21 | 22 | License 23 |

24 | 25 | 26 | 27 | --- 28 | 29 | ## Table of Contents 30 | 31 | 39 | 40 | --- 41 | 42 | ## 🚀 Getting Started 43 | 44 | ### Prerequisites 45 | 46 | - To run any iOS application built with Swift you need to configure the environment on your machine. 47 | 48 | - Xcode 11.0, * 49 | - Homebrew 50 | 51 | ### Clone 52 | 53 | - Clone this repo to your local machine using: 54 | 55 | ``` 56 | https://github.com/lucasmontano/openweathermap-ios 57 | ``` 58 | 59 | ### Setup 60 | 61 | #### iOS (_MAC Only_) 62 | 63 | > Needs complementation 64 | 65 | --- 66 | 67 | ## 📋 Features 68 | 69 | ### Documentation 70 | 71 | - [ ] Explore the Earth Weather forecast (Real Time) 72 | - [ ] Check detailed information about the weather by coordinates (lat, lon) 73 | - [ ] Bookmark a location 74 | - [ ] Visualize all bookmarked locations in the map 75 | - [ ] Remove a bookmark 76 | - [ ] Data Cache 77 | - [ ] Theme Switcher (Light/Dark Mode) 78 | - [ ] One way data flow (implement a state reducer) 79 | - [ ] Unique source of truth, implementing a centralized repository 80 | - [ ] Search functionality 81 | - [ ] Five+ days forecast 82 | - [ ] Write some tests (of course) 83 | 84 | ### Build with 85 | 86 | - Core: 87 | - [Swift](https://www.apple.com/swift/) - A powerful open language that lets everyone build amazing apps. 88 | - Linting: 89 | - [SwiftLint](https://realm.github.io/SwiftLint/) - A tool to enforce Swift style and conventions. 90 | 91 | --- 92 | 93 | ## 🤔 Contributing 94 | 95 | > To get started... 96 | 97 | ### Step 1 98 | 99 | - 🍴 Fork this repo! 100 | 101 | ### Step 2 102 | 103 | - 👯 Clone this repo to your local machine using `https://github.com/luacasmontano/openweathermap-ios.git` 104 | 105 | ### Step 3 106 | 107 | - :art: Install SwiftLint with homebrew using `brew install swiftlint` 108 | 109 | ### Step 4 110 | 111 | - 🎋 Create your feature branch using `git checkout -b my-feature` 112 | 113 | ### Step 5 114 | 115 | - ✅ Commit your changes using `git commit -m 'feat: My new feature'`; 116 | 117 | ### Step 6 118 | 119 | - 📌 Push to the branch using `git push origin my-feature`; 120 | 121 | ### Step 7 122 | 123 | - 🔃 Create a new pull request 124 | 125 | After your Pull Request is merged, can you delete your feature branch. 126 | 127 | --- 128 | 129 | ## 📌 Support 130 | 131 | Reach out to me at one of the following places! 132 | 133 | - Twitter at [@lucas_montano](https://twitter.com/lucas_montano) 134 | - Instagram at [@lucasmontano](https://www.instagram.com/lucasmontano/) 135 | - Linkedin at [Lucas Montano](https://www.linkedin.com/in/lucasmontano/) 136 | - Youtube at [Lucas Montano](https://www.youtube.com/lucasmontano) 137 | 138 | --- 139 | 140 | ## 📝 License 141 | 142 | License 143 | 144 | This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details. 145 | 146 | --- 147 | 148 | ## ⚒ Other Platforms 149 | 150 | Open Weather on Other Platforms: 151 | 152 | - Android: https://github.com/lucasmontano/openweathermap 153 | - React Native: https://github.com/lucasmontano/openweathermap-reactnative 154 | - Flutter: https://github.com/lucasmontano/openweathermap-flutter 155 | 156 | --- 157 | 158 | Made with ♥ Enjoy it! 159 | -------------------------------------------------------------------------------- /openweathermap-ios/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | -------------------------------------------------------------------------------- /openweathermap-ios/.swiftlint.yml: -------------------------------------------------------------------------------- 1 | whitelist_rules: 2 | - closure_spacing 3 | - colon 4 | - empty_enum_arguments 5 | - fatal_error_message 6 | - force_cast 7 | - force_try 8 | - force_unwrapping 9 | - implicitly_unwrapped_optional 10 | - legacy_cggeometry_functions 11 | - legacy_constant 12 | - legacy_constructor 13 | - legacy_nsgeometry_functions 14 | - operator_usage_whitespace 15 | - redundant_string_enum_value 16 | - redundant_void_return 17 | - return_arrow_whitespace 18 | - trailing_newline 19 | - type_name 20 | - unused_closure_parameter 21 | - unused_optional_binding 22 | - vertical_whitespace 23 | - void_return 24 | - indentation 25 | 26 | excluded: 27 | - Carthage 28 | - Pods 29 | 30 | colon: 31 | apply_to_dictionaries: false 32 | 33 | indentation: 4 -------------------------------------------------------------------------------- /openweathermap-ios/openweathermap-ios.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 50; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 36EC2D42241FA11100A168F4 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 36EC2D41241FA11100A168F4 /* AppDelegate.swift */; }; 11 | 36EC2D49241FA11100A168F4 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 36EC2D47241FA11100A168F4 /* Main.storyboard */; }; 12 | 36EC2D4B241FA11300A168F4 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 36EC2D4A241FA11300A168F4 /* Assets.xcassets */; }; 13 | 36EC2D4E241FA11300A168F4 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 36EC2D4C241FA11300A168F4 /* LaunchScreen.storyboard */; }; 14 | 557BB3BC242545D3004B5037 /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = 557BB3BE242545D3004B5037 /* Localizable.strings */; }; 15 | 5587459024202F27001A2DE3 /* MapViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5587458F24202F27001A2DE3 /* MapViewController.swift */; }; 16 | 55E0C702242BDCA7004AE9D4 /* Annotation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 55E0C701242BDCA6004AE9D4 /* Annotation.swift */; }; 17 | 55E0C704242BDCEA004AE9D4 /* AnnotationView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 55E0C703242BDCEA004AE9D4 /* AnnotationView.swift */; }; 18 | /* End PBXBuildFile section */ 19 | 20 | /* Begin PBXFileReference section */ 21 | 36EC2D3E241FA11100A168F4 /* openweathermap-ios.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "openweathermap-ios.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 22 | 36EC2D41241FA11100A168F4 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 23 | 36EC2D48241FA11100A168F4 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 24 | 36EC2D4A241FA11300A168F4 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 25 | 36EC2D4D241FA11300A168F4 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 26 | 36EC2D4F241FA11300A168F4 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 27 | 557BB3BD242545D3004B5037 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/Localizable.strings; sourceTree = ""; }; 28 | 5587458F24202F27001A2DE3 /* MapViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = MapViewController.swift; path = "openweathermap-ios/Maps/ViewControllers/MapViewController.swift"; sourceTree = SOURCE_ROOT; }; 29 | 55E0C701242BDCA6004AE9D4 /* Annotation.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Annotation.swift; sourceTree = ""; }; 30 | 55E0C703242BDCEA004AE9D4 /* AnnotationView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AnnotationView.swift; sourceTree = ""; }; 31 | /* End PBXFileReference section */ 32 | 33 | /* Begin PBXFrameworksBuildPhase section */ 34 | 36EC2D3B241FA11100A168F4 /* Frameworks */ = { 35 | isa = PBXFrameworksBuildPhase; 36 | buildActionMask = 2147483647; 37 | files = ( 38 | ); 39 | runOnlyForDeploymentPostprocessing = 0; 40 | }; 41 | /* End PBXFrameworksBuildPhase section */ 42 | 43 | /* Begin PBXGroup section */ 44 | 36EC2D35241FA11100A168F4 = { 45 | isa = PBXGroup; 46 | children = ( 47 | 36EC2D40241FA11100A168F4 /* openweathermap-ios */, 48 | 36EC2D3F241FA11100A168F4 /* Products */, 49 | ); 50 | sourceTree = ""; 51 | }; 52 | 36EC2D3F241FA11100A168F4 /* Products */ = { 53 | isa = PBXGroup; 54 | children = ( 55 | 36EC2D3E241FA11100A168F4 /* openweathermap-ios.app */, 56 | ); 57 | name = Products; 58 | sourceTree = ""; 59 | }; 60 | 36EC2D40241FA11100A168F4 /* openweathermap-ios */ = { 61 | isa = PBXGroup; 62 | children = ( 63 | 55E0C6FF242BDC48004AE9D4 /* Maps */, 64 | 36EC2D41241FA11100A168F4 /* AppDelegate.swift */, 65 | 36EC2D47241FA11100A168F4 /* Main.storyboard */, 66 | 557BB3BE242545D3004B5037 /* Localizable.strings */, 67 | 36EC2D55241FAA1000A168F4 /* Support Files */, 68 | ); 69 | path = "openweathermap-ios"; 70 | sourceTree = ""; 71 | }; 72 | 36EC2D55241FAA1000A168F4 /* Support Files */ = { 73 | isa = PBXGroup; 74 | children = ( 75 | 36EC2D4F241FA11300A168F4 /* Info.plist */, 76 | 36EC2D4A241FA11300A168F4 /* Assets.xcassets */, 77 | 36EC2D4C241FA11300A168F4 /* LaunchScreen.storyboard */, 78 | ); 79 | path = "Support Files"; 80 | sourceTree = ""; 81 | }; 82 | 559ECD21242CEBFC00A5485C /* ViewControllers */ = { 83 | isa = PBXGroup; 84 | children = ( 85 | 5587458F24202F27001A2DE3 /* MapViewController.swift */, 86 | ); 87 | path = ViewControllers; 88 | sourceTree = ""; 89 | }; 90 | 55E0C6FF242BDC48004AE9D4 /* Maps */ = { 91 | isa = PBXGroup; 92 | children = ( 93 | 55E0C700242BDC81004AE9D4 /* Model */, 94 | 559ECD21242CEBFC00A5485C /* ViewControllers */, 95 | ); 96 | path = Maps; 97 | sourceTree = ""; 98 | }; 99 | 55E0C700242BDC81004AE9D4 /* Model */ = { 100 | isa = PBXGroup; 101 | children = ( 102 | 55E0C701242BDCA6004AE9D4 /* Annotation.swift */, 103 | 55E0C703242BDCEA004AE9D4 /* AnnotationView.swift */, 104 | ); 105 | path = Model; 106 | sourceTree = ""; 107 | }; 108 | /* End PBXGroup section */ 109 | 110 | /* Begin PBXNativeTarget section */ 111 | 36EC2D3D241FA11100A168F4 /* openweathermap-ios */ = { 112 | isa = PBXNativeTarget; 113 | buildConfigurationList = 36EC2D52241FA11300A168F4 /* Build configuration list for PBXNativeTarget "openweathermap-ios" */; 114 | buildPhases = ( 115 | 36EC2D3A241FA11100A168F4 /* Sources */, 116 | 36EC2D3B241FA11100A168F4 /* Frameworks */, 117 | 36EC2D3C241FA11100A168F4 /* Resources */, 118 | 853FE77A2439850C00CA1BBE /* ShellScript */, 119 | ); 120 | buildRules = ( 121 | ); 122 | dependencies = ( 123 | ); 124 | name = "openweathermap-ios"; 125 | productName = "openweathermap-ios"; 126 | productReference = 36EC2D3E241FA11100A168F4 /* openweathermap-ios.app */; 127 | productType = "com.apple.product-type.application"; 128 | }; 129 | /* End PBXNativeTarget section */ 130 | 131 | /* Begin PBXProject section */ 132 | 36EC2D36241FA11100A168F4 /* Project object */ = { 133 | isa = PBXProject; 134 | attributes = { 135 | LastSwiftUpdateCheck = 1130; 136 | LastUpgradeCheck = 1130; 137 | TargetAttributes = { 138 | 36EC2D3D241FA11100A168F4 = { 139 | CreatedOnToolsVersion = 11.3; 140 | }; 141 | }; 142 | }; 143 | buildConfigurationList = 36EC2D39241FA11100A168F4 /* Build configuration list for PBXProject "openweathermap-ios" */; 144 | compatibilityVersion = "Xcode 9.3"; 145 | developmentRegion = en; 146 | hasScannedForEncodings = 0; 147 | knownRegions = ( 148 | en, 149 | Base, 150 | ); 151 | mainGroup = 36EC2D35241FA11100A168F4; 152 | productRefGroup = 36EC2D3F241FA11100A168F4 /* Products */; 153 | projectDirPath = ""; 154 | projectRoot = ""; 155 | targets = ( 156 | 36EC2D3D241FA11100A168F4 /* openweathermap-ios */, 157 | ); 158 | }; 159 | /* End PBXProject section */ 160 | 161 | /* Begin PBXResourcesBuildPhase section */ 162 | 36EC2D3C241FA11100A168F4 /* Resources */ = { 163 | isa = PBXResourcesBuildPhase; 164 | buildActionMask = 2147483647; 165 | files = ( 166 | 36EC2D4E241FA11300A168F4 /* LaunchScreen.storyboard in Resources */, 167 | 557BB3BC242545D3004B5037 /* Localizable.strings in Resources */, 168 | 36EC2D4B241FA11300A168F4 /* Assets.xcassets in Resources */, 169 | 36EC2D49241FA11100A168F4 /* Main.storyboard in Resources */, 170 | ); 171 | runOnlyForDeploymentPostprocessing = 0; 172 | }; 173 | /* End PBXResourcesBuildPhase section */ 174 | 175 | /* Begin PBXShellScriptBuildPhase section */ 176 | 853FE77A2439850C00CA1BBE /* ShellScript */ = { 177 | isa = PBXShellScriptBuildPhase; 178 | buildActionMask = 2147483647; 179 | files = ( 180 | ); 181 | inputFileListPaths = ( 182 | ); 183 | inputPaths = ( 184 | ); 185 | outputFileListPaths = ( 186 | ); 187 | outputPaths = ( 188 | ); 189 | runOnlyForDeploymentPostprocessing = 0; 190 | shellPath = /bin/sh; 191 | shellScript = "if which swiftlint >/dev/null; then\n swiftlint\nelse\n echo \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi\n"; 192 | }; 193 | /* End PBXShellScriptBuildPhase section */ 194 | 195 | /* Begin PBXSourcesBuildPhase section */ 196 | 36EC2D3A241FA11100A168F4 /* Sources */ = { 197 | isa = PBXSourcesBuildPhase; 198 | buildActionMask = 2147483647; 199 | files = ( 200 | 36EC2D42241FA11100A168F4 /* AppDelegate.swift in Sources */, 201 | 55E0C704242BDCEA004AE9D4 /* AnnotationView.swift in Sources */, 202 | 55E0C702242BDCA7004AE9D4 /* Annotation.swift in Sources */, 203 | 5587459024202F27001A2DE3 /* MapViewController.swift in Sources */, 204 | ); 205 | runOnlyForDeploymentPostprocessing = 0; 206 | }; 207 | /* End PBXSourcesBuildPhase section */ 208 | 209 | /* Begin PBXVariantGroup section */ 210 | 36EC2D47241FA11100A168F4 /* Main.storyboard */ = { 211 | isa = PBXVariantGroup; 212 | children = ( 213 | 36EC2D48241FA11100A168F4 /* Base */, 214 | ); 215 | name = Main.storyboard; 216 | sourceTree = ""; 217 | }; 218 | 36EC2D4C241FA11300A168F4 /* LaunchScreen.storyboard */ = { 219 | isa = PBXVariantGroup; 220 | children = ( 221 | 36EC2D4D241FA11300A168F4 /* Base */, 222 | ); 223 | name = LaunchScreen.storyboard; 224 | sourceTree = ""; 225 | }; 226 | 557BB3BE242545D3004B5037 /* Localizable.strings */ = { 227 | isa = PBXVariantGroup; 228 | children = ( 229 | 557BB3BD242545D3004B5037 /* en */, 230 | ); 231 | name = Localizable.strings; 232 | sourceTree = ""; 233 | }; 234 | /* End PBXVariantGroup section */ 235 | 236 | /* Begin XCBuildConfiguration section */ 237 | 36EC2D50241FA11300A168F4 /* Debug */ = { 238 | isa = XCBuildConfiguration; 239 | buildSettings = { 240 | ALWAYS_SEARCH_USER_PATHS = NO; 241 | CLANG_ANALYZER_NONNULL = YES; 242 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 243 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 244 | CLANG_CXX_LIBRARY = "libc++"; 245 | CLANG_ENABLE_MODULES = YES; 246 | CLANG_ENABLE_OBJC_ARC = YES; 247 | CLANG_ENABLE_OBJC_WEAK = YES; 248 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 249 | CLANG_WARN_BOOL_CONVERSION = YES; 250 | CLANG_WARN_COMMA = YES; 251 | CLANG_WARN_CONSTANT_CONVERSION = YES; 252 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 253 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 254 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 255 | CLANG_WARN_EMPTY_BODY = YES; 256 | CLANG_WARN_ENUM_CONVERSION = YES; 257 | CLANG_WARN_INFINITE_RECURSION = YES; 258 | CLANG_WARN_INT_CONVERSION = YES; 259 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 260 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 261 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 262 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 263 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 264 | CLANG_WARN_STRICT_PROTOTYPES = YES; 265 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 266 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 267 | CLANG_WARN_UNREACHABLE_CODE = YES; 268 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 269 | COPY_PHASE_STRIP = NO; 270 | DEBUG_INFORMATION_FORMAT = dwarf; 271 | ENABLE_STRICT_OBJC_MSGSEND = YES; 272 | ENABLE_TESTABILITY = YES; 273 | GCC_C_LANGUAGE_STANDARD = gnu11; 274 | GCC_DYNAMIC_NO_PIC = NO; 275 | GCC_NO_COMMON_BLOCKS = YES; 276 | GCC_OPTIMIZATION_LEVEL = 0; 277 | GCC_PREPROCESSOR_DEFINITIONS = ( 278 | "DEBUG=1", 279 | "$(inherited)", 280 | ); 281 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 282 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 283 | GCC_WARN_UNDECLARED_SELECTOR = YES; 284 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 285 | GCC_WARN_UNUSED_FUNCTION = YES; 286 | GCC_WARN_UNUSED_VARIABLE = YES; 287 | IPHONEOS_DEPLOYMENT_TARGET = 13.2; 288 | MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; 289 | MTL_FAST_MATH = YES; 290 | ONLY_ACTIVE_ARCH = YES; 291 | SDKROOT = iphoneos; 292 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 293 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 294 | }; 295 | name = Debug; 296 | }; 297 | 36EC2D51241FA11300A168F4 /* Release */ = { 298 | isa = XCBuildConfiguration; 299 | buildSettings = { 300 | ALWAYS_SEARCH_USER_PATHS = NO; 301 | CLANG_ANALYZER_NONNULL = YES; 302 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 303 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 304 | CLANG_CXX_LIBRARY = "libc++"; 305 | CLANG_ENABLE_MODULES = YES; 306 | CLANG_ENABLE_OBJC_ARC = YES; 307 | CLANG_ENABLE_OBJC_WEAK = YES; 308 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 309 | CLANG_WARN_BOOL_CONVERSION = YES; 310 | CLANG_WARN_COMMA = YES; 311 | CLANG_WARN_CONSTANT_CONVERSION = YES; 312 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 313 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 314 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 315 | CLANG_WARN_EMPTY_BODY = YES; 316 | CLANG_WARN_ENUM_CONVERSION = YES; 317 | CLANG_WARN_INFINITE_RECURSION = YES; 318 | CLANG_WARN_INT_CONVERSION = YES; 319 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 320 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 321 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 322 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 323 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 324 | CLANG_WARN_STRICT_PROTOTYPES = YES; 325 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 326 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 327 | CLANG_WARN_UNREACHABLE_CODE = YES; 328 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 329 | COPY_PHASE_STRIP = NO; 330 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 331 | ENABLE_NS_ASSERTIONS = NO; 332 | ENABLE_STRICT_OBJC_MSGSEND = YES; 333 | GCC_C_LANGUAGE_STANDARD = gnu11; 334 | GCC_NO_COMMON_BLOCKS = YES; 335 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 336 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 337 | GCC_WARN_UNDECLARED_SELECTOR = YES; 338 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 339 | GCC_WARN_UNUSED_FUNCTION = YES; 340 | GCC_WARN_UNUSED_VARIABLE = YES; 341 | IPHONEOS_DEPLOYMENT_TARGET = 13.2; 342 | MTL_ENABLE_DEBUG_INFO = NO; 343 | MTL_FAST_MATH = YES; 344 | SDKROOT = iphoneos; 345 | SWIFT_COMPILATION_MODE = wholemodule; 346 | SWIFT_OPTIMIZATION_LEVEL = "-O"; 347 | VALIDATE_PRODUCT = YES; 348 | }; 349 | name = Release; 350 | }; 351 | 36EC2D53241FA11300A168F4 /* Debug */ = { 352 | isa = XCBuildConfiguration; 353 | buildSettings = { 354 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 355 | CODE_SIGN_STYLE = Manual; 356 | CURRENT_PROJECT_VERSION = 1; 357 | INFOPLIST_FILE = "openweathermap-ios/Support Files/Info.plist"; 358 | LD_RUNPATH_SEARCH_PATHS = ( 359 | "$(inherited)", 360 | "@executable_path/Frameworks", 361 | ); 362 | MARKETING_VERSION = 1.0.0; 363 | PRODUCT_BUNDLE_IDENTIFIER = "com.example.openweathermap-ios"; 364 | PRODUCT_NAME = "$(TARGET_NAME)"; 365 | SWIFT_VERSION = 5.0; 366 | TARGETED_DEVICE_FAMILY = "1,2"; 367 | }; 368 | name = Debug; 369 | }; 370 | 36EC2D54241FA11300A168F4 /* Release */ = { 371 | isa = XCBuildConfiguration; 372 | buildSettings = { 373 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 374 | CODE_SIGN_STYLE = Manual; 375 | CURRENT_PROJECT_VERSION = 1; 376 | INFOPLIST_FILE = "openweathermap-ios/Support Files/Info.plist"; 377 | LD_RUNPATH_SEARCH_PATHS = ( 378 | "$(inherited)", 379 | "@executable_path/Frameworks", 380 | ); 381 | MARKETING_VERSION = 1.0.0; 382 | PRODUCT_BUNDLE_IDENTIFIER = "com.example.openweathermap-ios"; 383 | PRODUCT_NAME = "$(TARGET_NAME)"; 384 | SWIFT_VERSION = 5.0; 385 | TARGETED_DEVICE_FAMILY = "1,2"; 386 | }; 387 | name = Release; 388 | }; 389 | /* End XCBuildConfiguration section */ 390 | 391 | /* Begin XCConfigurationList section */ 392 | 36EC2D39241FA11100A168F4 /* Build configuration list for PBXProject "openweathermap-ios" */ = { 393 | isa = XCConfigurationList; 394 | buildConfigurations = ( 395 | 36EC2D50241FA11300A168F4 /* Debug */, 396 | 36EC2D51241FA11300A168F4 /* Release */, 397 | ); 398 | defaultConfigurationIsVisible = 0; 399 | defaultConfigurationName = Release; 400 | }; 401 | 36EC2D52241FA11300A168F4 /* Build configuration list for PBXNativeTarget "openweathermap-ios" */ = { 402 | isa = XCConfigurationList; 403 | buildConfigurations = ( 404 | 36EC2D53241FA11300A168F4 /* Debug */, 405 | 36EC2D54241FA11300A168F4 /* Release */, 406 | ); 407 | defaultConfigurationIsVisible = 0; 408 | defaultConfigurationName = Release; 409 | }; 410 | /* End XCConfigurationList section */ 411 | }; 412 | rootObject = 36EC2D36241FA11100A168F4 /* Project object */; 413 | } 414 | -------------------------------------------------------------------------------- /openweathermap-ios/openweathermap-ios.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /openweathermap-ios/openweathermap-ios.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /openweathermap-ios/openweathermap-ios/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // openweathermap-ios 4 | // 5 | 6 | import UIKit 7 | 8 | @UIApplicationMain 9 | class AppDelegate: UIResponder, UIApplicationDelegate { 10 | 11 | var window: UIWindow? 12 | 13 | func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { 14 | return true 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /openweathermap-ios/openweathermap-ios/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /openweathermap-ios/openweathermap-ios/Maps/Model/Annotation.swift: -------------------------------------------------------------------------------- 1 | import MapKit 2 | 3 | final class Annotation: NSObject, MKAnnotation { 4 | let coordinate: CLLocationCoordinate2D 5 | let title: String? 6 | let subtitle: String? 7 | 8 | init(coordinate: CLLocationCoordinate2D, title: String, subtitle: String) { 9 | self.coordinate = coordinate 10 | self.title = title 11 | self.subtitle = subtitle 12 | } 13 | 14 | func image() -> UIImage { 15 | guard let image = UIImage(systemName: "mappin") else { return UIImage() } 16 | return image 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /openweathermap-ios/openweathermap-ios/Maps/Model/AnnotationView.swift: -------------------------------------------------------------------------------- 1 | import MapKit 2 | 3 | final class AnnotationView: MKAnnotationView { 4 | required init?(coder aDecoder: NSCoder) { 5 | super.init(coder: aDecoder) 6 | } 7 | 8 | override init(annotation: MKAnnotation?, reuseIdentifier: String?) { 9 | super.init(annotation: annotation, reuseIdentifier: reuseIdentifier) 10 | guard let attractionAnnotation = self.annotation as? Annotation else { return } 11 | image = attractionAnnotation.image() 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /openweathermap-ios/openweathermap-ios/Maps/ViewControllers/MapViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // MapViewController.swift 3 | // openweathermap-ios 4 | // 5 | 6 | import UIKit 7 | import MapKit 8 | 9 | final class MapViewController: UIViewController { 10 | 11 | @IBOutlet private weak var mapView: MKMapView! 12 | private let locationManager = CLLocationManager() 13 | 14 | override func viewDidLoad() { 15 | super.viewDidLoad() 16 | 17 | mapView.delegate = self 18 | locationManager.delegate = self 19 | locationManager.desiredAccuracy = kCLLocationAccuracyBest 20 | locationManager.requestWhenInUseAuthorization() 21 | locationManager.startUpdatingLocation() 22 | } 23 | 24 | func updateAnnotation(location: CLLocationCoordinate2D) { 25 | let annotation = Annotation(coordinate: location, title: "Rio Grande", subtitle: "Mostly Cloudy") 26 | if let removeAnnotation = mapView.annotations.first { 27 | mapView.removeAnnotation(removeAnnotation) 28 | } 29 | mapView.addAnnotation(annotation) 30 | } 31 | 32 | func updateTarget(location: CLLocationCoordinate2D) { 33 | let circleCenter = MKCircle(center: location, radius: 5) 34 | let circleEdge = MKCircle(center: location, radius: 50) 35 | 36 | mapView.overlays.forEach { overlay in 37 | if overlay is MKCircle { 38 | mapView.removeOverlay(overlay) 39 | } 40 | } 41 | mapView.addOverlay(circleCenter) 42 | mapView.addOverlay(circleEdge) 43 | } 44 | } 45 | 46 | extension MapViewController: MKMapViewDelegate { 47 | func mapView(_ mapView: MKMapView, rendererFor overlay: MKOverlay) -> MKOverlayRenderer { 48 | guard overlay is MKCircle else { 49 | return MKOverlayRenderer() 50 | } 51 | let renderer = MKCircleRenderer(overlay: overlay) 52 | renderer.fillColor = UIColor.black.withAlphaComponent(0.5) 53 | renderer.strokeColor = UIColor.black 54 | renderer.lineWidth = 1 55 | return renderer 56 | } 57 | 58 | func mapView(_ mapView: MKMapView, regionDidChangeAnimated animated: Bool) { 59 | updateAnnotation(location: mapView.centerCoordinate) 60 | mapView.overlays.forEach { overlay in 61 | if overlay is MKCircle { 62 | mapView.removeOverlay(overlay) 63 | } 64 | } 65 | } 66 | 67 | func mapView(_ mapView: MKMapView, regionWillChangeAnimated animated: Bool) { 68 | if let annotation = mapView.annotations.first { 69 | mapView.removeAnnotation(annotation) 70 | } 71 | } 72 | 73 | func mapView(_ mapView: MKMapView, viewFor annotation: MKAnnotation) -> MKAnnotationView? { 74 | if annotation.isKind(of: MKUserLocation.self) { 75 | return nil 76 | } 77 | 78 | let annotationView = AnnotationView(annotation: annotation, reuseIdentifier: "annotation") 79 | annotationView.canShowCallout = true 80 | annotationView.isSelected = true 81 | return annotationView 82 | } 83 | 84 | func mapViewDidChangeVisibleRegion(_ mapView: MKMapView) { 85 | updateTarget(location: mapView.centerCoordinate) 86 | } 87 | } 88 | 89 | extension MapViewController: CLLocationManagerDelegate { 90 | func locationManager(_ manager: CLLocationManager, didChangeAuthorization status: CLAuthorizationStatus) { 91 | if status != .authorizedWhenInUse { 92 | let alertTitle = NSLocalizedString("titleUIAlertController", comment: "") 93 | let alertMessage = NSLocalizedString("messageUIAlertController", comment: "") 94 | let alertController = UIAlertController(title: alertTitle, message: alertMessage, preferredStyle: .alert) 95 | 96 | let settingsTitle = NSLocalizedString("settingsUIAlertAction", comment: "") 97 | let settingsAction = UIAlertAction(title: settingsTitle, style: .default) { _ in 98 | guard let settingsUrl = URL(string: UIApplication.openSettingsURLString) else { return } 99 | if UIApplication.shared.canOpenURL(settingsUrl) { 100 | UIApplication.shared.open(settingsUrl) 101 | } 102 | } 103 | 104 | let cancelTitle = NSLocalizedString("cancelUIAlertAction", comment: "") 105 | let cancelAction = UIAlertAction(title: cancelTitle, style: .default, handler: nil) 106 | 107 | alertController.addAction(settingsAction) 108 | alertController.addAction(cancelAction) 109 | present(alertController, animated: true, completion: nil) 110 | } 111 | } 112 | 113 | func locationManager(_ manager: CLLocationManager, didUpdateLocations locations: [CLLocation]) { 114 | guard let locationUser = locations.last else { return } 115 | let latitude = locationUser.coordinate.latitude 116 | let longitude = locationUser.coordinate.longitude 117 | 118 | let location = CLLocationCoordinate2D(latitude: latitude, longitude: longitude) 119 | 120 | let span = MKCoordinateSpan(latitudeDelta: 0.02, longitudeDelta: 0.02) 121 | let region = MKCoordinateRegion(center: location, span: span) 122 | mapView.setRegion(region, animated: true) 123 | } 124 | } 125 | -------------------------------------------------------------------------------- /openweathermap-ios/openweathermap-ios/Support Files/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "20x20", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "20x20", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "29x29", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "29x29", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "40x40", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "40x40", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "size" : "60x60", 36 | "scale" : "2x" 37 | }, 38 | { 39 | "idiom" : "iphone", 40 | "size" : "60x60", 41 | "scale" : "3x" 42 | }, 43 | { 44 | "idiom" : "ipad", 45 | "size" : "20x20", 46 | "scale" : "1x" 47 | }, 48 | { 49 | "idiom" : "ipad", 50 | "size" : "20x20", 51 | "scale" : "2x" 52 | }, 53 | { 54 | "idiom" : "ipad", 55 | "size" : "29x29", 56 | "scale" : "1x" 57 | }, 58 | { 59 | "idiom" : "ipad", 60 | "size" : "29x29", 61 | "scale" : "2x" 62 | }, 63 | { 64 | "idiom" : "ipad", 65 | "size" : "40x40", 66 | "scale" : "1x" 67 | }, 68 | { 69 | "idiom" : "ipad", 70 | "size" : "40x40", 71 | "scale" : "2x" 72 | }, 73 | { 74 | "idiom" : "ipad", 75 | "size" : "76x76", 76 | "scale" : "1x" 77 | }, 78 | { 79 | "idiom" : "ipad", 80 | "size" : "76x76", 81 | "scale" : "2x" 82 | }, 83 | { 84 | "idiom" : "ipad", 85 | "size" : "83.5x83.5", 86 | "scale" : "2x" 87 | }, 88 | { 89 | "idiom" : "ios-marketing", 90 | "size" : "1024x1024", 91 | "scale" : "1x" 92 | } 93 | ], 94 | "info" : { 95 | "version" : 1, 96 | "author" : "xcode" 97 | } 98 | } -------------------------------------------------------------------------------- /openweathermap-ios/openweathermap-ios/Support Files/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /openweathermap-ios/openweathermap-ios/Support Files/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /openweathermap-ios/openweathermap-ios/Support Files/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NSLocationWhenInUseUsageDescription 6 | Use of location is necessary for the correct functioning of the App 7 | CFBundleDevelopmentRegion 8 | $(DEVELOPMENT_LANGUAGE) 9 | CFBundleExecutable 10 | $(EXECUTABLE_NAME) 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | $(PRODUCT_NAME) 17 | CFBundlePackageType 18 | $(PRODUCT_BUNDLE_PACKAGE_TYPE) 19 | CFBundleShortVersionString 20 | $(MARKETING_VERSION) 21 | CFBundleVersion 22 | $(CURRENT_PROJECT_VERSION) 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIMainStoryboardFile 28 | Main 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | gps 33 | 34 | UISupportedInterfaceOrientations 35 | 36 | UIInterfaceOrientationPortrait 37 | UIInterfaceOrientationLandscapeLeft 38 | UIInterfaceOrientationLandscapeRight 39 | 40 | UISupportedInterfaceOrientations~ipad 41 | 42 | UIInterfaceOrientationPortrait 43 | UIInterfaceOrientationPortraitUpsideDown 44 | UIInterfaceOrientationLandscapeLeft 45 | UIInterfaceOrientationLandscapeRight 46 | 47 | 48 | 49 | -------------------------------------------------------------------------------- /openweathermap-ios/openweathermap-ios/en.lproj/Localizable.strings: -------------------------------------------------------------------------------- 1 | /* 2 | Localizable.strings 3 | openweathermap-ios 4 | */ 5 | "titleUIAlertController" = "Permission needed"; 6 | "messageUIAlertController" = "Without permission the app will not work correctly"; 7 | "settingsUIAlertAction" = "Settings"; 8 | "cancelUIAlertAction" = "Cancel"; 9 | -------------------------------------------------------------------------------- /readme/bookmark_detail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmontano/openweathermap-ios/7d90ce10069ade7de7f89203cbaec45b8463aa6e/readme/bookmark_detail.png -------------------------------------------------------------------------------- /readme/bookmarked_location.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmontano/openweathermap-ios/7d90ce10069ade7de7f89203cbaec45b8463aa6e/readme/bookmarked_location.png -------------------------------------------------------------------------------- /readme/bookmarked_showing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmontano/openweathermap-ios/7d90ce10069ade7de7f89203cbaec45b8463aa6e/readme/bookmarked_showing.png -------------------------------------------------------------------------------- /readme/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmontano/openweathermap-ios/7d90ce10069ade7de7f89203cbaec45b8463aa6e/readme/logo.png -------------------------------------------------------------------------------- /readme/map_view.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmontano/openweathermap-ios/7d90ce10069ade7de7f89203cbaec45b8463aa6e/readme/map_view.png --------------------------------------------------------------------------------