<commit_before><img src="https://raw.githubusercontent.com/teodorpatras/EasyTipView/master/assets/easytipview.png" alt="EasyTipView: fully customisable tooltip view written in Swift" style="width: 500px;"/>

Description
--------------

```EasyTipView``` is a fully customisable support for ```EasyTipView``` written in Swift.
(https://github.com/teodorpatras/EasyTipView)

<img src="https://raw.githubusercontent.com/nitishmakhija/EasyTipView/master/easytipview.gif" width="320">

# Contents
1. [Features](#features)
2. [Installation](#installation)
3. [Usage](#usage)
4. [Customising the appearance](#customising)
5. [Customising the presentation and dismissal animations](#customising-animations)
6. [Public interface](#public-interface)

##<a name="features"> Features </a>

-  Can be shown pointing to any ``UIBarItem`` or ``UIView`` subclass.
-  support for any arrow direction `←, →, ↑, ↓`
-  Automatic orientation change adjustments.
-  Fully customisable appearance.
-  Fully customisable presentation and dismissal animations.


<a name="installation"> Installation </a>
--------------

# Manually

Drag drop Source folder in your project

# Pods

To integrate EasyTipView into your Xcode project using CocoaPods, specify it in your `Podfile`:

```ruby
pod 'NMEasyTipView', '~> 1.0'
```

Then, run the following command:

```bash
$ pod install
```

<a name="usage"> Usage </a>
--------------

1) First you should customize the preferences:
```objc

    UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
    button.frame = CGRectMake(50, 100, 100, 50);
    [button setTitle:@"Click Me" forState:UIControlStateNormal];
    [button setTitleColor:[UIColor blueColor] forState:UIControlStateNormal];
    [self.view addSubview:button];
    
    
    [button addTarget:self action:@selector(handle:) forControlEvents:UIControlEventTouchUpInside];
    
    RCEasyTipPreferences *preferences = [[RCEasyTipPreferences alloc] initWithDefaultPreferences];
    preferences.drawing.backgroundColor = [UIColor purpleColor];
    preferences.drawing.arrowPostion = Top;
    preferences.animating.showDuration = 1.5;
    preferences.animating.dismissDuration = 1.5;<commit_msg>Added safeArea support<commit_after><img src="https://raw.githubusercontent.com/teodorpatras/EasyTipView/master/assets/easytipview.png" alt="EasyTipView: fully customisable tooltip view written in Swift" style="width: 500px;"/>

Description
--------------

```EasyTipView``` is a fully customisable support for ```EasyTipView``` written in Swift.
(https://github.com/teodorpatras/EasyTipView)

<img src="https://raw.githubusercontent.com/nitishmakhija/EasyTipView/master/easytipview.gif" width="320">

# Contents
1. [Features](#features)
2. [Installation](#installation)
3. [Usage](#usage)
4. [Customising the appearance](#customising)
5. [Customising the presentation and dismissal animations](#customising-animations)
6. [Public interface](#public-interface)

##<a name="features"> Features </a>

-  Can be shown pointing to any ``UIBarItem`` or ``UIView`` subclass.
-  support for any arrow direction `←, →, ↑, ↓`
-  Automatic orientation change adjustments.
-  Fully customisable appearance.
-  Fully customisable presentation and dismissal animations.


<a name="installation"> Installation </a>
--------------

# Manually

Drag drop Source folder in your project

# Pods

To integrate EasyTipView into your Xcode project using CocoaPods, specify it in your `Podfile`:

```ruby
pod 'NMEasyTipView', '~> 1.1'
```

Then, run the following command:

```bash
$ pod install
```

<a name="usage"> Usage </a>
--------------

1) First you should customize the preferences:
```objc

    UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
    button.frame = CGRectMake(50, 100, 100, 50);
    [button setTitle:@"Click Me" forState:UIControlStateNormal];
    [button setTitleColor:[UIColor blueColor] forState:UIControlStateNormal];
    [self.view addSubview:button];
    
    
    [button addTarget:self action:@selector(handle:) forControlEvents:UIControlEventTouchUpInside];
    
    RCEasyTipPreferences *preferences = [[RCEasyTipPreferences alloc] initWithDefaultPreferences];
    preferences.drawing.backgroundColor = [UIColor purpleColor];
    preferences.drawing.arrowPostion = Top;
    preferences.animating.showDuration = 1.5;
    preferences.animating.dismissDuration = 1.5;
{'fraction_non_alphanumeric': 0.13988571428571428, 'fraction_numerical': 0.013257142857142858, 'mean_word_length': 4.780713342140026, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 21, 'https://': 6, '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': '6550566', 'n_tokens_mistral': 1414, 'n_tokens_neox': 1292, 'n_words': 347}