PyObjC - the Python to Objective-C bridge
  • GitHub
  • Module Index
  • Support Me
    • Examples Overview of example projects
    • Changelog Overview of updates
    • API Notes Notes for framework bindings
/
  • Installing PyObjC
  • What’s new in PyObjC
  • Supported platforms

Introduction

  • An introduction to PyObjC
  • PyObjC Tutorials
    • Understanding existing PyObjC examples
    • Creating your first PyObjC application.
    • Tutorial - Adding Python code to an existing ObjC application
  • Overview of macOS frameworks and their wrappers
  • Examples overview
    • Scripts/wmEnable
    • Scripts/instrumentSends
    • Scripts/stdinreader
    • Scripts/signal-demo
    • Scripts/subclassing-objective-c
    • Scripts/autoreadme
    • Scripts/HelloWorld
    • Scripts/kvo-debugging
    • Scripts/meInC
    • Scripts/exportBook
    • Python Address Label
    • Get Buddy Info
    • AutoSample
    • Coding Headstart
    • Scripts/add_wwdc_to_calendar
    • Scripts/print_calendars
    • Grady
    • ClassBrowser
    • PythonBrowser
    • TinyTinyEdit
    • SimpleService
    • DatePicker
    • TableModel
    • Todo
    • TinyURLService
    • PyInterpreter
    • RoundTransparentWindow
    • PredicateEditorSample
    • PredicateEditorSample
    • CurrencyConverter
    • WebServicesTool
    • DotView
    • DragItemAround
    • FieldGraph
    • Formatter
    • ToDos
    • GraphicsBindings
    • TableModel
    • MutableTableModel
    • FilteringController
    • TableModelWithSearch
    • TemperatureTransformer
    • CurrencyConvBinding
    • Bookmarks
    • ManualBindings
    • ControlledPreferences
    • OpenGLDemo
    • WebServicesTool-CocoaBindings
    • WebServicesTool
    • Scripts/rendezvous
    • Scripts/super-call
    • Scripts/simple-kvo
    • Scripts/findPython
    • Scripts/pydict-to-objcdict
    • Scripts/dictionary
    • OutlineEdit
    • DragApp
    • WhereIsMyMac
    • InstallerPluginSample
    • Install plugin sample
    • ABPresence
    • EnvironmentPrefs
    • PathDemo
    • TLayer
    • CGShading Demo
    • CGRotation
    • Quartz2DBasics
    • Chart
    • PDFKitViewer
    • ImageBrowser
    • BasicDrawing
    • CocoaDrawingShell
    • CITransitionSelectorSample
    • CIBevelSample
    • CIMicroPaint
    • CIHazeFilterSample
    • SillyBallsSaver
    • SearchKitExample1
    • IEWebArchive
    • WebKitInterpreterPlugin
    • PyDocURLProtocol
  • Introspecting PyObjC

Technical Notes

  • Instantiating Objective-C objects
  • Using super()
  • Exceptions in Cocoa code
  • Support for FSRef
  • PyObjC protocol support
  • PyObjC support for “blocks”
  • Integration with ctypes
  • Key-Value Observing and Python
  • Object-graph serialization
  • Code Signing and Notarizing
  • Dealing with API deprecations

Internals

  • PyObjC metadata system
    • Compiled metadata system
    • Manual metadata loading
  • Converting values between Python and Objective-C
  • Generated types for C types

