> ## Documentation Index
> Fetch the complete documentation index at: https://dev.marginnote.com.cn/llms.txt
> Use this file to discover all available pages before exploring further.

# ZipArchiveClass

> Native class object for .

Native class object for [ZipArchive](https://dev.marginnote.com.cn/jsb-api/utility/variables/ZipArchive.md).

## Methods

### alloc()

```typescript
alloc(): ZipArchive | null
```

Exported member.

#### Returns

`ZipArchive | null`

### allocWithZone()

```typescript
allocWithZone(_zone: NativePointer | null): ZipArchive | null
```

Exported member.

#### Parameters

**\_zone** `NativePointer | null` *required*

#### Returns

`ZipArchive | null`

### class()

```typescript
class(): NativeClass<NativeObject>
```

Exported member.

#### Returns

`NativeClass<NativeObject>`

### conformsToProtocol()

```typescript
conformsToProtocol(_protocol: Protocol | null): boolean
```

Exported member.

#### Parameters

**\_protocol** `Protocol | null` *required*

#### Returns

`boolean`

### copyWithZone()

```typescript
copyWithZone(_zone: NativePointer | null): unknown
```

Exported member.

#### Parameters

**\_zone** `NativePointer | null` *required*

#### Returns

`unknown`

### createZipFileAtPathWithContentsOfDirectory()

```typescript
createZipFileAtPathWithContentsOfDirectory(_path: string | null, _directoryPath: string | null): boolean
```

Exported member.

#### Parameters

**\_path** `string | null` *required*

**\_directoryPath** `string | null` *required*

#### Returns

`boolean`

### createZipFileAtPathWithFilesAtPaths()

```typescript
createZipFileAtPathWithFilesAtPaths(_path: string | null, _filenames: unknown[] | null): boolean
```

Exported member.

#### Parameters

**\_path** `string | null` *required*

**\_filenames** `unknown[] | null` *required*

#### Returns

`boolean`

### description()

```typescript
description(): string | null
```

Exported member.

#### Returns

`string | null`

### instanceMethodForSelector()

```typescript
instanceMethodForSelector(_aSelector: NativeSelector): IMP
```

Exported member.

#### Parameters

**\_aSelector** `NativeSelector` *required*

#### Returns

`IMP`

### instanceMethodSignatureForSelector()

```typescript
instanceMethodSignatureForSelector(_aSelector: string | null): NSMethodSignature | null
```

Exported member.

#### Parameters

**\_aSelector** `string | null` *required*

#### Returns

`NSMethodSignature | null`

### instancesRespondToSelector()

```typescript
instancesRespondToSelector(_aSelector: string | null): boolean
```

Exported member.

#### Parameters

**\_aSelector** `string | null` *required*

#### Returns

`boolean`

### isSubclassOfClass()

```typescript
isSubclassOfClass(_aClass: NativeClass<NativeObject>): boolean
```

Exported member.

#### Parameters

**\_aClass** `NativeClass\<NativeObject\>` *required*

#### Returns

`boolean`

### load()

```typescript
load(): void
```

Exported member.

### mutableCopyWithZone()

```typescript
mutableCopyWithZone(_zone: NativePointer | null): unknown
```

Exported member.

#### Parameters

**\_zone** `NativePointer | null` *required*

#### Returns

`unknown`

### new()

```typescript
new(): ZipArchive | null
```

Exported member.

#### Returns

`ZipArchive | null`

### resolveClassMethod()

```typescript
resolveClassMethod(_sel: string | null): boolean
```

Exported member.

#### Parameters

**\_sel** `string | null` *required*

#### Returns

`boolean`

### resolveInstanceMethod()

```typescript
resolveInstanceMethod(_sel: string | null): boolean
```

Exported member.

#### Parameters

**\_sel** `string | null` *required*

#### Returns

`boolean`

### superclass()

```typescript
superclass(): NativeClass<NativeObject>
```

Exported member.

#### Returns

`NativeClass<NativeObject>`

### unzipFileAtPathToDestination()

```typescript
unzipFileAtPathToDestination(_path: string | null, _destination: string | null): boolean
```

Exported member.

#### Parameters

**\_path** `string | null` *required*

**\_destination** `string | null` *required*

#### Returns

`boolean`

### unzipFileAtPathToDestinationOverwritePassword()

```typescript
unzipFileAtPathToDestinationOverwritePassword(_path: string | null, _destination: string | null, _overwrite: boolean, _password: string | null): boolean
```

Exported member.

#### Parameters

**\_path** `string | null` *required*

**\_destination** `string | null` *required*

**\_overwrite** `boolean` *required*

**\_password** `string | null` *required*

#### Returns

`boolean`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.