---
title: SDK surface and search
description: 'Browse and search the distilled SDK: documented signatures, class and
  framework references, and cross-framework search.'
order: 3
---
[`sdksearch`](fastcocoa.md#sdksearch), [`sdkclass`](fastcocoa.md#sdkclass), [`sdkgroups`](fastcocoa.md#sdkgroups), and [`full_docs`](fastcocoa.md#full_docs) are re-exported at top-level [`fastcocoa`](fastcocoa.md).

[source](https://github.com/AnswerDotAI/fastcore/blob/main/fastcore/apisurface.py#L161)

## full\_docs

```python
def full_docs(
    groups
):
```

*Markdown overview of every group and operation in a `mk_groups` tree.*

## sdkops

```python
def sdkops(
    framework:str, # Apple framework name
    head:str, # Swift method or init head name
    entries:list[dict], # Distilled table entries for `head`
)->list[fastcocoa.surface.SdkOp]: # Documented `SdkOp` records with overload variants stacked in each docstring
```

*Build `SdkOp` records for `head`'s distilled table entries.*

## sdkclass

```python
def sdkclass(
    c, # Class object, instance, or Objective-C class name string
    framework:str=None, # Framework name, needed only when `c` is a string not in any loaded table
)->fastcocoa.surface.SdkGroup: # Browsable class reference with methods, inits, and declared properties
```

*Return one class as a browsable Markdown reference with signatures, abstracts, and declared properties.*

## sdkgroups

```python
def sdkgroups(
    framework:str
)->dict[str, fastcocoa.surface.SdkGroup]:
```

*Return a whole framework as `{framework: root_group}` of attribute-chained `SdkGroup` objects; pass to [`full_docs`](fastcocoa.md#full_docs) for one Markdown reference.*

## sdksearch

```python
def sdksearch(
    pattern:str, # Regular expression (smart-case, like `rg`) matched against names, labels, parameter types, and doc text
    frameworks=None, # Framework name(s) to search, extracting tables if needed; default searches every already-extracted framework
    kind:str=None, # Filter: `'im'`, `'cm'`, `'init'`, `'protocol'`, `'enum'`, or `'property'`
)->fastcocoa.surface.SdkHits: # Matching `SdkHit` records as numbered previews
```

*Search extracted SDK tables across methods, inits, protocols, enums, and properties.*