API Documentation

  • objc – The PyObjC bridge
  • objc.simd – SIMD support for PyObjC
  • PyObjCTools – Utilities
    • PyObjCTools.KeyValueCoding – Key-Value Coding API
    • PyObjCTools.AppHelper – Work with AppKit
    • PyObjCTools.Conversion – Convert data structures
    • PyObjCTools.MachSignals – signal handling in a CFRunLoop
    • PyObjCTools.Signals – Debug signal handling
    • PyObjCTools.TestSupport – Testing helpers
  • Context Managers for CoreGraphics
  • Utility methods for threading
  • API Description for PyObjCTools.AppCategories
  • API Description for PyObjCTools.FndCategories
  • API Notes for PyObjC framework wrappers
    • API Notes: AE framework
    • API Notes: AVFoundation framework
    • API Notes: AVKit framework
    • API Notes: AVRouting framework
    • API Notes: Accessibility framework
    • API notes: Accounts framework
    • API Notes: AdServices framework
    • API Notes: AdSupport framework
    • API Notes: AddressBook framework
    • API Notes: AppKit framework
    • API Notes: AppTrackingTransparency framework
    • API Notes: AppleScriptKit framework
    • API Notes: AppleScriptObjC framework
    • API Notes: ApplicationServices framework
    • API Notes: AudioVideoBridging framework
    • API Notes: AuthenticationServices framework
    • API Notes: AutomaticAssessmentConfiguration framework
    • Automator: Bindings for the Automator framework
    • API Notes: BackgroundAssets framework
    • API Notes: BrowserEngineKit framework
    • API Notes: BusinessChat framework
    • API Notes: CFNetwork framework
    • API Notes: CalendarStore framework
    • API Notes: CallKit framework
    • API Notes: Carbon framework
    • API Notes: CoreServices/CarbonCore framework
    • API Notes: Cinematic framework
    • API Notes: ClassKit framework
    • API notes: CloudKit framework
    • API Notes: Cocoa framework
    • API Notes: Collaboration framework
    • API Notes: ColorSync framework
    • API Notes: Contacts framework
    • API Notes: ContactsUI framework
    • API Notes: CoreAudio framework
    • API Notes: CoreAudioKit framework
    • API notes: CoreBluetooth framework
    • API Notes: CoreData framework
    • API Notes: CoreFoundation framework
    • API Notes: CoreGraphics framework
    • API Notes: CoreHaptics framework
    • API Notes: CoreImage frameworks
    • API Notes: CoreLocation framework
    • API Notes: CoreMIDI framework
    • API Notes: CoreML framework
    • API Notes: CoreMedia framework
    • API Notes: CoreMediaIO framework
    • API Notes: CoreMotion framework
    • API Notes: CoreServices framework
    • API Notes: CoreSpotlight framework
    • API Notes: CoreText framework
    • API Notes: CoreVideo framework
    • API notes: CoreWLAN framework
    • API notes: CryptoTokenKit framework
    • API Notes: DVDPlayback framework
    • API Notes: DVDPlayer framework
    • API Notes: DataDetection framework
    • API Notes: DeviceCheck framework
    • API notes: DeviceDiscoveryExtension framework
    • API Notes: DictionaryServices framework
    • API Notes: DiscRecording framework
    • API Notes: DiscRecordingUI framework
    • API Notes: DiskArbitration framework
    • API Notes: EventKit framework
    • API Notes: ExceptionHandling framework
    • API Notes: ExecutionPolicy framework
    • API Notes: ExtensionKit framework
    • API Notes: ExternalAccessory framework
    • API Notes: FSEvents framework
    • API Notes: FSKit framework
    • API Notes: FileProvider framework
    • API Notes: FileProviderUI framework
    • API notes: FinderSync framework
    • API Notes: Foundation framework
    • API Notes: GameCenter framework
    • API Notes: GameController framework
    • API Notes: GameKit framework
    • API Notes: GameplayKit framework
    • API Notes: HIServers subframework of the ApplicationServices framework
    • API Notes: HealthKit framework
    • API Notes: IOBluetooth framework
    • API Notes: IOBluetoothUI framework
    • API Notes: IOSurface framework
    • API Notes: ImageCaptureCore framework
    • API Notes: ImageIO framework
    • API Notes: ImageKit framework
    • API Notes: InputMethodKit framework
    • API Notes: InstallerPlugins framework
    • API Notes: InstantMessage framework
    • API Notes: Intents framework
    • API Notes: IntentsUI framework
    • API Notes: JavaScriptCore framework
    • API Notes: KernelManagement framework
    • API Notes: LatentSemanticMapping framework
    • API Notes: LaunchServices subframework of the CoreServices framework
    • API Notes: LinkPresentation framework
    • API notes: LocalAuthentication framework
    • API notes: LocalAuthenticationEmbeddedUI framework
    • API Notes: MLCompute framework
    • API Notes: MailKit framework
    • API notes: MapKit framework
    • API Notes: MediaAccessibility framework
    • API Notes: MediaExtension framework
    • API Notes: MediaLibrary framework
    • API Notes: MediaPlayer framework
    • API Notes: MediaToolbox framework
    • API Notes: CoreServices/Metadata framework
    • API Notes: Metal framework
    • API Notes: MetalFX framework
    • API Notes: MetalKit framework
    • API Notes: MetalPerformanceShaders framework
    • API Notes: MetalPerformanceShadersGraph framework
    • API Notes: MetricKit framework
    • API Notes: ModelIO framework
    • API notes: MultipeerConnectivity framework
    • API notes: NaturalLanguage framework
    • API Notes: NetFS framework
    • API Notes: Network framework
    • API Notes: NetworkExtension framework
    • API Notes: NotificationCenter framework
    • API Notes: OSAKit framework
    • API Notes: OSLog framework
    • API Notes: CoreServices/OSServices framework
    • API Notes: OpenDirectory frameworks
    • API Notes: PDFKit framework
    • API Notes: PHASE framework
    • API Notes: PassKit framework
    • API Notes: PencilKit framework
    • API Notes: Photos framework
    • API Notes: PhotosUI framework
    • API Notes: PreferencePanes framework
    • API Notes: PubSub framework
    • API Notes: PushKit framework
    • API Notes: Quartz frameworks
    • API Notes: QuartzComposer framework
    • API Notes: QuartzCore framework
    • API Notes: QuartzFilters framework
    • API Notes: QuickLook framework
    • API Notes: QuickLookThumbnailing framework
    • API Notes: QuickLookUI framework
    • API Notes: ReplayKit framework
    • API Notes: SafariServices framework
    • API Notes: SafeteyKit framework
    • API Notes: SceneKit framework
    • API Notes: ScreenCaptureKit framework
    • API Notes: ScreenSaver framework
    • API Notes: ScreenTime framework
    • API Notes: ScriptingBridge framework
    • API Notes: SearchKit framework
    • API notes: Security framework
    • API notes: SecurityFoundation framework
    • API notes: SecurityInterface framework
    • API notes: SecurityUI framework
    • API Notes: SensitiveContentAnalysis framework
    • API Notes: ServiceManagement framework
    • API Notes: SharedWithYou framework
    • API Notes: SharedWithYouCore framework
    • API Notes: ShazamKit framework
    • API Notes: Social framework
    • API Notes: SoundAnalysis framework
    • API Notes: Speech framework
    • API Notes: SpriteKit framework
    • API Notes: StoreKit framework
    • API Notes: Symbols framework
    • API Notes: SyncServices framework
    • API Notes: SystemConfiguration framework
    • API Notes: SystemExtensions framework
    • API Notes: ThreadNetwork framework
    • API Notes: UniformTypeIdentifiers framework
    • API notes: UserNotifications framework
    • API Notes: UserNotificationsUI framework
    • API Notes: VideoSubscriberAccount framework
    • API Notes VideoToolbox framework
    • API Notes: Virtualization framework
    • API Notes: Vision framework
    • API Notes: WebKit framework
    • API Notes: iTunesLibrary framework
    • API Notes: dispatch library
    • API Notes: xpc library

Development

  • The PyObjC core team
  • The release workflow for PyObjC
  • Developer Documentation
    • Structure of the PyObjC package
    • Coding style for PyObjC
    • How to wrap an Objective-C class library
    • Test coverage information

Historical

  • PyObjC with InterfaceBuilder
  • Using NSXPCInterface from Python
  1. PyObjC - the Python to Objective-C bridge /
  2. PyObjC Tutorials

PyObjC TutorialsΒΆ

  • Understanding existing PyObjC examples
  • Creating your first PyObjC application.
  • Tutorial - Adding Python code to an existing ObjC application
Previous
An introduction to PyObjC
Next
Understanding existing PyObjC examples

2017-2025, Ronald Oussoren

Made with Sphinx and Shibuya theme.