diff --git a/Localize-Swift.podspec b/Localize-Swift.podspec new file mode 100644 index 0000000..a0dcc00 --- /dev/null +++ b/Localize-Swift.podspec @@ -0,0 +1,15 @@ +Pod::Spec.new do |s| + s.name = "Localize-Swift" + s.version = "0.0.1" + s.summary = "In-app language switching and better syntax for Swift i18n - work in progress" + s.description = "Swift framework that improves i18n and localization with cleaner syntax and in-app language switching." + s.homepage = "https://github.com/marmelroy/Localize-Swift" + s.license = "MIT" + s.author = { "Roy Marmelstein" => "hello@roysapps.com" } + s.social_media_url = "http://twitter.com/marmelroy" + s.source = { :git => "https://github.com/marmelroy/Localize-Swift.git", :commit => "feb8c0b89289a01bc54871466e1bfbf395f59a82" } + s.source_files = "Localize.swift" + s.platform = :ios + s.ios.deployment_target = "8.0" + s.requires_arc = true +end diff --git a/Localize/LICENSE b/Localize/LICENSE new file mode 100644 index 0000000..14460cf --- /dev/null +++ b/Localize/LICENSE @@ -0,0 +1,19 @@ +Copyright (c) 2015 Roy Marmelstein (http://roysapps.com/) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/README.md b/README.md index cdfb2d4..4cda7aa 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,21 @@ +[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage) + # Localize-Swift -In-app language switching and better syntax for Swift i18n - work in progress +Localize-Swift is a Swift framework that improves i18n and localization with cleaner syntax and in-app language switching. + +### Setting up with Carthage + +[Carthage](https://github.com/Carthage/Carthage) is a decentralized dependency manager that automates the process of adding frameworks to your Cocoa application. + +You can install Carthage with [Homebrew](http://brew.sh/) using the following command: + +```bash +$ brew update +$ brew install carthage +``` + +To integrate Localize-Swift into your Xcode project using Carthage, specify it in your `Cartfile`: +```ogdl +github "marmelroy/Localize-Swift" +```