Skip to main content
Glama

get_sample_code

Access complete Apple sample projects to learn implementation patterns through working examples. Filter by framework, search keywords, or beta status for targeted learning.

Instructions

Browse complete sample projects from Apple. Full working examples demonstrating best practices and implementation patterns. Different from search_apple_docs which returns code snippets. Use for learning by example.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
frameworkNoFramework filter (case-insensitive). Examples: "SwiftUI", "ARKit", "CoreML". Note: Some samples are under generic categories - use searchQuery for better results.
betaNoBeta samples: "include" = all, "exclude" = stable only, "only" = beta only. Default: "include"
searchQueryNoSearch keywords. Most effective approach. Examples: "animation", "camera", "machine learning", "widgets".
limitNoMax results (default: 50).

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kimsungwhee/apple-docs-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server