Skip to content

Commit

Permalink
update READMEs
Browse files Browse the repository at this point in the history
  • Loading branch information
cezheng committed Sep 18, 2016
1 parent fe4c8f8 commit af55505
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 26 deletions.
17 changes: 10 additions & 7 deletions README-ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@

Pythonのようなスッキリした正規表現ライブラリー。

[English](https://github.com/cezheng/PySwiftyRegex/blob/master/README.md)
[简体中文](https://github.com/cezheng/PySwiftyRegex/blob/master/README-zh.md)
[English](README.md)
[简体中文](README-zh.md)
[한국어](README-ko.md)

## コードをみましょう

Expand All @@ -25,12 +26,14 @@ if let m = re.search("[Tt]his is (.*?)easy", "I think this is really easy!!!") {
## 環境

- iOS 7.0+ / Mac OS X 10.9+
- Xcode 7.0+
- Xcode 8.0+

> Swift 2.3はバージョン[0.3.0](../../releases/tag/0.3.0)をご利用ください。
## インストール
> **Embedded frameworks を使うには iOS 8 または OS X Mavericks 以上は必要です**
>
> Deployment Target は iOS 7 のプロジェクトで `PySwiftyRegex` を使うには, [PySwiftyRegex.swift](https://github.com/cezheng/PySwiftyRegex/blob/master/PySwiftyRegex/PySwiftyRegex.swift) のソースファイルをダウンロードして、Xcodeプロジェクトに追加するのは必要となります。
> Deployment Target は iOS 7 のプロジェクトで `PySwiftyRegex` を使うには, [PySwiftyRegex.swift](PySwiftyRegex/PySwiftyRegex.swift) のソースファイルをダウンロードして、Xcodeプロジェクトに追加するのは必要となります。
### CocoaPods(iOS 8+, OS X 10.9+)
[Cocoapods](http://cocoapods.org/) で簡単に `PySwiftyRegex` をインストールできます。 下記のように`Podfile`を編集してください:
Expand All @@ -40,7 +43,7 @@ platform :ios, '8.0'
use_frameworks!

target 'MyApp' do
pod 'PySwiftyRegex', '~> 0.2.0'
pod 'PySwiftyRegex', '~> 1.0.0'
end
```

Expand All @@ -54,7 +57,7 @@ $ pod install
下記の行を `Cartfile``Cartfile.private` かに追加してください:

```
github "cezheng/PySwiftyRegex" ~> 0.2.0
github "cezheng/PySwiftyRegex" ~> 1.0.0
```
そして、下記のコマンドを実行してください:

Expand Down Expand Up @@ -145,4 +148,4 @@ regex.subn("u", "You guys go grap your food", 1) // ("u guys go grap your food",

## ライセンス

`PySwiftyRegex` のオープンソースライセンスは MIT です。 詳しくはこちら [LICENSE](https://github.com/cezheng/PySwiftyRegex/blob/master/LICENSE)
`PySwiftyRegex` のオープンソースライセンスは MIT です。 詳しくはこちら [LICENSE](LICENSE)
16 changes: 9 additions & 7 deletions README-ko.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
Swift에서 정규표현식을 Python처럼 쉽게 다뤄보세요.

[English](README.md)
[简体中文](https://github.com/cezheng/PySwiftyRegex/blob/master/README-zh.md)
[日本語](https://github.com/cezheng/PySwiftyRegex/blob/master/README-ja.md)
[简体中文](README-zh.md)
[日本語](README-ja.md)

## 굉장히 쉽습니다

Expand All @@ -27,12 +27,14 @@ if let m = re.search("[Tt]his is (.*?)easy", "I think this is really easy!!!") {
## 요구사항

- iOS 7.0+ / Mac OS X 10.9+
- Xcode 7.0+
- Xcode 8.0+

> Swift 2.3의 경우 버전 [0.3.0](../../releases/tag/0.3.0)를 이용해주십시오.
## 설치하기
> **임베드된 프레임워크를 사용하려면 iOS 8 또는 OS X Mavericks 이상을 지원해야 합니다.**
>
> `PySwiftyRegex`을 iOS 7 타겟 프로젝트에서 사용하려면 [CocoaSeeds](#cocoaseeds-for-ios7)를 사용하거나 혹은 [PySwiftyRegex.swift](https://github.com/cezheng/PySwiftyRegex/blob/master/PySwiftyRegex/PySwiftyRegex.swift) 파일을 다운받아 프로젝트에 직접 포함시켜야 합니다.
> `PySwiftyRegex`을 iOS 7 타겟 프로젝트에서 사용하려면 [CocoaSeeds](#cocoaseeds-for-ios7)를 사용하거나 혹은 [PySwiftyRegex.swift](PySwiftyRegex/PySwiftyRegex.swift) 파일을 다운받아 프로젝트에 직접 포함시켜야 합니다.
### CocoaPods (iOS 8+, OS X 10.9+)

Expand All @@ -43,7 +45,7 @@ platform :ios, '8.0'
use_frameworks!

target 'MyApp' do
pod 'PySwiftyRegex', '~> 0.2.0'
pod 'PySwiftyRegex', '~> 1.0.0'
end
```

Expand All @@ -58,7 +60,7 @@ $ pod install
**Cartfile** 또는 **Cartfile.private**에 아래 라인을 추가합니다.

```
github "cezheng/PySwiftyRegex" ~> 0.2.0
github "cezheng/PySwiftyRegex" ~> 1.0.0
```

그리고 쉘에서 다음 명령어를 실행합니다.
Expand All @@ -77,7 +79,7 @@ Carthage가 생성한 **PySwiftyRegex.framework**를 Xcode 프로젝트의 'Gene

```ruby
target :MyApp do
github 'cezheng/PySwiftyRegex', '0.2.0', :files => 'PySwiftyRegex/PySwiftyRegex.swift'
github 'cezheng/PySwiftyRegex', '1.0.0', :files => 'PySwiftyRegex/PySwiftyRegex.swift'
end
```

Expand Down
11 changes: 7 additions & 4 deletions README-zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@

像Python一样简洁高效地作正则处理。

[English](https://github.com/cezheng/PySwiftyRegex/blob/master/README.md)
[日本語](https://github.com/cezheng/PySwiftyRegex/blob/master/README-ja.md)
[English](README.md)
[日本語](README-ja.md)
[한국어](README-ko.md)

## 先上代码

Expand All @@ -25,7 +26,9 @@ if let m = re.search("[Tt]his is (.*?)easy", "I think this is really easy!!!") {
## 环境

- iOS 7.0+ / Mac OS X 10.9+
- Xcode 7.0+
- Xcode 8.0+

> Swift 2.3请使用[0.3.0](../../releases/tag/0.3.0)版。
## 导入
> **使用 Embedded frameworks 至少需要 iOS 8 或 OS X Mavericks.**
Expand Down Expand Up @@ -145,4 +148,4 @@ regex.subn("u", "You guys go grap your food", 1) // ("u guys go grap your food",

## 开源协议

`PySwiftyRegex` 使用MIT许可协议。 详见 [LICENSE](https://github.com/cezheng/PySwiftyRegex/blob/master/LICENSE)
`PySwiftyRegex` 使用MIT许可协议。 详见 [LICENSE](https://github.com/cezheng/PySwiftyRegex/blob/master/LICENSE)
18 changes: 10 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@

Easily deal with Regex in Swift in a Pythonic way.

[简体中文](https://github.com/cezheng/PySwiftyRegex/blob/master/README-zh.md)
[日本語](https://github.com/cezheng/PySwiftyRegex/blob/master/README-ja.md)
[简体中文](README-zh.md)
[日本語](README-ja.md)
[한국어](README-ko.md)

## This is Easy
Expand All @@ -26,13 +26,15 @@ See [More examples](#more_usage).
## Requirements

- iOS 7.0+ / Mac OS X 10.9+
- Xcode 7.0+
- Xcode 8.0+

< For Swift 2.3 please use version [0.3.0](../../releases/tag/0.3.0).


## Installation
> **Embedded frameworks require a minimum deployment target of iOS 8 or OS X Mavericks.**
>
> To use `PySwiftyRegex` with a project targeting iOS 7, consider using [CocoaSeeds](#cocoaseeds-for-ios7) or copy the [PySwiftyRegex.swift](https://github.com/cezheng/PySwiftyRegex/blob/master/PySwiftyRegex/PySwiftyRegex.swift) file into your project.
> To use `PySwiftyRegex` with a project targeting iOS 7, consider using [CocoaSeeds](#cocoaseeds-for-ios7) or copy the [PySwiftyRegex.swift](PySwiftyRegex/PySwiftyRegex.swift) file into your project.
### CocoaPods(iOS 8+, OS X 10.9+)
You can use [Cocoapods](http://cocoapods.org/) to install `PySwiftyRegex` by adding it to your to your `Podfile`:
Expand All @@ -42,7 +44,7 @@ platform :ios, '8.0'
use_frameworks!

target 'MyApp' do
pod 'PySwiftyRegex', '~> 0.2.0'
pod 'PySwiftyRegex', '~> 1.0.0'
end
```

Expand All @@ -56,7 +58,7 @@ $ pod install
Adding the following line to your `Cartfile` or `Cartfile.private`:

```
github "cezheng/PySwiftyRegex" ~> 0.2.0
github "cezheng/PySwiftyRegex" ~> 1.0.0
```
Run the following command:

Expand All @@ -73,7 +75,7 @@ Create **Seedfile**:

```ruby
target :MyApp do
github 'cezheng/PySwiftyRegex', '0.2.0', :files => 'PySwiftyRegex/PySwiftyRegex.swift'
github 'cezheng/PySwiftyRegex', '1.0.0', :files => 'PySwiftyRegex/PySwiftyRegex.swift'
end
```

Expand Down Expand Up @@ -167,4 +169,4 @@ regex.subn("u", "You guys go grap your food", 1) // ("u guys go grap your food",

## License

`PySwiftyRegex` is released under the MIT license. See [LICENSE](https://github.com/cezheng/PySwiftyRegex/blob/master/LICENSE) for details.
`PySwiftyRegex` is released under the MIT license. See [LICENSE](LICENSE) for details.

0 comments on commit af55505

Please sign in to comment.