<commit_before># IoniconsSwift
Easily use ionicons in your Swift projects

A Swift port of [sweetmandm/ionicons-iOS](https://github.com/sweetmandm/ionicons-iOS).

Currently using IonIcons v2.0.1

### Usage

For available icons, look at [ionicon.swift](/ionicons/ionicon.swift) - these should autocomplete using `ionicon.[...]`

#### Font

``` Swift
UIFont.ioniconFontOfSize(30.0)
```

#### Label

``` Swift
UILabel.labelWithIonicon(ionicon.Wand, color: UIColor.redColor(), iconSize: 20.0)
```

#### Image

``` Swift
UIImage.imageWithIonicon(ionicon.Wand, color: UIColor.greenColor(), iconSize: 40.0, imageSize: CGSizeMake(50, 50))
```

### Install
#### Cocoapods
`pod 'Ionicons-Swift', '2.0.1'`

#### Manual
Drag the `ionicons` folder into your project<commit_msg>Change cocoapod install example<commit_after># IoniconsSwift
Easily use ionicons in your Swift projects

A Swift port of [sweetmandm/ionicons-iOS](https://github.com/sweetmandm/ionicons-iOS).

Currently using IonIcons v2.0.1

### Usage

For available icons, look at [ionicon.swift](/ionicons/ionicon.swift) - these should autocomplete using `ionicon.[...]`

#### Font

``` Swift
UIFont.ioniconFontOfSize(30.0)
```

#### Label

``` Swift
UILabel.labelWithIonicon(ionicon.Wand, color: UIColor.redColor(), iconSize: 20.0)
```

#### Image

``` Swift
UIImage.imageWithIonicon(ionicon.Wand, color: UIColor.greenColor(), iconSize: 40.0, imageSize: CGSizeMake(50, 50))
```

### Install
#### Cocoapods
`pod 'Ionicons-Swift', :git => 'https://github.com/tomsterritt/IoniconsSwift'`

#### Manual
Drag the `ionicons` folder into your project
{'fraction_non_alphanumeric': 0.1638418079096045, 'fraction_numerical': 0.02197112366603892, 'mean_word_length': 5.350597609561753, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 3, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3031775', 'n_tokens_mistral': 631, 'n_tokens_neox': 561, 'n_words': 129}