# TCGBWebURL Class Reference

Inherits from | NSObject
Declared in | TCGBWebURL.h

## Overview

This TCGBWebURL class represents URL that is much more easy to handling.

## Properties

### `scheme`

scheme

`@property (nonatomic, strong, nullable, readonly) NSString *scheme`

#### Discussion

The url scheme string, and the key of schemeCallbackDictionary;

#### Declared In

`TCGBWebURL.h`

### `host`

host

`@property (nonatomic, strong, nullable, readonly) NSString *host`

#### Discussion

This is a host of the scheme.

#### Declared In

`TCGBWebURL.h`

### `query`

query

`@property (nonatomic, strong, nullable, readonly) NSDictionary<NSString*id> *query`

#### Discussion

This is a query dictionary of the scheme.

#### Declared In

`TCGBWebURL.h`

### `fragment`

fragment

`@property (nonatomic, strong, nullable, readonly) NSString *fragment`

#### Discussion

This is a fragment of the scheme.

#### Declared In

`TCGBWebURL.h`

### `url`

url

`@property (nonatomic, strong, nullable, readonly) NSURL *url`

#### Discussion

This is a NSURL object of the scheme.

#### Declared In

`TCGBWebURL.h`

## Initialization

### `+ webViewURLWithURL:`

Creates and returns an `TCGBWebURL` object.

`+ (instancetype)webViewURLWithURL:(NSURL *)url`

#### Parameters

`url` | NSURL type parameter

#### Declared In

`TCGBWebURL.h`

### `+ webViewURLWithURLString:`

Creates and returns an `TCGBWebURL` object.

`+ (instancetype)webViewURLWithURLString:(NSString *)url`

#### Parameters

`url` | NSString type parameter

#### Declared In

`TCGBWebURL.h`