mapkit

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 18, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Rendered for darwin/amd64

Overview

Package mapkit provides purego-based Go bindings for the macOS MapKit framework.

Apple documentation: https://developer.apple.com/documentation/mapkit

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MKAnnotationCalloutInfoDidChangeNotification

func MKAnnotationCalloutInfoDidChangeNotification() uintptr

func MKCoordinateForMapPoint

func MKCoordinateForMapPoint(mapPoint MKMapPoint) unsafe.Pointer

func MKDirectionsRequestIsDirectionsRequestURL

func MKDirectionsRequestIsDirectionsRequestURL(url *foundation.NSURL) bool

func MKErrorDomain

func MKErrorDomain() uintptr

func MKLaunchOptionsCameraKey

func MKLaunchOptionsCameraKey() uintptr

func MKLaunchOptionsDirectionsModeCycling

func MKLaunchOptionsDirectionsModeCycling() uintptr

func MKLaunchOptionsDirectionsModeDefault

func MKLaunchOptionsDirectionsModeDefault() uintptr

func MKLaunchOptionsDirectionsModeDriving

func MKLaunchOptionsDirectionsModeDriving() uintptr

func MKLaunchOptionsDirectionsModeKey

func MKLaunchOptionsDirectionsModeKey() uintptr

func MKLaunchOptionsDirectionsModeTransit

func MKLaunchOptionsDirectionsModeTransit() uintptr

func MKLaunchOptionsDirectionsModeWalking

func MKLaunchOptionsDirectionsModeWalking() uintptr

func MKLaunchOptionsMapCenterKey

func MKLaunchOptionsMapCenterKey() uintptr

func MKLaunchOptionsMapSpanKey

func MKLaunchOptionsMapSpanKey() uintptr

func MKLaunchOptionsMapTypeKey

func MKLaunchOptionsMapTypeKey() uintptr

func MKLaunchOptionsShowsTrafficKey

func MKLaunchOptionsShowsTrafficKey() uintptr

func MKMapCameraZoomDefault

func MKMapCameraZoomDefault() uintptr

func MKMapItemOpenMapsWithItemsLaunchOptions

func MKMapItemOpenMapsWithItemsLaunchOptions(mapItems *foundation.NSArray[*MKMapItem], launchOptions *foundation.NSDictionary[*foundation.NSString, objc.ID]) bool

func MKMapItemOpenMapsWithItemsLaunchOptionsCompletionHandler

func MKMapItemOpenMapsWithItemsLaunchOptionsCompletionHandler(mapItems *foundation.NSArray[*MKMapItem], launchOptions *foundation.NSDictionary[*foundation.NSString, objc.ID], completion func(bool))

func MKMapItemTypeIdentifier

func MKMapItemTypeIdentifier() uintptr

func MKMapPointEqualToPoint

func MKMapPointEqualToPoint(point1 MKMapPoint, point2 MKMapPoint) bool

func MKMapPointsPerMeterAtLatitude

func MKMapPointsPerMeterAtLatitude(latitude unsafe.Pointer) float64

func MKMapRectContainsPoint

func MKMapRectContainsPoint(rect MKMapRect, point MKMapPoint) bool

func MKMapRectContainsRect

func MKMapRectContainsRect(rect1 MKMapRect, rect2 MKMapRect) bool

func MKMapRectDivide

func MKMapRectDivide(rect MKMapRect, slice *MKMapRect, remainder *MKMapRect, amount float64, edge corefoundation.CGRectEdge)

func MKMapRectEqualToRect

func MKMapRectEqualToRect(rect1 MKMapRect, rect2 MKMapRect) bool

func MKMapRectGetHeight

func MKMapRectGetHeight(rect MKMapRect) float64

func MKMapRectGetMaxX

func MKMapRectGetMaxX(rect MKMapRect) float64

func MKMapRectGetMaxY

func MKMapRectGetMaxY(rect MKMapRect) float64

func MKMapRectGetMidX

func MKMapRectGetMidX(rect MKMapRect) float64

func MKMapRectGetMidY

func MKMapRectGetMidY(rect MKMapRect) float64

func MKMapRectGetMinX

func MKMapRectGetMinX(rect MKMapRect) float64

func MKMapRectGetMinY

func MKMapRectGetMinY(rect MKMapRect) float64

func MKMapRectGetWidth

func MKMapRectGetWidth(rect MKMapRect) float64

func MKMapRectIntersectsRect

func MKMapRectIntersectsRect(rect1 MKMapRect, rect2 MKMapRect) bool

func MKMapRectIsEmpty

func MKMapRectIsEmpty(rect MKMapRect) bool

func MKMapRectIsNull

func MKMapRectIsNull(rect MKMapRect) bool

func MKMapRectSpans180thMeridian

func MKMapRectSpans180thMeridian(rect MKMapRect) bool

func MKMapSizeEqualToSize

func MKMapSizeEqualToSize(size1 MKMapSize, size2 MKMapSize) bool

func MKMapViewDefaultAnnotationViewReuseIdentifier

func MKMapViewDefaultAnnotationViewReuseIdentifier() uintptr

func MKMapViewDefaultClusterAnnotationViewReuseIdentifier

func MKMapViewDefaultClusterAnnotationViewReuseIdentifier() uintptr

func MKMetersBetweenMapPoints

func MKMetersBetweenMapPoints(a MKMapPoint, b MKMapPoint) unsafe.Pointer

func MKMetersPerMapPointAtLatitude

func MKMetersPerMapPointAtLatitude(latitude unsafe.Pointer) unsafe.Pointer

func MKPinAnnotationViewGreenPinColor

func MKPinAnnotationViewGreenPinColor() *appkit.NSColor

func MKPinAnnotationViewPurplePinColor

func MKPinAnnotationViewPurplePinColor() *appkit.NSColor

func MKPinAnnotationViewRedPinColor

func MKPinAnnotationViewRedPinColor() *appkit.NSColor

func MKPointOfInterestCategoryATM

func MKPointOfInterestCategoryATM() *foundation.NSString

func MKPointOfInterestCategoryAirport

func MKPointOfInterestCategoryAirport() *foundation.NSString

func MKPointOfInterestCategoryAmusementPark

func MKPointOfInterestCategoryAmusementPark() *foundation.NSString

func MKPointOfInterestCategoryAnimalService

func MKPointOfInterestCategoryAnimalService() *foundation.NSString

func MKPointOfInterestCategoryAquarium

func MKPointOfInterestCategoryAquarium() *foundation.NSString

func MKPointOfInterestCategoryAutomotiveRepair

func MKPointOfInterestCategoryAutomotiveRepair() *foundation.NSString

func MKPointOfInterestCategoryBakery

func MKPointOfInterestCategoryBakery() *foundation.NSString

func MKPointOfInterestCategoryBank

func MKPointOfInterestCategoryBank() *foundation.NSString

func MKPointOfInterestCategoryBaseball

func MKPointOfInterestCategoryBaseball() *foundation.NSString

func MKPointOfInterestCategoryBasketball

func MKPointOfInterestCategoryBasketball() *foundation.NSString

func MKPointOfInterestCategoryBeach

func MKPointOfInterestCategoryBeach() *foundation.NSString

func MKPointOfInterestCategoryBeauty

func MKPointOfInterestCategoryBeauty() *foundation.NSString

func MKPointOfInterestCategoryBowling

func MKPointOfInterestCategoryBowling() *foundation.NSString

func MKPointOfInterestCategoryBrewery

func MKPointOfInterestCategoryBrewery() *foundation.NSString

func MKPointOfInterestCategoryCafe

func MKPointOfInterestCategoryCafe() *foundation.NSString

func MKPointOfInterestCategoryCampground

func MKPointOfInterestCategoryCampground() *foundation.NSString

func MKPointOfInterestCategoryCarRental

func MKPointOfInterestCategoryCarRental() *foundation.NSString

func MKPointOfInterestCategoryCastle

func MKPointOfInterestCategoryCastle() *foundation.NSString

func MKPointOfInterestCategoryConventionCenter

func MKPointOfInterestCategoryConventionCenter() *foundation.NSString

func MKPointOfInterestCategoryDistillery

func MKPointOfInterestCategoryDistillery() *foundation.NSString

func MKPointOfInterestCategoryEVCharger

func MKPointOfInterestCategoryEVCharger() *foundation.NSString

func MKPointOfInterestCategoryFairground

func MKPointOfInterestCategoryFairground() *foundation.NSString

func MKPointOfInterestCategoryFireStation

func MKPointOfInterestCategoryFireStation() *foundation.NSString

func MKPointOfInterestCategoryFishing

func MKPointOfInterestCategoryFishing() *foundation.NSString

func MKPointOfInterestCategoryFitnessCenter

func MKPointOfInterestCategoryFitnessCenter() *foundation.NSString

func MKPointOfInterestCategoryFoodMarket

func MKPointOfInterestCategoryFoodMarket() *foundation.NSString

func MKPointOfInterestCategoryFortress

func MKPointOfInterestCategoryFortress() *foundation.NSString

func MKPointOfInterestCategoryGasStation

func MKPointOfInterestCategoryGasStation() *foundation.NSString

func MKPointOfInterestCategoryGoKart

func MKPointOfInterestCategoryGoKart() *foundation.NSString

func MKPointOfInterestCategoryGolf

func MKPointOfInterestCategoryGolf() *foundation.NSString

func MKPointOfInterestCategoryHiking

func MKPointOfInterestCategoryHiking() *foundation.NSString

func MKPointOfInterestCategoryHospital

func MKPointOfInterestCategoryHospital() *foundation.NSString

func MKPointOfInterestCategoryHotel

func MKPointOfInterestCategoryHotel() *foundation.NSString

func MKPointOfInterestCategoryKayaking

func MKPointOfInterestCategoryKayaking() *foundation.NSString

func MKPointOfInterestCategoryLandmark

func MKPointOfInterestCategoryLandmark() *foundation.NSString

func MKPointOfInterestCategoryLaundry

func MKPointOfInterestCategoryLaundry() *foundation.NSString

func MKPointOfInterestCategoryLibrary

func MKPointOfInterestCategoryLibrary() *foundation.NSString

func MKPointOfInterestCategoryMailbox

func MKPointOfInterestCategoryMailbox() *foundation.NSString

func MKPointOfInterestCategoryMarina

func MKPointOfInterestCategoryMarina() *foundation.NSString

func MKPointOfInterestCategoryMiniGolf

func MKPointOfInterestCategoryMiniGolf() *foundation.NSString

func MKPointOfInterestCategoryMovieTheater

func MKPointOfInterestCategoryMovieTheater() *foundation.NSString

func MKPointOfInterestCategoryMuseum

func MKPointOfInterestCategoryMuseum() *foundation.NSString

func MKPointOfInterestCategoryMusicVenue

func MKPointOfInterestCategoryMusicVenue() *foundation.NSString

func MKPointOfInterestCategoryNationalMonument

func MKPointOfInterestCategoryNationalMonument() *foundation.NSString

func MKPointOfInterestCategoryNationalPark

func MKPointOfInterestCategoryNationalPark() *foundation.NSString

func MKPointOfInterestCategoryNightlife

func MKPointOfInterestCategoryNightlife() *foundation.NSString

func MKPointOfInterestCategoryPark

func MKPointOfInterestCategoryPark() *foundation.NSString

func MKPointOfInterestCategoryParking

func MKPointOfInterestCategoryParking() *foundation.NSString

func MKPointOfInterestCategoryPharmacy

func MKPointOfInterestCategoryPharmacy() *foundation.NSString

func MKPointOfInterestCategoryPlanetarium

func MKPointOfInterestCategoryPlanetarium() *foundation.NSString

func MKPointOfInterestCategoryPolice

func MKPointOfInterestCategoryPolice() *foundation.NSString

func MKPointOfInterestCategoryPostOffice

func MKPointOfInterestCategoryPostOffice() *foundation.NSString

func MKPointOfInterestCategoryPublicTransport

func MKPointOfInterestCategoryPublicTransport() *foundation.NSString

func MKPointOfInterestCategoryRVPark

func MKPointOfInterestCategoryRVPark() *foundation.NSString

func MKPointOfInterestCategoryRestaurant

func MKPointOfInterestCategoryRestaurant() *foundation.NSString

func MKPointOfInterestCategoryRestroom

func MKPointOfInterestCategoryRestroom() *foundation.NSString

func MKPointOfInterestCategoryRockClimbing

func MKPointOfInterestCategoryRockClimbing() *foundation.NSString

func MKPointOfInterestCategorySchool

func MKPointOfInterestCategorySchool() *foundation.NSString

func MKPointOfInterestCategorySkatePark

func MKPointOfInterestCategorySkatePark() *foundation.NSString

func MKPointOfInterestCategorySkating

func MKPointOfInterestCategorySkating() *foundation.NSString

func MKPointOfInterestCategorySkiing

func MKPointOfInterestCategorySkiing() *foundation.NSString

func MKPointOfInterestCategorySoccer

func MKPointOfInterestCategorySoccer() *foundation.NSString

func MKPointOfInterestCategorySpa

func MKPointOfInterestCategorySpa() *foundation.NSString

func MKPointOfInterestCategoryStadium

func MKPointOfInterestCategoryStadium() *foundation.NSString

func MKPointOfInterestCategoryStore

func MKPointOfInterestCategoryStore() *foundation.NSString

func MKPointOfInterestCategorySurfing

func MKPointOfInterestCategorySurfing() *foundation.NSString

func MKPointOfInterestCategorySwimming

func MKPointOfInterestCategorySwimming() *foundation.NSString

func MKPointOfInterestCategoryTennis

func MKPointOfInterestCategoryTennis() *foundation.NSString

func MKPointOfInterestCategoryTheater

func MKPointOfInterestCategoryTheater() *foundation.NSString

func MKPointOfInterestCategoryUniversity

func MKPointOfInterestCategoryUniversity() *foundation.NSString

func MKPointOfInterestCategoryVolleyball

func MKPointOfInterestCategoryVolleyball() *foundation.NSString

func MKPointOfInterestCategoryWinery

func MKPointOfInterestCategoryWinery() *foundation.NSString

func MKPointOfInterestCategoryZoo

func MKPointOfInterestCategoryZoo() *foundation.NSString

func MKPointsOfInterestRequestMaxRadius

func MKPointsOfInterestRequestMaxRadius() uintptr

func MKRoadWidthAtZoomScale

func MKRoadWidthAtZoomScale(zoomScale float64) float64

func MKStringFromMapPoint

func MKStringFromMapPoint(point MKMapPoint) *foundation.NSString

func MKStringFromMapRect

func MKStringFromMapRect(rect MKMapRect) *foundation.NSString

func MKStringFromMapSize

func MKStringFromMapSize(size MKMapSize) *foundation.NSString

func SymbolAvailable

func SymbolAvailable(symbol string) bool

SymbolAvailable reports whether the named C symbol was bound when the library loaded. Calling a generated wrapper whose symbol is unavailable dereferences a nil function variable and panics.

Types

type Acl_entry_id_t

type Acl_entry_id_t int64
const (
	ACL_FIRST_ENTRY Acl_entry_id_t = 0
	ACL_NEXT_ENTRY  Acl_entry_id_t = -1
	ACL_LAST_ENTRY  Acl_entry_id_t = -2
)

func (Acl_entry_id_t) String

func (e Acl_entry_id_t) String() string

type Acl_flag_t

type Acl_flag_t int64
const (
	ACL_FLAG_DEFER_INHERIT      Acl_flag_t = 1
	ACL_FLAG_NO_INHERIT         Acl_flag_t = 131072
	ACL_ENTRY_INHERITED         Acl_flag_t = 16
	ACL_ENTRY_FILE_INHERIT      Acl_flag_t = 32
	ACL_ENTRY_DIRECTORY_INHERIT Acl_flag_t = 64
	ACL_ENTRY_LIMIT_INHERIT     Acl_flag_t = 128
	ACL_ENTRY_ONLY_INHERIT      Acl_flag_t = 256
)

func (Acl_flag_t) String

func (e Acl_flag_t) String() string

type Acl_perm_t

type Acl_perm_t int64
const (
	ACL_READ_DATA           Acl_perm_t = 2
	ACL_LIST_DIRECTORY      Acl_perm_t = 2
	ACL_WRITE_DATA          Acl_perm_t = 4
	ACL_ADD_FILE            Acl_perm_t = 4
	ACL_EXECUTE             Acl_perm_t = 8
	ACL_SEARCH              Acl_perm_t = 8
	ACL_DELETE              Acl_perm_t = 16
	ACL_APPEND_DATA         Acl_perm_t = 32
	ACL_ADD_SUBDIRECTORY    Acl_perm_t = 32
	ACL_DELETE_CHILD        Acl_perm_t = 64
	ACL_READ_ATTRIBUTES     Acl_perm_t = 128
	ACL_WRITE_ATTRIBUTES    Acl_perm_t = 256
	ACL_READ_EXTATTRIBUTES  Acl_perm_t = 512
	ACL_WRITE_EXTATTRIBUTES Acl_perm_t = 1024
	ACL_READ_SECURITY       Acl_perm_t = 2048
	ACL_WRITE_SECURITY      Acl_perm_t = 4096
	ACL_CHANGE_OWNER        Acl_perm_t = 8192
	ACL_SYNCHRONIZE         Acl_perm_t = 1048576
)

func (Acl_perm_t) String

func (e Acl_perm_t) String() string

type Acl_tag_t

type Acl_tag_t int64
const (
	ACL_UNDEFINED_TAG  Acl_tag_t = 0
	ACL_EXTENDED_ALLOW Acl_tag_t = 1
	ACL_EXTENDED_DENY  Acl_tag_t = 2
)

func (Acl_tag_t) String

func (e Acl_tag_t) String() string

type Acl_type_t

type Acl_type_t int64
const (
	ACL_TYPE_EXTENDED Acl_type_t = 256
	ACL_TYPE_ACCESS   Acl_type_t = 0
	ACL_TYPE_DEFAULT  Acl_type_t = 1
	ACL_TYPE_AFS      Acl_type_t = 2
	ACL_TYPE_CODA     Acl_type_t = 3
	ACL_TYPE_NTFS     Acl_type_t = 4
	ACL_TYPE_NWFS     Acl_type_t = 5
)

func (Acl_type_t) String

func (e Acl_type_t) String() string

type CGLCPContextPriorityRequest

type CGLCPContextPriorityRequest int64
const (
	KCGLCPContextPriorityRequestHigh   CGLCPContextPriorityRequest = 0
	KCGLCPContextPriorityRequestNormal CGLCPContextPriorityRequest = 1
	KCGLCPContextPriorityRequestLow    CGLCPContextPriorityRequest = 2
)

func (CGLCPContextPriorityRequest) String

type Clockid_t

type Clockid_t int64

func (Clockid_t) String

func (e Clockid_t) String() string

type Dispatch_autorelease_frequency_t

type Dispatch_autorelease_frequency_t uint64
const (
	DISPATCH_AUTORELEASE_FREQUENCY_INHERIT   Dispatch_autorelease_frequency_t = 0
	DISPATCH_AUTORELEASE_FREQUENCY_WORK_ITEM Dispatch_autorelease_frequency_t = 1
	DISPATCH_AUTORELEASE_FREQUENCY_NEVER     Dispatch_autorelease_frequency_t = 2
)

func (Dispatch_autorelease_frequency_t) String

type Dispatch_block_flags_t

type Dispatch_block_flags_t uint64
const (
	DISPATCH_BLOCK_BARRIER           Dispatch_block_flags_t = 1
	DISPATCH_BLOCK_DETACHED          Dispatch_block_flags_t = 2
	DISPATCH_BLOCK_ASSIGN_CURRENT    Dispatch_block_flags_t = 4
	DISPATCH_BLOCK_NO_QOS_CLASS      Dispatch_block_flags_t = 8
	DISPATCH_BLOCK_INHERIT_QOS_CLASS Dispatch_block_flags_t = 16
	DISPATCH_BLOCK_ENFORCE_QOS_CLASS Dispatch_block_flags_t = 32
)

func (Dispatch_block_flags_t) String

func (e Dispatch_block_flags_t) String() string

type EvCmd

type EvCmd int64
const (
	EVNOP   EvCmd = 0
	EVHIDE  EvCmd = 1
	EVSHOW  EvCmd = 2
	EVMOVE  EvCmd = 3
	EVLEVEL EvCmd = 4
)

func (EvCmd) String

func (e EvCmd) String() string

type Filesec_property_t

type Filesec_property_t int64
const (
	FILESEC_OWNER         Filesec_property_t = 1
	FILESEC_GROUP         Filesec_property_t = 2
	FILESEC_UUID          Filesec_property_t = 3
	FILESEC_MODE          Filesec_property_t = 4
	FILESEC_ACL           Filesec_property_t = 5
	FILESEC_GRPUUID       Filesec_property_t = 6
	FILESEC_ACL_RAW       Filesec_property_t = 100
	FILESEC_ACL_ALLOCSIZE Filesec_property_t = 101
)

func (Filesec_property_t) String

func (e Filesec_property_t) String() string

type Idtype_t

type Idtype_t int64
const (
	P_ALL  Idtype_t = 0
	P_PID  Idtype_t = 1
	P_PGID Idtype_t = 2
)

func (Idtype_t) String

func (e Idtype_t) String() string

type Ipc_info_object_type_t

type Ipc_info_object_type_t int64
const (
	IPC_OTYPE_NONE                 Ipc_info_object_type_t = 0
	IPC_OTYPE_THREAD_CONTROL       Ipc_info_object_type_t = 1
	IPC_OTYPE_TASK_CONTROL         Ipc_info_object_type_t = 2
	IPC_OTYPE_HOST                 Ipc_info_object_type_t = 3
	IPC_OTYPE_HOST_PRIV            Ipc_info_object_type_t = 4
	IPC_OTYPE_PROCESSOR            Ipc_info_object_type_t = 5
	IPC_OTYPE_PROCESSOR_SET        Ipc_info_object_type_t = 6
	IPC_OTYPE_PROCESSOR_SET_NAME   Ipc_info_object_type_t = 7
	IPC_OTYPE_TIMER                Ipc_info_object_type_t = 8
	IPC_OTYPE_PORT_SUBST_ONCE      Ipc_info_object_type_t = 9
	IPC_OTYPE_MIG                  Ipc_info_object_type_t = 10
	IPC_OTYPE_MEMORY_OBJECT        Ipc_info_object_type_t = 11
	IPC_OTYPE_XMM_PAGER            Ipc_info_object_type_t = 12
	IPC_OTYPE_XMM_KERNEL           Ipc_info_object_type_t = 13
	IPC_OTYPE_XMM_REPLY            Ipc_info_object_type_t = 14
	IPC_OTYPE_UND_REPLY            Ipc_info_object_type_t = 15
	IPC_OTYPE_HOST_NOTIFY          Ipc_info_object_type_t = 16
	IPC_OTYPE_HOST_SECURITY        Ipc_info_object_type_t = 17
	IPC_OTYPE_LEDGER               Ipc_info_object_type_t = 18
	IPC_OTYPE_MAIN_DEVICE          Ipc_info_object_type_t = 19
	IPC_OTYPE_TASK_NAME            Ipc_info_object_type_t = 20
	IPC_OTYPE_SUBSYSTEM            Ipc_info_object_type_t = 21
	IPC_OTYPE_IO_DONE_QUEUE        Ipc_info_object_type_t = 22
	IPC_OTYPE_SEMAPHORE            Ipc_info_object_type_t = 23
	IPC_OTYPE_LOCK_SET             Ipc_info_object_type_t = 24
	IPC_OTYPE_CLOCK                Ipc_info_object_type_t = 25
	IPC_OTYPE_CLOCK_CTRL           Ipc_info_object_type_t = 26
	IPC_OTYPE_IOKIT_IDENT          Ipc_info_object_type_t = 27
	IPC_OTYPE_NAMED_ENTRY          Ipc_info_object_type_t = 28
	IPC_OTYPE_IOKIT_CONNECT        Ipc_info_object_type_t = 29
	IPC_OTYPE_IOKIT_OBJECT         Ipc_info_object_type_t = 30
	IPC_OTYPE_UPL                  Ipc_info_object_type_t = 31
	IPC_OTYPE_MEM_OBJ_CONTROL      Ipc_info_object_type_t = 32
	IPC_OTYPE_AU_SESSIONPORT       Ipc_info_object_type_t = 33
	IPC_OTYPE_FILEPORT             Ipc_info_object_type_t = 34
	IPC_OTYPE_LABELH               Ipc_info_object_type_t = 35
	IPC_OTYPE_TASK_RESUME          Ipc_info_object_type_t = 36
	IPC_OTYPE_VOUCHER              Ipc_info_object_type_t = 37
	IPC_OTYPE_VOUCHER_ATTR_CONTROL Ipc_info_object_type_t = 38
	IPC_OTYPE_WORK_INTERVAL        Ipc_info_object_type_t = 39
	IPC_OTYPE_UX_HANDLER           Ipc_info_object_type_t = 40
	IPC_OTYPE_UEXT_OBJECT          Ipc_info_object_type_t = 41
	IPC_OTYPE_ARCADE_REG           Ipc_info_object_type_t = 42
	IPC_OTYPE_EVENTLINK            Ipc_info_object_type_t = 43
	IPC_OTYPE_TASK_INSPECT         Ipc_info_object_type_t = 44
	IPC_OTYPE_TASK_READ            Ipc_info_object_type_t = 45
	IPC_OTYPE_THREAD_INSPECT       Ipc_info_object_type_t = 46
	IPC_OTYPE_THREAD_READ          Ipc_info_object_type_t = 47
	IPC_OTYPE_SUID_CRED            Ipc_info_object_type_t = 48
	IPC_OTYPE_HYPERVISOR           Ipc_info_object_type_t = 49
	IPC_OTYPE_TASK_ID_TOKEN        Ipc_info_object_type_t = 50
	IPC_OTYPE_TASK_FATAL           Ipc_info_object_type_t = 51
	IPC_OTYPE_KCDATA               Ipc_info_object_type_t = 52
	IPC_OTYPE_EXCLAVES_RESOURCE    Ipc_info_object_type_t = 53
	IPC_OTYPE_THREAD_RESUME        Ipc_info_object_type_t = 54
	IPC_OTYPE_UNKNOWN              Ipc_info_object_type_t = 4294967295
)

func (Ipc_info_object_type_t) String

func (e Ipc_info_object_type_t) String() string

type Launch_data_type_t

type Launch_data_type_t int64
const (
	LAUNCH_DATA_DICTIONARY Launch_data_type_t = 1
	LAUNCH_DATA_ARRAY      Launch_data_type_t = 2
	LAUNCH_DATA_FD         Launch_data_type_t = 3
	LAUNCH_DATA_INTEGER    Launch_data_type_t = 4
	LAUNCH_DATA_REAL       Launch_data_type_t = 5
	LAUNCH_DATA_BOOL       Launch_data_type_t = 6
	LAUNCH_DATA_STRING     Launch_data_type_t = 7
	LAUNCH_DATA_OPAQUE     Launch_data_type_t = 8
	LAUNCH_DATA_ERRNO      Launch_data_type_t = 9
	LAUNCH_DATA_MACHPORT   Launch_data_type_t = 10
)

func (Launch_data_type_t) String

func (e Launch_data_type_t) String() string

type MDLabelDomain

type MDLabelDomain int64

@typedef MDLabelDomain @abstract These constants are used to specify a domain to MDLabelCreate().

const (
	KMDLabelUserDomain  MDLabelDomain = 0
	KMDLabelLocalDomain MDLabelDomain = 1
)

func (MDLabelDomain) String

func (e MDLabelDomain) String() string

type MDQueryOptionFlags

type MDQueryOptionFlags int64
const (
	KMDQuerySynchronous        MDQueryOptionFlags = 1
	KMDQueryWantsUpdates       MDQueryOptionFlags = 4
	KMDQueryAllowFSTranslation MDQueryOptionFlags = 8
)

func (MDQueryOptionFlags) String

func (e MDQueryOptionFlags) String() string

type MDQuerySortOptionFlags

type MDQuerySortOptionFlags int64

@enum MDQuerySortOptionFlags @constant kMDQueryReverseSortOrderFlag Sort the attribute in reverse order.

const (
	KMDQueryReverseSortOrderFlag MDQuerySortOptionFlags = 1
)

func (MDQuerySortOptionFlags) String

func (e MDQuerySortOptionFlags) String() string

type MKAddress

type MKAddress struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mkaddress

func MKAddressFromID

func MKAddressFromID(id objc.ID) *MKAddress

func (*MKAddress) FullAddress

func (o *MKAddress) FullAddress() *foundation.NSString

func (*MKAddress) InitWithFullAddressShortAddress

func (o *MKAddress) InitWithFullAddressShortAddress(fullAddress *foundation.NSString, shortAddress *foundation.NSString) *MKAddress

func (*MKAddress) ShortAddress

func (o *MKAddress) ShortAddress() *foundation.NSString

type MKAddressFilter

type MKAddressFilter struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mkaddressfilter

func MKAddressFilterFilterExcludingAll

func MKAddressFilterFilterExcludingAll() *MKAddressFilter

func MKAddressFilterFilterIncludingAll

func MKAddressFilterFilterIncludingAll() *MKAddressFilter

func MKAddressFilterFromID

func MKAddressFilterFromID(id objc.ID) *MKAddressFilter

func (*MKAddressFilter) ExcludesOptions

func (o *MKAddressFilter) ExcludesOptions(options MKAddressFilterOption) bool

func (*MKAddressFilter) IncludesOptions

func (o *MKAddressFilter) IncludesOptions(options MKAddressFilterOption) bool

func (*MKAddressFilter) InitExcludingOptions

func (o *MKAddressFilter) InitExcludingOptions(options MKAddressFilterOption) *MKAddressFilter

func (*MKAddressFilter) InitIncludingOptions

func (o *MKAddressFilter) InitIncludingOptions(options MKAddressFilterOption) *MKAddressFilter

type MKAddressFilterOption

type MKAddressFilterOption uint64
const (
	MKAddressFilterOptionCountry               MKAddressFilterOption = 1
	MKAddressFilterOptionAdministrativeArea    MKAddressFilterOption = 2
	MKAddressFilterOptionSubAdministrativeArea MKAddressFilterOption = 4
	MKAddressFilterOptionLocality              MKAddressFilterOption = 8
	MKAddressFilterOptionSubLocality           MKAddressFilterOption = 16
	MKAddressFilterOptionPostalCode            MKAddressFilterOption = 32
)

func (MKAddressFilterOption) String

func (e MKAddressFilterOption) String() string

type MKAddressRepresentations

type MKAddressRepresentations struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mkaddressrepresentations

func MKAddressRepresentationsFromID

func MKAddressRepresentationsFromID(id objc.ID) *MKAddressRepresentations

func (*MKAddressRepresentations) CityName

func (*MKAddressRepresentations) CityWithContext

func (o *MKAddressRepresentations) CityWithContext() *foundation.NSString

func (*MKAddressRepresentations) CityWithContextUsingStyle

func (*MKAddressRepresentations) FullAddressIncludingRegionSingleLine

func (o *MKAddressRepresentations) FullAddressIncludingRegionSingleLine(includingRegion bool, singleLine bool) *foundation.NSString

func (*MKAddressRepresentations) RegionCode

func (o *MKAddressRepresentations) RegionCode() *foundation.NSString

func (*MKAddressRepresentations) RegionName

func (o *MKAddressRepresentations) RegionName() *foundation.NSString

type MKAddressRepresentationsContextStyle

type MKAddressRepresentationsContextStyle int64
const (
	MKAddressRepresentationsContextStyleAutomatic MKAddressRepresentationsContextStyle = 0
	MKAddressRepresentationsContextStyleShort     MKAddressRepresentationsContextStyle = 1
	MKAddressRepresentationsContextStyleFull      MKAddressRepresentationsContextStyle = 2
)

func (MKAddressRepresentationsContextStyle) String

type MKAnnotation

type MKAnnotation interface {
}

MKAnnotation wraps the ObjC protocol MKAnnotation.

type MKAnnotationView

type MKAnnotationView struct {
	appkit.NSView
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mkannotationview

func MKAnnotationViewFromID

func MKAnnotationViewFromID(id objc.ID) *MKAnnotationView

func (*MKAnnotationView) AccessoryOffset

func (o *MKAnnotationView) AccessoryOffset() corefoundation.CGPoint

func (*MKAnnotationView) Annotation

func (o *MKAnnotationView) Annotation() MKAnnotation

func (*MKAnnotationView) CalloutOffset

func (o *MKAnnotationView) CalloutOffset() corefoundation.CGPoint

func (*MKAnnotationView) CanShowCallout

func (o *MKAnnotationView) CanShowCallout() bool

func (*MKAnnotationView) CenterOffset

func (o *MKAnnotationView) CenterOffset() corefoundation.CGPoint

func (*MKAnnotationView) ClusterAnnotationView

func (o *MKAnnotationView) ClusterAnnotationView() *MKAnnotationView

func (*MKAnnotationView) ClusteringIdentifier

func (o *MKAnnotationView) ClusteringIdentifier() *foundation.NSString

func (*MKAnnotationView) CollisionMode

func (*MKAnnotationView) DetailCalloutAccessoryView

func (o *MKAnnotationView) DetailCalloutAccessoryView() *appkit.NSView

func (*MKAnnotationView) DisplayPriority

func (o *MKAnnotationView) DisplayPriority() float32

func (*MKAnnotationView) DragState

func (*MKAnnotationView) Image

func (o *MKAnnotationView) Image() *appkit.NSImage

func (*MKAnnotationView) InitWithAnnotationReuseIdentifier

func (o *MKAnnotationView) InitWithAnnotationReuseIdentifier(annotation MKAnnotation, reuseIdentifier *foundation.NSString) *MKAnnotationView

func (*MKAnnotationView) InitWithCoder

func (o *MKAnnotationView) InitWithCoder(aDecoder *foundation.NSCoder) *MKAnnotationView

func (*MKAnnotationView) IsDraggable

func (o *MKAnnotationView) IsDraggable() bool

func (*MKAnnotationView) IsEnabled

func (o *MKAnnotationView) IsEnabled() bool

func (*MKAnnotationView) IsHighlighted

func (o *MKAnnotationView) IsHighlighted() bool

func (*MKAnnotationView) IsSelected

func (o *MKAnnotationView) IsSelected() bool

func (*MKAnnotationView) LeftCalloutAccessoryView

func (o *MKAnnotationView) LeftCalloutAccessoryView() *appkit.NSView

func (*MKAnnotationView) LeftCalloutOffset

func (o *MKAnnotationView) LeftCalloutOffset() corefoundation.CGPoint

func (*MKAnnotationView) PrepareForDisplay

func (o *MKAnnotationView) PrepareForDisplay()

func (*MKAnnotationView) ReuseIdentifier

func (o *MKAnnotationView) ReuseIdentifier() *foundation.NSString

func (*MKAnnotationView) RightCalloutAccessoryView

func (o *MKAnnotationView) RightCalloutAccessoryView() *appkit.NSView

func (*MKAnnotationView) RightCalloutOffset

func (o *MKAnnotationView) RightCalloutOffset() corefoundation.CGPoint

func (*MKAnnotationView) SelectedZPriority

func (o *MKAnnotationView) SelectedZPriority() float32

func (*MKAnnotationView) SetAccessoryOffset

func (o *MKAnnotationView) SetAccessoryOffset(accessoryOffset corefoundation.CGPoint)

func (*MKAnnotationView) SetAnnotation

func (o *MKAnnotationView) SetAnnotation(annotation MKAnnotation)

func (*MKAnnotationView) SetCalloutOffset

func (o *MKAnnotationView) SetCalloutOffset(calloutOffset corefoundation.CGPoint)

func (*MKAnnotationView) SetCanShowCallout

func (o *MKAnnotationView) SetCanShowCallout(canShowCallout bool)

func (*MKAnnotationView) SetCenterOffset

func (o *MKAnnotationView) SetCenterOffset(centerOffset corefoundation.CGPoint)

func (*MKAnnotationView) SetClusteringIdentifier

func (o *MKAnnotationView) SetClusteringIdentifier(clusteringIdentifier *foundation.NSString)

func (*MKAnnotationView) SetCollisionMode

func (o *MKAnnotationView) SetCollisionMode(collisionMode MKAnnotationViewCollisionMode)

func (*MKAnnotationView) SetDetailCalloutAccessoryView

func (o *MKAnnotationView) SetDetailCalloutAccessoryView(detailCalloutAccessoryView *appkit.NSView)

func (*MKAnnotationView) SetDisplayPriority

func (o *MKAnnotationView) SetDisplayPriority(displayPriority float32)

func (*MKAnnotationView) SetDragState

func (o *MKAnnotationView) SetDragState(dragState MKAnnotationViewDragState)

func (*MKAnnotationView) SetDragStateAnimated

func (o *MKAnnotationView) SetDragStateAnimated(newDragState MKAnnotationViewDragState, animated bool)

func (*MKAnnotationView) SetDraggable

func (o *MKAnnotationView) SetDraggable(draggable bool)

func (*MKAnnotationView) SetEnabled

func (o *MKAnnotationView) SetEnabled(enabled bool)

func (*MKAnnotationView) SetHighlighted

func (o *MKAnnotationView) SetHighlighted(highlighted bool)

func (*MKAnnotationView) SetImage

func (o *MKAnnotationView) SetImage(image *appkit.NSImage)

func (*MKAnnotationView) SetLeftCalloutAccessoryView

func (o *MKAnnotationView) SetLeftCalloutAccessoryView(leftCalloutAccessoryView *appkit.NSView)

func (*MKAnnotationView) SetLeftCalloutOffset

func (o *MKAnnotationView) SetLeftCalloutOffset(leftCalloutOffset corefoundation.CGPoint)

func (*MKAnnotationView) SetRightCalloutAccessoryView

func (o *MKAnnotationView) SetRightCalloutAccessoryView(rightCalloutAccessoryView *appkit.NSView)

func (*MKAnnotationView) SetRightCalloutOffset

func (o *MKAnnotationView) SetRightCalloutOffset(rightCalloutOffset corefoundation.CGPoint)

func (*MKAnnotationView) SetSelected

func (o *MKAnnotationView) SetSelected(selected bool)

func (*MKAnnotationView) SetSelectedAnimated

func (o *MKAnnotationView) SetSelectedAnimated(selected bool, animated bool)

func (*MKAnnotationView) SetSelectedZPriority

func (o *MKAnnotationView) SetSelectedZPriority(selectedZPriority float32)

func (*MKAnnotationView) SetZPriority

func (o *MKAnnotationView) SetZPriority(zPriority float32)

func (*MKAnnotationView) ZPriority

func (o *MKAnnotationView) ZPriority() float32

type MKAnnotationViewCollisionMode

type MKAnnotationViewCollisionMode int64
const (
	MKAnnotationViewCollisionModeRectangle MKAnnotationViewCollisionMode = 0
	MKAnnotationViewCollisionModeCircle    MKAnnotationViewCollisionMode = 1
	MKAnnotationViewCollisionModeNone      MKAnnotationViewCollisionMode = 2
)

func (MKAnnotationViewCollisionMode) String

type MKAnnotationViewDragState

type MKAnnotationViewDragState uint64
const (
	MKAnnotationViewDragStateNone      MKAnnotationViewDragState = 0
	MKAnnotationViewDragStateStarting  MKAnnotationViewDragState = 1
	MKAnnotationViewDragStateDragging  MKAnnotationViewDragState = 2
	MKAnnotationViewDragStateCanceling MKAnnotationViewDragState = 3
	MKAnnotationViewDragStateEnding    MKAnnotationViewDragState = 4
)

func (MKAnnotationViewDragState) String

func (e MKAnnotationViewDragState) String() string

type MKCircle

type MKCircle struct {
	MKShape
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mkcircle

func MKCircleCircleWithCenterCoordinateRadius

func MKCircleCircleWithCenterCoordinateRadius(coord unsafe.Pointer, radius unsafe.Pointer) *MKCircle

func MKCircleCircleWithMapRect

func MKCircleCircleWithMapRect(mapRect MKMapRect) *MKCircle

func MKCircleFromID

func MKCircleFromID(id objc.ID) *MKCircle

func (*MKCircle) BoundingMapRect

func (o *MKCircle) BoundingMapRect() MKMapRect

func (*MKCircle) Coordinate

func (o *MKCircle) Coordinate() unsafe.Pointer

func (*MKCircle) Radius

func (o *MKCircle) Radius() unsafe.Pointer

type MKCircleRenderer

type MKCircleRenderer struct {
	MKOverlayPathRenderer
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mkcirclerenderer

func MKCircleRendererFromID

func MKCircleRendererFromID(id objc.ID) *MKCircleRenderer

func (*MKCircleRenderer) Circle

func (o *MKCircleRenderer) Circle() *MKCircle

func (*MKCircleRenderer) InitWithCircle

func (o *MKCircleRenderer) InitWithCircle(circle *MKCircle) *MKCircleRenderer

func (*MKCircleRenderer) SetStrokeEnd

func (o *MKCircleRenderer) SetStrokeEnd(strokeEnd float64)

func (*MKCircleRenderer) SetStrokeStart

func (o *MKCircleRenderer) SetStrokeStart(strokeStart float64)

func (*MKCircleRenderer) StrokeEnd

func (o *MKCircleRenderer) StrokeEnd() float64

func (*MKCircleRenderer) StrokeStart

func (o *MKCircleRenderer) StrokeStart() float64

type MKClusterAnnotation

type MKClusterAnnotation struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mkclusterannotation

func MKClusterAnnotationFromID

func MKClusterAnnotationFromID(id objc.ID) *MKClusterAnnotation

func (*MKClusterAnnotation) InitWithMemberAnnotations

func (o *MKClusterAnnotation) InitWithMemberAnnotations(memberAnnotations *foundation.NSArray[MKAnnotation]) *MKClusterAnnotation

func (*MKClusterAnnotation) MemberAnnotations

func (o *MKClusterAnnotation) MemberAnnotations() *foundation.NSArray[MKAnnotation]

func (*MKClusterAnnotation) SetSubtitle

func (o *MKClusterAnnotation) SetSubtitle(subtitle *foundation.NSString)

func (*MKClusterAnnotation) SetTitle

func (o *MKClusterAnnotation) SetTitle(title *foundation.NSString)

func (*MKClusterAnnotation) Subtitle

func (o *MKClusterAnnotation) Subtitle() *foundation.NSString

func (*MKClusterAnnotation) Title

type MKCompassButton

type MKCompassButton struct {
	appkit.NSView
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mkcompassbutton

func MKCompassButtonCompassButtonWithMapView

func MKCompassButtonCompassButtonWithMapView(mapView *MKMapView) *MKCompassButton

func MKCompassButtonFromID

func MKCompassButtonFromID(id objc.ID) *MKCompassButton

func (*MKCompassButton) CompassVisibility

func (o *MKCompassButton) CompassVisibility() MKFeatureVisibility

func (*MKCompassButton) MapView

func (o *MKCompassButton) MapView() *MKMapView

func (*MKCompassButton) SetCompassVisibility

func (o *MKCompassButton) SetCompassVisibility(compassVisibility MKFeatureVisibility)

func (*MKCompassButton) SetMapView

func (o *MKCompassButton) SetMapView(mapView *MKMapView)

type MKCoordinateRegion

type MKCoordinateRegion struct {
	Center unsafe.Pointer
	Span   MKCoordinateSpan
}

func MKCoordinateRegionForMapRect

func MKCoordinateRegionForMapRect(rect MKMapRect) MKCoordinateRegion

func MKCoordinateRegionMake

func MKCoordinateRegionMake(centerCoordinate unsafe.Pointer, span MKCoordinateSpan) MKCoordinateRegion

func MKCoordinateRegionMakeWithDistance

func MKCoordinateRegionMakeWithDistance(centerCoordinate unsafe.Pointer, latitudinalMeters unsafe.Pointer, longitudinalMeters unsafe.Pointer) MKCoordinateRegion

type MKCoordinateSpan

type MKCoordinateSpan struct {
	LatitudeDelta  unsafe.Pointer
	LongitudeDelta unsafe.Pointer
}

func MKCoordinateSpanMake

func MKCoordinateSpanMake(latitudeDelta unsafe.Pointer, longitudeDelta unsafe.Pointer) MKCoordinateSpan

type MKDirections

type MKDirections struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mkdirections

func MKDirectionsFromID

func MKDirectionsFromID(id objc.ID) *MKDirections

func (*MKDirections) CalculateDirectionsWithCompletionHandler

func (o *MKDirections) CalculateDirectionsWithCompletionHandler(completionHandler func(*MKDirectionsResponse, unsafe.Pointer))

func (*MKDirections) CalculateETAWithCompletionHandler

func (o *MKDirections) CalculateETAWithCompletionHandler(completionHandler func(*MKETAResponse, unsafe.Pointer))

func (*MKDirections) Cancel

func (o *MKDirections) Cancel()

func (*MKDirections) InitWithRequest

func (o *MKDirections) InitWithRequest(request *MKDirectionsRequest) *MKDirections

func (*MKDirections) IsCalculating

func (o *MKDirections) IsCalculating() bool

type MKDirectionsRequest

type MKDirectionsRequest struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mkdirectionsrequest

func MKDirectionsRequestFromID

func MKDirectionsRequestFromID(id objc.ID) *MKDirectionsRequest

func (*MKDirectionsRequest) ArrivalDate

func (o *MKDirectionsRequest) ArrivalDate() *foundation.NSDate

func (*MKDirectionsRequest) DepartureDate

func (o *MKDirectionsRequest) DepartureDate() *foundation.NSDate

func (*MKDirectionsRequest) Destination

func (o *MKDirectionsRequest) Destination() *MKMapItem

func (*MKDirectionsRequest) HighwayPreference

func (o *MKDirectionsRequest) HighwayPreference() MKDirectionsRoutePreference

func (*MKDirectionsRequest) InitWithContentsOfURL

func (o *MKDirectionsRequest) InitWithContentsOfURL(url *foundation.NSURL) *MKDirectionsRequest

func (*MKDirectionsRequest) RequestsAlternateRoutes

func (o *MKDirectionsRequest) RequestsAlternateRoutes() bool

func (*MKDirectionsRequest) SetArrivalDate

func (o *MKDirectionsRequest) SetArrivalDate(arrivalDate *foundation.NSDate)

func (*MKDirectionsRequest) SetDepartureDate

func (o *MKDirectionsRequest) SetDepartureDate(departureDate *foundation.NSDate)

func (*MKDirectionsRequest) SetDestination

func (o *MKDirectionsRequest) SetDestination(destination *MKMapItem)

func (*MKDirectionsRequest) SetHighwayPreference

func (o *MKDirectionsRequest) SetHighwayPreference(highwayPreference MKDirectionsRoutePreference)

func (*MKDirectionsRequest) SetRequestsAlternateRoutes

func (o *MKDirectionsRequest) SetRequestsAlternateRoutes(requestsAlternateRoutes bool)

func (*MKDirectionsRequest) SetSource

func (o *MKDirectionsRequest) SetSource(source *MKMapItem)

func (*MKDirectionsRequest) SetTollPreference

func (o *MKDirectionsRequest) SetTollPreference(tollPreference MKDirectionsRoutePreference)

func (*MKDirectionsRequest) SetTransportType

func (o *MKDirectionsRequest) SetTransportType(transportType MKDirectionsTransportType)

func (*MKDirectionsRequest) Source

func (o *MKDirectionsRequest) Source() *MKMapItem

func (*MKDirectionsRequest) TollPreference

func (*MKDirectionsRequest) TransportType

type MKDirectionsResponse

type MKDirectionsResponse struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mkdirectionsresponse

func MKDirectionsResponseFromID

func MKDirectionsResponseFromID(id objc.ID) *MKDirectionsResponse

func (*MKDirectionsResponse) Destination

func (o *MKDirectionsResponse) Destination() *MKMapItem

func (*MKDirectionsResponse) Routes

func (*MKDirectionsResponse) Source

func (o *MKDirectionsResponse) Source() *MKMapItem

type MKDirectionsRoutePreference

type MKDirectionsRoutePreference int64
const (
	MKDirectionsRoutePreferenceAny   MKDirectionsRoutePreference = 0
	MKDirectionsRoutePreferenceAvoid MKDirectionsRoutePreference = 1
)

func (MKDirectionsRoutePreference) String

type MKDirectionsTransportType

type MKDirectionsTransportType uint64
const (
	MKDirectionsTransportTypeAutomobile MKDirectionsTransportType = 1
	MKDirectionsTransportTypeWalking    MKDirectionsTransportType = 2
	MKDirectionsTransportTypeTransit    MKDirectionsTransportType = 4
	MKDirectionsTransportTypeCycling    MKDirectionsTransportType = 8
	MKDirectionsTransportTypeAny        MKDirectionsTransportType = 268435455
)

func (MKDirectionsTransportType) String

func (e MKDirectionsTransportType) String() string

type MKDistanceFormatter

type MKDistanceFormatter struct {
	foundation.NSFormatter
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mkdistanceformatter

func MKDistanceFormatterFromID

func MKDistanceFormatterFromID(id objc.ID) *MKDistanceFormatter

func (*MKDistanceFormatter) DistanceFromString

func (o *MKDistanceFormatter) DistanceFromString(distance *foundation.NSString) unsafe.Pointer

func (*MKDistanceFormatter) Locale

func (*MKDistanceFormatter) SetLocale

func (o *MKDistanceFormatter) SetLocale(locale *foundation.NSLocale)

func (*MKDistanceFormatter) SetUnitStyle

func (o *MKDistanceFormatter) SetUnitStyle(unitStyle MKDistanceFormatterUnitStyle)

func (*MKDistanceFormatter) SetUnits

func (o *MKDistanceFormatter) SetUnits(units MKDistanceFormatterUnits)

func (*MKDistanceFormatter) StringFromDistance

func (o *MKDistanceFormatter) StringFromDistance(distance unsafe.Pointer) *foundation.NSString

func (*MKDistanceFormatter) UnitStyle

func (*MKDistanceFormatter) Units

type MKDistanceFormatterUnitStyle

type MKDistanceFormatterUnitStyle uint64
const (
	MKDistanceFormatterUnitStyleDefault     MKDistanceFormatterUnitStyle = 0
	MKDistanceFormatterUnitStyleAbbreviated MKDistanceFormatterUnitStyle = 1
	MKDistanceFormatterUnitStyleFull        MKDistanceFormatterUnitStyle = 2
)

func (MKDistanceFormatterUnitStyle) String

type MKDistanceFormatterUnits

type MKDistanceFormatterUnits uint64
const (
	MKDistanceFormatterUnitsDefault           MKDistanceFormatterUnits = 0
	MKDistanceFormatterUnitsMetric            MKDistanceFormatterUnits = 1
	MKDistanceFormatterUnitsImperial          MKDistanceFormatterUnits = 2
	MKDistanceFormatterUnitsImperialWithYards MKDistanceFormatterUnits = 3
)

func (MKDistanceFormatterUnits) String

func (e MKDistanceFormatterUnits) String() string

type MKETAResponse

type MKETAResponse struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mketaresponse

func MKETAResponseFromID

func MKETAResponseFromID(id objc.ID) *MKETAResponse

func (*MKETAResponse) Destination

func (o *MKETAResponse) Destination() *MKMapItem

func (*MKETAResponse) Distance

func (o *MKETAResponse) Distance() unsafe.Pointer

func (*MKETAResponse) ExpectedArrivalDate

func (o *MKETAResponse) ExpectedArrivalDate() *foundation.NSDate

func (*MKETAResponse) ExpectedDepartureDate

func (o *MKETAResponse) ExpectedDepartureDate() *foundation.NSDate

func (*MKETAResponse) ExpectedTravelTime

func (o *MKETAResponse) ExpectedTravelTime() float64

func (*MKETAResponse) Source

func (o *MKETAResponse) Source() *MKMapItem

func (*MKETAResponse) TransportType

func (o *MKETAResponse) TransportType() MKDirectionsTransportType

type MKErrorCode

type MKErrorCode uint64
const (
	MKErrorUnknown            MKErrorCode = 1
	MKErrorServerFailure      MKErrorCode = 2
	MKErrorLoadingThrottled   MKErrorCode = 3
	MKErrorPlacemarkNotFound  MKErrorCode = 4
	MKErrorDirectionsNotFound MKErrorCode = 5
	MKErrorDecodingFailed     MKErrorCode = 6
)

func (MKErrorCode) String

func (e MKErrorCode) String() string

type MKFeatureVisibility

type MKFeatureVisibility int64
const (
	MKFeatureVisibilityAdaptive MKFeatureVisibility = 0
	MKFeatureVisibilityHidden   MKFeatureVisibility = 1
	MKFeatureVisibilityVisible  MKFeatureVisibility = 2
)

func (MKFeatureVisibility) String

func (e MKFeatureVisibility) String() string

type MKGeoJSONDecoder

type MKGeoJSONDecoder struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mkgeojsondecoder

func MKGeoJSONDecoderFromID

func MKGeoJSONDecoderFromID(id objc.ID) *MKGeoJSONDecoder

func (*MKGeoJSONDecoder) GeoJSONObjectsWithDataError

func (o *MKGeoJSONDecoder) GeoJSONObjectsWithDataError(data *foundation.NSData) (*foundation.NSArray[MKGeoJSONObject], error)

type MKGeoJSONFeature

type MKGeoJSONFeature struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mkgeojsonfeature

func MKGeoJSONFeatureFromID

func MKGeoJSONFeatureFromID(id objc.ID) *MKGeoJSONFeature

func (*MKGeoJSONFeature) Geometry

func (o *MKGeoJSONFeature) Geometry() *foundation.NSArray[*MKShape]

func (*MKGeoJSONFeature) Identifier

func (o *MKGeoJSONFeature) Identifier() *foundation.NSString

func (*MKGeoJSONFeature) Properties

func (o *MKGeoJSONFeature) Properties() *foundation.NSData

type MKGeoJSONObject

type MKGeoJSONObject interface {
}

MKGeoJSONObject wraps the ObjC protocol MKGeoJSONObject.

type MKGeocodingRequest

type MKGeocodingRequest struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mkgeocodingrequest

func MKGeocodingRequestFromID

func MKGeocodingRequestFromID(id objc.ID) *MKGeocodingRequest

func (*MKGeocodingRequest) AddressString

func (o *MKGeocodingRequest) AddressString() *foundation.NSString

func (*MKGeocodingRequest) Cancel

func (o *MKGeocodingRequest) Cancel()

func (*MKGeocodingRequest) GetMapItemsWithCompletionHandler

func (o *MKGeocodingRequest) GetMapItemsWithCompletionHandler(completionHandler func(*foundation.NSArray[*MKMapItem], unsafe.Pointer))

func (*MKGeocodingRequest) InitWithAddressString

func (o *MKGeocodingRequest) InitWithAddressString(addressString *foundation.NSString) *MKGeocodingRequest

func (*MKGeocodingRequest) IsCancelled

func (o *MKGeocodingRequest) IsCancelled() bool

func (*MKGeocodingRequest) IsLoading

func (o *MKGeocodingRequest) IsLoading() bool

func (*MKGeocodingRequest) PreferredLocale

func (o *MKGeocodingRequest) PreferredLocale() *foundation.NSLocale

func (*MKGeocodingRequest) Region

func (*MKGeocodingRequest) SetPreferredLocale

func (o *MKGeocodingRequest) SetPreferredLocale(preferredLocale *foundation.NSLocale)

func (*MKGeocodingRequest) SetRegion

func (o *MKGeocodingRequest) SetRegion(region MKCoordinateRegion)

type MKGeodesicPolyline

type MKGeodesicPolyline struct {
	MKPolyline
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mkgeodesicpolyline

func MKGeodesicPolylineFromID

func MKGeodesicPolylineFromID(id objc.ID) *MKGeodesicPolyline

func MKGeodesicPolylinePolylineWithCoordinatesCount

func MKGeodesicPolylinePolylineWithCoordinatesCount(coords unsafe.Pointer, count uint) *MKGeodesicPolyline

func MKGeodesicPolylinePolylineWithPointsCount

func MKGeodesicPolylinePolylineWithPointsCount(points *MKMapPoint, count uint) *MKGeodesicPolyline

type MKGradientPolylineRenderer

type MKGradientPolylineRenderer struct {
	MKPolylineRenderer
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mkgradientpolylinerenderer

func MKGradientPolylineRendererFromID

func MKGradientPolylineRendererFromID(id objc.ID) *MKGradientPolylineRenderer

func (*MKGradientPolylineRenderer) Colors

func (*MKGradientPolylineRenderer) Locations

func (*MKGradientPolylineRenderer) SetColorsAtLocations

func (o *MKGradientPolylineRenderer) SetColorsAtLocations(colors *foundation.NSArray[*appkit.NSColor], locations *foundation.NSArray[*foundation.NSNumber])

type MKHybridMapConfiguration

type MKHybridMapConfiguration struct {
	MKMapConfiguration
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mkhybridmapconfiguration

func MKHybridMapConfigurationFromID

func MKHybridMapConfigurationFromID(id objc.ID) *MKHybridMapConfiguration

func (*MKHybridMapConfiguration) Init

func (*MKHybridMapConfiguration) InitWithElevationStyle

func (o *MKHybridMapConfiguration) InitWithElevationStyle(elevationStyle MKMapElevationStyle) *MKHybridMapConfiguration

func (*MKHybridMapConfiguration) PointOfInterestFilter

func (o *MKHybridMapConfiguration) PointOfInterestFilter() *MKPointOfInterestFilter

func (*MKHybridMapConfiguration) SetPointOfInterestFilter

func (o *MKHybridMapConfiguration) SetPointOfInterestFilter(pointOfInterestFilter *MKPointOfInterestFilter)

func (*MKHybridMapConfiguration) SetShowsTraffic

func (o *MKHybridMapConfiguration) SetShowsTraffic(showsTraffic bool)

func (*MKHybridMapConfiguration) ShowsTraffic

func (o *MKHybridMapConfiguration) ShowsTraffic() bool

type MKImageryMapConfiguration

type MKImageryMapConfiguration struct {
	MKMapConfiguration
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mkimagerymapconfiguration

func MKImageryMapConfigurationFromID

func MKImageryMapConfigurationFromID(id objc.ID) *MKImageryMapConfiguration

func (*MKImageryMapConfiguration) Init

func (*MKImageryMapConfiguration) InitWithElevationStyle

func (o *MKImageryMapConfiguration) InitWithElevationStyle(elevationStyle MKMapElevationStyle) *MKImageryMapConfiguration

type MKLocalPointsOfInterestRequest

type MKLocalPointsOfInterestRequest struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mklocalpointsofinterestrequest

func MKLocalPointsOfInterestRequestFromID

func MKLocalPointsOfInterestRequestFromID(id objc.ID) *MKLocalPointsOfInterestRequest

func (*MKLocalPointsOfInterestRequest) Coordinate

func (*MKLocalPointsOfInterestRequest) InitWithCenterCoordinateRadius

func (o *MKLocalPointsOfInterestRequest) InitWithCenterCoordinateRadius(coordinate unsafe.Pointer, radius unsafe.Pointer) *MKLocalPointsOfInterestRequest

func (*MKLocalPointsOfInterestRequest) InitWithCoordinateRegion

func (*MKLocalPointsOfInterestRequest) PointOfInterestFilter

func (o *MKLocalPointsOfInterestRequest) PointOfInterestFilter() *MKPointOfInterestFilter

func (*MKLocalPointsOfInterestRequest) Radius

func (*MKLocalPointsOfInterestRequest) Region

func (*MKLocalPointsOfInterestRequest) SetPointOfInterestFilter

func (o *MKLocalPointsOfInterestRequest) SetPointOfInterestFilter(pointOfInterestFilter *MKPointOfInterestFilter)

type MKLocalSearch

type MKLocalSearch struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mklocalsearch

func MKLocalSearchFromID

func MKLocalSearchFromID(id objc.ID) *MKLocalSearch

func (*MKLocalSearch) Cancel

func (o *MKLocalSearch) Cancel()

func (*MKLocalSearch) InitWithPointsOfInterestRequest

func (o *MKLocalSearch) InitWithPointsOfInterestRequest(request *MKLocalPointsOfInterestRequest) *MKLocalSearch

func (*MKLocalSearch) InitWithRequest

func (o *MKLocalSearch) InitWithRequest(request *MKLocalSearchRequest) *MKLocalSearch

func (*MKLocalSearch) IsSearching

func (o *MKLocalSearch) IsSearching() bool

func (*MKLocalSearch) StartWithCompletionHandler

func (o *MKLocalSearch) StartWithCompletionHandler(completionHandler func(*MKLocalSearchResponse, unsafe.Pointer))

type MKLocalSearchCompleter

type MKLocalSearchCompleter struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mklocalsearchcompleter

func MKLocalSearchCompleterFromID

func MKLocalSearchCompleterFromID(id objc.ID) *MKLocalSearchCompleter

func (*MKLocalSearchCompleter) AddressFilter

func (o *MKLocalSearchCompleter) AddressFilter() *MKAddressFilter

func (*MKLocalSearchCompleter) Cancel

func (o *MKLocalSearchCompleter) Cancel()

func (*MKLocalSearchCompleter) Delegate

func (*MKLocalSearchCompleter) FilterType deprecated

Deprecated: Use resultTypes

func (*MKLocalSearchCompleter) IsSearching

func (o *MKLocalSearchCompleter) IsSearching() bool

func (*MKLocalSearchCompleter) PointOfInterestFilter

func (o *MKLocalSearchCompleter) PointOfInterestFilter() *MKPointOfInterestFilter

func (*MKLocalSearchCompleter) QueryFragment

func (o *MKLocalSearchCompleter) QueryFragment() *foundation.NSString

func (*MKLocalSearchCompleter) Region

func (*MKLocalSearchCompleter) RegionPriority

func (*MKLocalSearchCompleter) ResultTypes

func (*MKLocalSearchCompleter) Results

func (*MKLocalSearchCompleter) SetAddressFilter

func (o *MKLocalSearchCompleter) SetAddressFilter(addressFilter *MKAddressFilter)

func (*MKLocalSearchCompleter) SetDelegate

func (o *MKLocalSearchCompleter) SetDelegate(delegate MKLocalSearchCompleterDelegate)

func (*MKLocalSearchCompleter) SetFilterType deprecated

func (o *MKLocalSearchCompleter) SetFilterType(filterType MKSearchCompletionFilterType)

Deprecated: Use resultTypes

func (*MKLocalSearchCompleter) SetPointOfInterestFilter

func (o *MKLocalSearchCompleter) SetPointOfInterestFilter(pointOfInterestFilter *MKPointOfInterestFilter)

func (*MKLocalSearchCompleter) SetQueryFragment

func (o *MKLocalSearchCompleter) SetQueryFragment(queryFragment *foundation.NSString)

func (*MKLocalSearchCompleter) SetRegion

func (o *MKLocalSearchCompleter) SetRegion(region MKCoordinateRegion)

func (*MKLocalSearchCompleter) SetRegionPriority

func (o *MKLocalSearchCompleter) SetRegionPriority(regionPriority MKLocalSearchRegionPriority)

func (*MKLocalSearchCompleter) SetResultTypes

func (o *MKLocalSearchCompleter) SetResultTypes(resultTypes MKLocalSearchCompleterResultType)

type MKLocalSearchCompleterDelegate

type MKLocalSearchCompleterDelegate interface {
}

MKLocalSearchCompleterDelegate wraps the ObjC protocol MKLocalSearchCompleterDelegate.

type MKLocalSearchCompleterResultType

type MKLocalSearchCompleterResultType uint64
const (
	MKLocalSearchCompleterResultTypeAddress         MKLocalSearchCompleterResultType = 1
	MKLocalSearchCompleterResultTypePointOfInterest MKLocalSearchCompleterResultType = 2
	MKLocalSearchCompleterResultTypeQuery           MKLocalSearchCompleterResultType = 4
	MKLocalSearchCompleterResultTypePhysicalFeature MKLocalSearchCompleterResultType = 8
)

func (MKLocalSearchCompleterResultType) String

type MKLocalSearchCompletion

type MKLocalSearchCompletion struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mklocalsearchcompletion

func MKLocalSearchCompletionFromID

func MKLocalSearchCompletionFromID(id objc.ID) *MKLocalSearchCompletion

func (*MKLocalSearchCompletion) Subtitle

func (*MKLocalSearchCompletion) SubtitleHighlightRanges

func (o *MKLocalSearchCompletion) SubtitleHighlightRanges() *foundation.NSArray[*foundation.NSValue]

func (*MKLocalSearchCompletion) Title

func (*MKLocalSearchCompletion) TitleHighlightRanges

func (o *MKLocalSearchCompletion) TitleHighlightRanges() *foundation.NSArray[*foundation.NSValue]

type MKLocalSearchRegionPriority

type MKLocalSearchRegionPriority int64
const (
	MKLocalSearchRegionPriorityDefault  MKLocalSearchRegionPriority = 0
	MKLocalSearchRegionPriorityRequired MKLocalSearchRegionPriority = 1
)

func (MKLocalSearchRegionPriority) String

type MKLocalSearchRequest

type MKLocalSearchRequest struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mklocalsearchrequest

func MKLocalSearchRequestFromID

func MKLocalSearchRequestFromID(id objc.ID) *MKLocalSearchRequest

func (*MKLocalSearchRequest) AddressFilter

func (o *MKLocalSearchRequest) AddressFilter() *MKAddressFilter

func (*MKLocalSearchRequest) Init

func (*MKLocalSearchRequest) InitWithCompletion

func (o *MKLocalSearchRequest) InitWithCompletion(completion *MKLocalSearchCompletion) *MKLocalSearchRequest

func (*MKLocalSearchRequest) InitWithNaturalLanguageQuery

func (o *MKLocalSearchRequest) InitWithNaturalLanguageQuery(naturalLanguageQuery *foundation.NSString) *MKLocalSearchRequest

func (*MKLocalSearchRequest) InitWithNaturalLanguageQueryRegion

func (o *MKLocalSearchRequest) InitWithNaturalLanguageQueryRegion(naturalLanguageQuery *foundation.NSString, region MKCoordinateRegion) *MKLocalSearchRequest

func (*MKLocalSearchRequest) NaturalLanguageQuery

func (o *MKLocalSearchRequest) NaturalLanguageQuery() *foundation.NSString

func (*MKLocalSearchRequest) PointOfInterestFilter

func (o *MKLocalSearchRequest) PointOfInterestFilter() *MKPointOfInterestFilter

func (*MKLocalSearchRequest) Region

func (*MKLocalSearchRequest) RegionPriority

func (*MKLocalSearchRequest) ResultTypes

func (*MKLocalSearchRequest) SetAddressFilter

func (o *MKLocalSearchRequest) SetAddressFilter(addressFilter *MKAddressFilter)

func (*MKLocalSearchRequest) SetNaturalLanguageQuery

func (o *MKLocalSearchRequest) SetNaturalLanguageQuery(naturalLanguageQuery *foundation.NSString)

func (*MKLocalSearchRequest) SetPointOfInterestFilter

func (o *MKLocalSearchRequest) SetPointOfInterestFilter(pointOfInterestFilter *MKPointOfInterestFilter)

func (*MKLocalSearchRequest) SetRegion

func (o *MKLocalSearchRequest) SetRegion(region MKCoordinateRegion)

func (*MKLocalSearchRequest) SetRegionPriority

func (o *MKLocalSearchRequest) SetRegionPriority(regionPriority MKLocalSearchRegionPriority)

func (*MKLocalSearchRequest) SetResultTypes

func (o *MKLocalSearchRequest) SetResultTypes(resultTypes MKLocalSearchResultType)

type MKLocalSearchResponse

type MKLocalSearchResponse struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mklocalsearchresponse

func MKLocalSearchResponseFromID

func MKLocalSearchResponseFromID(id objc.ID) *MKLocalSearchResponse

func (*MKLocalSearchResponse) BoundingRegion

func (o *MKLocalSearchResponse) BoundingRegion() MKCoordinateRegion

func (*MKLocalSearchResponse) MapItems

type MKLocalSearchResultType

type MKLocalSearchResultType uint64
const (
	MKLocalSearchResultTypeAddress         MKLocalSearchResultType = 1
	MKLocalSearchResultTypePointOfInterest MKLocalSearchResultType = 2
	MKLocalSearchResultTypePhysicalFeature MKLocalSearchResultType = 4
)

func (MKLocalSearchResultType) String

func (e MKLocalSearchResultType) String() string

type MKLookAroundBadgePosition

type MKLookAroundBadgePosition int64
const (
	MKLookAroundBadgePositionTopLeading     MKLookAroundBadgePosition = 0
	MKLookAroundBadgePositionTopTrailing    MKLookAroundBadgePosition = 1
	MKLookAroundBadgePositionBottomTrailing MKLookAroundBadgePosition = 2
)

func (MKLookAroundBadgePosition) String

func (e MKLookAroundBadgePosition) String() string

type MKLookAroundScene

type MKLookAroundScene struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mklookaroundscene

func MKLookAroundSceneFromID

func MKLookAroundSceneFromID(id objc.ID) *MKLookAroundScene

type MKLookAroundSceneRequest

type MKLookAroundSceneRequest struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mklookaroundscenerequest

func MKLookAroundSceneRequestFromID

func MKLookAroundSceneRequestFromID(id objc.ID) *MKLookAroundSceneRequest

func (*MKLookAroundSceneRequest) Cancel

func (o *MKLookAroundSceneRequest) Cancel()

func (*MKLookAroundSceneRequest) Coordinate

func (o *MKLookAroundSceneRequest) Coordinate() unsafe.Pointer

func (*MKLookAroundSceneRequest) GetSceneWithCompletionHandler

func (o *MKLookAroundSceneRequest) GetSceneWithCompletionHandler(completionHandler func(unsafe.Pointer, unsafe.Pointer))

func (*MKLookAroundSceneRequest) InitWithCoordinate

func (o *MKLookAroundSceneRequest) InitWithCoordinate(coordinate unsafe.Pointer) *MKLookAroundSceneRequest

func (*MKLookAroundSceneRequest) InitWithMapItem

func (o *MKLookAroundSceneRequest) InitWithMapItem(mapItem *MKMapItem) *MKLookAroundSceneRequest

func (*MKLookAroundSceneRequest) IsCancelled

func (o *MKLookAroundSceneRequest) IsCancelled() bool

func (*MKLookAroundSceneRequest) IsLoading

func (o *MKLookAroundSceneRequest) IsLoading() bool

func (*MKLookAroundSceneRequest) MapItem

func (o *MKLookAroundSceneRequest) MapItem() *MKMapItem

type MKLookAroundSnapshot

type MKLookAroundSnapshot struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mklookaroundsnapshot

func MKLookAroundSnapshotFromID

func MKLookAroundSnapshotFromID(id objc.ID) *MKLookAroundSnapshot

func (*MKLookAroundSnapshot) Image

func (o *MKLookAroundSnapshot) Image() *appkit.NSImage

type MKLookAroundSnapshotOptions

type MKLookAroundSnapshotOptions struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mklookaroundsnapshotoptions

func MKLookAroundSnapshotOptionsFromID

func MKLookAroundSnapshotOptionsFromID(id objc.ID) *MKLookAroundSnapshotOptions

func (*MKLookAroundSnapshotOptions) PointOfInterestFilter

func (o *MKLookAroundSnapshotOptions) PointOfInterestFilter() *MKPointOfInterestFilter

func (*MKLookAroundSnapshotOptions) SetPointOfInterestFilter

func (o *MKLookAroundSnapshotOptions) SetPointOfInterestFilter(pointOfInterestFilter *MKPointOfInterestFilter)

func (*MKLookAroundSnapshotOptions) SetSize

func (*MKLookAroundSnapshotOptions) Size

type MKLookAroundSnapshotter

type MKLookAroundSnapshotter struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mklookaroundsnapshotter

func MKLookAroundSnapshotterFromID

func MKLookAroundSnapshotterFromID(id objc.ID) *MKLookAroundSnapshotter

func (*MKLookAroundSnapshotter) Cancel

func (o *MKLookAroundSnapshotter) Cancel()

func (*MKLookAroundSnapshotter) GetSnapshotWithCompletionHandler

func (o *MKLookAroundSnapshotter) GetSnapshotWithCompletionHandler(completionHandler func(*MKLookAroundSnapshot, unsafe.Pointer))

func (*MKLookAroundSnapshotter) InitWithSceneOptions

func (*MKLookAroundSnapshotter) IsLoading

func (o *MKLookAroundSnapshotter) IsLoading() bool

type MKLookAroundViewController

type MKLookAroundViewController struct {
	appkit.NSViewController
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mklookaroundviewcontroller

func MKLookAroundViewControllerFromID

func MKLookAroundViewControllerFromID(id objc.ID) *MKLookAroundViewController

func (*MKLookAroundViewController) BadgePosition

func (*MKLookAroundViewController) Delegate

func (*MKLookAroundViewController) InitWithCoder

func (*MKLookAroundViewController) InitWithNibNameBundle

func (o *MKLookAroundViewController) InitWithNibNameBundle(nibNameOrNil *foundation.NSString, nibBundleOrNil *foundation.NSBundle) *MKLookAroundViewController

func (*MKLookAroundViewController) InitWithScene

func (*MKLookAroundViewController) IsNavigationEnabled

func (o *MKLookAroundViewController) IsNavigationEnabled() bool

func (*MKLookAroundViewController) PointOfInterestFilter

func (o *MKLookAroundViewController) PointOfInterestFilter() *MKPointOfInterestFilter

func (*MKLookAroundViewController) Scene

func (*MKLookAroundViewController) SetBadgePosition

func (o *MKLookAroundViewController) SetBadgePosition(badgePosition MKLookAroundBadgePosition)

func (*MKLookAroundViewController) SetDelegate

func (*MKLookAroundViewController) SetNavigationEnabled

func (o *MKLookAroundViewController) SetNavigationEnabled(navigationEnabled bool)

func (*MKLookAroundViewController) SetPointOfInterestFilter

func (o *MKLookAroundViewController) SetPointOfInterestFilter(pointOfInterestFilter *MKPointOfInterestFilter)

func (*MKLookAroundViewController) SetScene

func (o *MKLookAroundViewController) SetScene(scene *MKLookAroundScene)

func (*MKLookAroundViewController) SetShowsRoadLabels

func (o *MKLookAroundViewController) SetShowsRoadLabels(showsRoadLabels bool)

func (*MKLookAroundViewController) ShowsRoadLabels

func (o *MKLookAroundViewController) ShowsRoadLabels() bool

type MKLookAroundViewControllerDelegate

type MKLookAroundViewControllerDelegate interface {
}

MKLookAroundViewControllerDelegate wraps the ObjC protocol MKLookAroundViewControllerDelegate.

type MKMapCamera

type MKMapCamera struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mkmapcamera

func MKMapCameraCamera deprecated

func MKMapCameraCamera() *MKMapCamera

Deprecated: Use centerCoordinateDistance

func MKMapCameraCameraLookingAtCenterCoordinateFromDistancePitchHeading

func MKMapCameraCameraLookingAtCenterCoordinateFromDistancePitchHeading(centerCoordinate unsafe.Pointer, distance unsafe.Pointer, pitch float64, heading unsafe.Pointer) *MKMapCamera

func MKMapCameraCameraLookingAtCenterCoordinateFromEyeCoordinateEyeAltitude deprecated

func MKMapCameraCameraLookingAtCenterCoordinateFromEyeCoordinateEyeAltitude(centerCoordinate unsafe.Pointer, eyeCoordinate unsafe.Pointer, eyeAltitude unsafe.Pointer) *MKMapCamera

Deprecated: Use centerCoordinateDistance

func MKMapCameraCameraLookingAtMapItemForViewSizeAllowPitch

func MKMapCameraCameraLookingAtMapItemForViewSizeAllowPitch(mapItem *MKMapItem, viewSize corefoundation.CGSize, allowPitch bool) *MKMapCamera

func MKMapCameraFromID

func MKMapCameraFromID(id objc.ID) *MKMapCamera

func (*MKMapCamera) Altitude deprecated

func (o *MKMapCamera) Altitude() unsafe.Pointer

Deprecated: Use centerCoordinateDistance

func (*MKMapCamera) CenterCoordinate

func (o *MKMapCamera) CenterCoordinate() unsafe.Pointer

func (*MKMapCamera) CenterCoordinateDistance

func (o *MKMapCamera) CenterCoordinateDistance() unsafe.Pointer

func (*MKMapCamera) Heading

func (o *MKMapCamera) Heading() unsafe.Pointer

func (*MKMapCamera) Pitch

func (o *MKMapCamera) Pitch() float64

func (*MKMapCamera) SetAltitude deprecated

func (o *MKMapCamera) SetAltitude(altitude unsafe.Pointer)

Deprecated: Use centerCoordinateDistance

func (*MKMapCamera) SetCenterCoordinate

func (o *MKMapCamera) SetCenterCoordinate(centerCoordinate unsafe.Pointer)

func (*MKMapCamera) SetCenterCoordinateDistance

func (o *MKMapCamera) SetCenterCoordinateDistance(centerCoordinateDistance unsafe.Pointer)

func (*MKMapCamera) SetHeading

func (o *MKMapCamera) SetHeading(heading unsafe.Pointer)

func (*MKMapCamera) SetPitch

func (o *MKMapCamera) SetPitch(pitch float64)

type MKMapCameraBoundary

type MKMapCameraBoundary struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mkmapcameraboundary

func MKMapCameraBoundaryFromID

func MKMapCameraBoundaryFromID(id objc.ID) *MKMapCameraBoundary

func (*MKMapCameraBoundary) InitWithCoder

func (o *MKMapCameraBoundary) InitWithCoder(coder *foundation.NSCoder) *MKMapCameraBoundary

func (*MKMapCameraBoundary) InitWithCoordinateRegion

func (o *MKMapCameraBoundary) InitWithCoordinateRegion(region MKCoordinateRegion) *MKMapCameraBoundary

func (*MKMapCameraBoundary) InitWithMapRect

func (o *MKMapCameraBoundary) InitWithMapRect(mapRect MKMapRect) *MKMapCameraBoundary

func (*MKMapCameraBoundary) MapRect

func (o *MKMapCameraBoundary) MapRect() MKMapRect

func (*MKMapCameraBoundary) Region

type MKMapCameraZoomRange

type MKMapCameraZoomRange struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mkmapcamerazoomrange

func MKMapCameraZoomRangeFromID

func MKMapCameraZoomRangeFromID(id objc.ID) *MKMapCameraZoomRange

func (*MKMapCameraZoomRange) InitWithMaxCenterCoordinateDistance

func (o *MKMapCameraZoomRange) InitWithMaxCenterCoordinateDistance(maxDistance unsafe.Pointer) *MKMapCameraZoomRange

func (*MKMapCameraZoomRange) InitWithMinCenterCoordinateDistance

func (o *MKMapCameraZoomRange) InitWithMinCenterCoordinateDistance(minDistance unsafe.Pointer) *MKMapCameraZoomRange

func (*MKMapCameraZoomRange) InitWithMinCenterCoordinateDistanceMaxCenterCoordinateDistance

func (o *MKMapCameraZoomRange) InitWithMinCenterCoordinateDistanceMaxCenterCoordinateDistance(minDistance unsafe.Pointer, maxDistance unsafe.Pointer) *MKMapCameraZoomRange

func (*MKMapCameraZoomRange) MaxCenterCoordinateDistance

func (o *MKMapCameraZoomRange) MaxCenterCoordinateDistance() unsafe.Pointer

func (*MKMapCameraZoomRange) MinCenterCoordinateDistance

func (o *MKMapCameraZoomRange) MinCenterCoordinateDistance() unsafe.Pointer

type MKMapConfiguration

type MKMapConfiguration struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mkmapconfiguration

func MKMapConfigurationFromID

func MKMapConfigurationFromID(id objc.ID) *MKMapConfiguration

func (*MKMapConfiguration) ElevationStyle

func (o *MKMapConfiguration) ElevationStyle() MKMapElevationStyle

func (*MKMapConfiguration) SetElevationStyle

func (o *MKMapConfiguration) SetElevationStyle(elevationStyle MKMapElevationStyle)

type MKMapElevationStyle

type MKMapElevationStyle int64
const (
	MKMapElevationStyleFlat      MKMapElevationStyle = 0
	MKMapElevationStyleRealistic MKMapElevationStyle = 1
)

func (MKMapElevationStyle) String

func (e MKMapElevationStyle) String() string

type MKMapItem

type MKMapItem struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mkmapitem

func MKMapItemFromID

func MKMapItemFromID(id objc.ID) *MKMapItem

func MKMapItemMapItemForCurrentLocation

func MKMapItemMapItemForCurrentLocation() *MKMapItem

func (*MKMapItem) Address

func (o *MKMapItem) Address() *MKAddress

func (*MKMapItem) AddressRepresentations

func (o *MKMapItem) AddressRepresentations() *MKAddressRepresentations

func (*MKMapItem) AlternateIdentifiers

func (o *MKMapItem) AlternateIdentifiers() *foundation.NSSet[*MKMapItemIdentifier]

func (*MKMapItem) Identifier

func (o *MKMapItem) Identifier() *MKMapItemIdentifier

func (*MKMapItem) InitWithLocationAddress

func (o *MKMapItem) InitWithLocationAddress(location unsafe.Pointer, address *MKAddress) *MKMapItem

func (*MKMapItem) InitWithPlacemark deprecated

func (o *MKMapItem) InitWithPlacemark(placemark *MKPlacemark) *MKMapItem

Deprecated: Use init(location:address:)

func (*MKMapItem) IsCurrentLocation deprecated

func (o *MKMapItem) IsCurrentLocation() bool

Deprecated: Use location, address and addressRepresentations instead

func (*MKMapItem) Location

func (o *MKMapItem) Location() unsafe.Pointer

func (*MKMapItem) Name

func (o *MKMapItem) Name() *foundation.NSString

func (*MKMapItem) OpenInMapsWithLaunchOptions

func (o *MKMapItem) OpenInMapsWithLaunchOptions(launchOptions *foundation.NSDictionary[*foundation.NSString, objc.ID]) bool

func (*MKMapItem) OpenInMapsWithLaunchOptionsCompletionHandler

func (o *MKMapItem) OpenInMapsWithLaunchOptionsCompletionHandler(launchOptions *foundation.NSDictionary[*foundation.NSString, objc.ID], completion func(bool))

func (*MKMapItem) PhoneNumber

func (o *MKMapItem) PhoneNumber() *foundation.NSString

func (*MKMapItem) Placemark deprecated

func (o *MKMapItem) Placemark() *MKPlacemark

Deprecated: Use location, address and addressRepresentations instead

func (*MKMapItem) PointOfInterestCategory

func (o *MKMapItem) PointOfInterestCategory() *foundation.NSString

func (*MKMapItem) SetName

func (o *MKMapItem) SetName(name *foundation.NSString)

func (*MKMapItem) SetPhoneNumber

func (o *MKMapItem) SetPhoneNumber(phoneNumber *foundation.NSString)

func (*MKMapItem) SetPointOfInterestCategory

func (o *MKMapItem) SetPointOfInterestCategory(pointOfInterestCategory *foundation.NSString)

func (*MKMapItem) SetTimeZone

func (o *MKMapItem) SetTimeZone(timeZone *foundation.NSTimeZone)

func (*MKMapItem) SetUrl

func (o *MKMapItem) SetUrl(url *foundation.NSURL)

func (*MKMapItem) TimeZone

func (o *MKMapItem) TimeZone() *foundation.NSTimeZone

func (*MKMapItem) Url

func (o *MKMapItem) Url() *foundation.NSURL

type MKMapItemAnnotation

type MKMapItemAnnotation struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mkmapitemannotation

func MKMapItemAnnotationFromID

func MKMapItemAnnotationFromID(id objc.ID) *MKMapItemAnnotation

func (*MKMapItemAnnotation) InitWithMapItem

func (o *MKMapItemAnnotation) InitWithMapItem(mapItem *MKMapItem) *MKMapItemAnnotation

func (*MKMapItemAnnotation) MapItem

func (o *MKMapItemAnnotation) MapItem() *MKMapItem

type MKMapItemDetailSelectionAccessoryCalloutStyle

type MKMapItemDetailSelectionAccessoryCalloutStyle int64
const (
	MKMapItemDetailSelectionAccessoryCalloutStyleAutomatic MKMapItemDetailSelectionAccessoryCalloutStyle = 0
	MKMapItemDetailSelectionAccessoryCalloutStyleFull      MKMapItemDetailSelectionAccessoryCalloutStyle = 1
	MKMapItemDetailSelectionAccessoryCalloutStyleCompact   MKMapItemDetailSelectionAccessoryCalloutStyle = 2
)

func (MKMapItemDetailSelectionAccessoryCalloutStyle) String

type MKMapItemDetailSelectionAccessoryPresentationStyle

type MKMapItemDetailSelectionAccessoryPresentationStyle struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mkmapitemdetailselectionaccessorypresentationstyle

func MKMapItemDetailSelectionAccessoryPresentationStyleAutomaticWithPresentationViewController

func MKMapItemDetailSelectionAccessoryPresentationStyleAutomaticWithPresentationViewController(presentationViewController *appkit.NSViewController) *MKMapItemDetailSelectionAccessoryPresentationStyle

func MKMapItemDetailSelectionAccessoryPresentationStyleCallout

func MKMapItemDetailSelectionAccessoryPresentationStyleCallout() *MKMapItemDetailSelectionAccessoryPresentationStyle

func MKMapItemDetailSelectionAccessoryPresentationStyleFromID

func MKMapItemDetailSelectionAccessoryPresentationStyleFromID(id objc.ID) *MKMapItemDetailSelectionAccessoryPresentationStyle

func MKMapItemDetailSelectionAccessoryPresentationStyleOpenInMaps

func MKMapItemDetailSelectionAccessoryPresentationStyleOpenInMaps() *MKMapItemDetailSelectionAccessoryPresentationStyle

func MKMapItemDetailSelectionAccessoryPresentationStyleSheetPresentedFromViewController

func MKMapItemDetailSelectionAccessoryPresentationStyleSheetPresentedFromViewController(viewController *appkit.NSViewController) *MKMapItemDetailSelectionAccessoryPresentationStyle

type MKMapItemDetailViewController

type MKMapItemDetailViewController struct {
	appkit.NSViewController
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mkmapitemdetailviewcontroller

func MKMapItemDetailViewControllerFromID

func MKMapItemDetailViewControllerFromID(id objc.ID) *MKMapItemDetailViewController

func (*MKMapItemDetailViewController) Delegate

func (*MKMapItemDetailViewController) InitWithMapItem

func (*MKMapItemDetailViewController) InitWithMapItemDisplaysMap

func (o *MKMapItemDetailViewController) InitWithMapItemDisplaysMap(mapItem *MKMapItem, displaysMap bool) *MKMapItemDetailViewController

func (*MKMapItemDetailViewController) MapItem

func (*MKMapItemDetailViewController) SetDelegate

func (*MKMapItemDetailViewController) SetMapItem

func (o *MKMapItemDetailViewController) SetMapItem(mapItem *MKMapItem)

type MKMapItemDetailViewControllerDelegate

type MKMapItemDetailViewControllerDelegate interface {
	MapItemDetailViewControllerDidFinish(detailViewController *MKMapItemDetailViewController)
}

MKMapItemDetailViewControllerDelegate wraps the ObjC protocol MKMapItemDetailViewControllerDelegate.

type MKMapItemIdentifier

type MKMapItemIdentifier struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mkmapitemidentifier

func MKMapItemIdentifierFromID

func MKMapItemIdentifierFromID(id objc.ID) *MKMapItemIdentifier

func (*MKMapItemIdentifier) IdentifierString

func (o *MKMapItemIdentifier) IdentifierString() *foundation.NSString

func (*MKMapItemIdentifier) InitWithIdentifierString

func (o *MKMapItemIdentifier) InitWithIdentifierString(string_ *foundation.NSString) *MKMapItemIdentifier

type MKMapItemRequest

type MKMapItemRequest struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mkmapitemrequest

func MKMapItemRequestFromID

func MKMapItemRequestFromID(id objc.ID) *MKMapItemRequest

func (*MKMapItemRequest) InitWithMapItemIdentifier

func (o *MKMapItemRequest) InitWithMapItemIdentifier(identifier *MKMapItemIdentifier) *MKMapItemRequest

func (*MKMapItemRequest) MapItemIdentifier

func (o *MKMapItemRequest) MapItemIdentifier() *MKMapItemIdentifier

type MKMapPoint

type MKMapPoint struct {
	X float64
	Y float64
}

func MKMapPointForCoordinate

func MKMapPointForCoordinate(coordinate unsafe.Pointer) MKMapPoint

func MKMapPointMake

func MKMapPointMake(x float64, y float64) MKMapPoint

type MKMapRect

type MKMapRect struct {
	Origin MKMapPoint
	Size   MKMapSize
}

func MKMapRectInset

func MKMapRectInset(rect MKMapRect, dx float64, dy float64) MKMapRect

func MKMapRectIntersection

func MKMapRectIntersection(rect1 MKMapRect, rect2 MKMapRect) MKMapRect

func MKMapRectMake

func MKMapRectMake(x float64, y float64, width float64, height float64) MKMapRect

func MKMapRectNull

func MKMapRectNull() MKMapRect

func MKMapRectOffset

func MKMapRectOffset(rect MKMapRect, dx float64, dy float64) MKMapRect

func MKMapRectRemainder

func MKMapRectRemainder(rect MKMapRect) MKMapRect

func MKMapRectUnion

func MKMapRectUnion(rect1 MKMapRect, rect2 MKMapRect) MKMapRect

func MKMapRectWorld

func MKMapRectWorld() MKMapRect

type MKMapSize

type MKMapSize struct {
	Width  float64
	Height float64
}

func MKMapSizeMake

func MKMapSizeMake(width float64, height float64) MKMapSize

func MKMapSizeWorld

func MKMapSizeWorld() MKMapSize

type MKMapSnapshot

type MKMapSnapshot struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mkmapsnapshot

func MKMapSnapshotFromID

func MKMapSnapshotFromID(id objc.ID) *MKMapSnapshot

func (*MKMapSnapshot) Appearance

func (o *MKMapSnapshot) Appearance() *appkit.NSAppearance

func (*MKMapSnapshot) PointForCoordinate

func (o *MKMapSnapshot) PointForCoordinate(coordinate unsafe.Pointer) corefoundation.CGPoint

type MKMapSnapshotOptions

type MKMapSnapshotOptions struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mkmapsnapshotoptions

func MKMapSnapshotOptionsFromID

func MKMapSnapshotOptionsFromID(id objc.ID) *MKMapSnapshotOptions

func (*MKMapSnapshotOptions) Appearance

func (o *MKMapSnapshotOptions) Appearance() *appkit.NSAppearance

func (*MKMapSnapshotOptions) Camera

func (o *MKMapSnapshotOptions) Camera() *MKMapCamera

func (*MKMapSnapshotOptions) MapRect

func (o *MKMapSnapshotOptions) MapRect() MKMapRect

func (*MKMapSnapshotOptions) MapType deprecated

func (o *MKMapSnapshotOptions) MapType() MKMapType

Deprecated: Use preferredConfiguration

func (*MKMapSnapshotOptions) PointOfInterestFilter deprecated

func (o *MKMapSnapshotOptions) PointOfInterestFilter() *MKPointOfInterestFilter

Deprecated: Use preferredConfiguration

func (*MKMapSnapshotOptions) PreferredConfiguration

func (o *MKMapSnapshotOptions) PreferredConfiguration() *MKMapConfiguration

func (*MKMapSnapshotOptions) Region

func (*MKMapSnapshotOptions) SetAppearance

func (o *MKMapSnapshotOptions) SetAppearance(appearance *appkit.NSAppearance)

func (*MKMapSnapshotOptions) SetCamera

func (o *MKMapSnapshotOptions) SetCamera(camera *MKMapCamera)

func (*MKMapSnapshotOptions) SetMapRect

func (o *MKMapSnapshotOptions) SetMapRect(mapRect MKMapRect)

func (*MKMapSnapshotOptions) SetMapType deprecated

func (o *MKMapSnapshotOptions) SetMapType(mapType MKMapType)

Deprecated: Use preferredConfiguration

func (*MKMapSnapshotOptions) SetPointOfInterestFilter deprecated

func (o *MKMapSnapshotOptions) SetPointOfInterestFilter(pointOfInterestFilter *MKPointOfInterestFilter)

Deprecated: Use preferredConfiguration

func (*MKMapSnapshotOptions) SetPreferredConfiguration

func (o *MKMapSnapshotOptions) SetPreferredConfiguration(preferredConfiguration *MKMapConfiguration)

func (*MKMapSnapshotOptions) SetRegion

func (o *MKMapSnapshotOptions) SetRegion(region MKCoordinateRegion)

func (*MKMapSnapshotOptions) SetShowsBuildings deprecated

func (o *MKMapSnapshotOptions) SetShowsBuildings(showsBuildings bool)

Deprecated: No longer supported.

func (*MKMapSnapshotOptions) SetShowsPointsOfInterest deprecated

func (o *MKMapSnapshotOptions) SetShowsPointsOfInterest(showsPointsOfInterest bool)

Deprecated: Use preferredConfiguration

func (*MKMapSnapshotOptions) SetSize

func (o *MKMapSnapshotOptions) SetSize(size corefoundation.CGSize)

func (*MKMapSnapshotOptions) ShowsBuildings deprecated

func (o *MKMapSnapshotOptions) ShowsBuildings() bool

Deprecated: No longer supported.

func (*MKMapSnapshotOptions) ShowsPointsOfInterest deprecated

func (o *MKMapSnapshotOptions) ShowsPointsOfInterest() bool

Deprecated: Use preferredConfiguration

func (*MKMapSnapshotOptions) Size

type MKMapSnapshotter

type MKMapSnapshotter struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mkmapsnapshotter

func MKMapSnapshotterFromID

func MKMapSnapshotterFromID(id objc.ID) *MKMapSnapshotter

func (*MKMapSnapshotter) Cancel

func (o *MKMapSnapshotter) Cancel()

func (*MKMapSnapshotter) InitWithOptions

func (o *MKMapSnapshotter) InitWithOptions(options *MKMapSnapshotOptions) *MKMapSnapshotter

func (*MKMapSnapshotter) IsLoading

func (o *MKMapSnapshotter) IsLoading() bool

func (*MKMapSnapshotter) StartWithCompletionHandler

func (o *MKMapSnapshotter) StartWithCompletionHandler(completionHandler func(*MKMapSnapshot, unsafe.Pointer))

func (*MKMapSnapshotter) StartWithQueueCompletionHandler

func (o *MKMapSnapshotter) StartWithQueueCompletionHandler(queue *foundation.NSObject, completionHandler func(*MKMapSnapshot, unsafe.Pointer))

type MKMapType

type MKMapType uint64
const (
	MKMapTypeStandard         MKMapType = 0
	MKMapTypeSatellite        MKMapType = 1
	MKMapTypeHybrid           MKMapType = 2
	MKMapTypeSatelliteFlyover MKMapType = 3
	MKMapTypeHybridFlyover    MKMapType = 4
	MKMapTypeMutedStandard    MKMapType = 5
)

func (MKMapType) String

func (e MKMapType) String() string

type MKMapView

type MKMapView struct {
	appkit.NSView
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mkmapview

func MKMapViewFromID

func MKMapViewFromID(id objc.ID) *MKMapView

func (*MKMapView) AddAnnotation

func (o *MKMapView) AddAnnotation(annotation MKAnnotation)

func (*MKMapView) AddAnnotations

func (o *MKMapView) AddAnnotations(annotations *foundation.NSArray[MKAnnotation])

func (*MKMapView) AddOverlay

func (o *MKMapView) AddOverlay(overlay MKOverlay)

func (*MKMapView) AddOverlayLevel

func (o *MKMapView) AddOverlayLevel(overlay MKOverlay, level MKOverlayLevel)

func (*MKMapView) AddOverlays

func (o *MKMapView) AddOverlays(overlays *foundation.NSArray[MKOverlay])

func (*MKMapView) AddOverlaysLevel

func (o *MKMapView) AddOverlaysLevel(overlays *foundation.NSArray[MKOverlay], level MKOverlayLevel)

func (*MKMapView) AnnotationVisibleRect

func (o *MKMapView) AnnotationVisibleRect() corefoundation.CGRect

func (*MKMapView) Annotations

func (o *MKMapView) Annotations() *foundation.NSArray[MKAnnotation]

func (*MKMapView) AnnotationsInMapRect

func (o *MKMapView) AnnotationsInMapRect(mapRect MKMapRect) *foundation.NSSet[MKAnnotation]

func (*MKMapView) Camera

func (o *MKMapView) Camera() *MKMapCamera

func (*MKMapView) CameraBoundary

func (o *MKMapView) CameraBoundary() *MKMapCameraBoundary

func (*MKMapView) CameraZoomRange

func (o *MKMapView) CameraZoomRange() *MKMapCameraZoomRange

func (*MKMapView) CenterCoordinate

func (o *MKMapView) CenterCoordinate() unsafe.Pointer

func (*MKMapView) ConvertCoordinateToPointToView

func (o *MKMapView) ConvertCoordinateToPointToView(coordinate unsafe.Pointer, view *appkit.NSView) corefoundation.CGPoint

func (*MKMapView) ConvertPointToCoordinateFromView

func (o *MKMapView) ConvertPointToCoordinateFromView(point corefoundation.CGPoint, view *appkit.NSView) unsafe.Pointer

func (*MKMapView) ConvertRectToRegionFromView

func (o *MKMapView) ConvertRectToRegionFromView(rect corefoundation.CGRect, view *appkit.NSView) MKCoordinateRegion

func (*MKMapView) ConvertRegionToRectToView

func (o *MKMapView) ConvertRegionToRectToView(region MKCoordinateRegion, view *appkit.NSView) corefoundation.CGRect

func (*MKMapView) Delegate

func (o *MKMapView) Delegate() MKMapViewDelegate

func (*MKMapView) DequeueReusableAnnotationViewWithIdentifier

func (o *MKMapView) DequeueReusableAnnotationViewWithIdentifier(identifier *foundation.NSString) *MKAnnotationView

func (*MKMapView) DequeueReusableAnnotationViewWithIdentifierForAnnotation

func (o *MKMapView) DequeueReusableAnnotationViewWithIdentifierForAnnotation(identifier *foundation.NSString, annotation MKAnnotation) *MKAnnotationView

func (*MKMapView) DeselectAnnotationAnimated

func (o *MKMapView) DeselectAnnotationAnimated(annotation MKAnnotation, animated bool)

func (*MKMapView) ExchangeOverlayAtIndexWithOverlayAtIndex

func (o *MKMapView) ExchangeOverlayAtIndexWithOverlayAtIndex(index1 uint, index2 uint)

func (*MKMapView) ExchangeOverlayWithOverlay

func (o *MKMapView) ExchangeOverlayWithOverlay(overlay1 MKOverlay, overlay2 MKOverlay)

func (*MKMapView) InsertOverlayAboveOverlay

func (o *MKMapView) InsertOverlayAboveOverlay(overlay MKOverlay, sibling MKOverlay)

func (*MKMapView) InsertOverlayAtIndex

func (o *MKMapView) InsertOverlayAtIndex(overlay MKOverlay, index uint)

func (*MKMapView) InsertOverlayAtIndexLevel

func (o *MKMapView) InsertOverlayAtIndexLevel(overlay MKOverlay, index uint, level MKOverlayLevel)

func (*MKMapView) InsertOverlayBelowOverlay

func (o *MKMapView) InsertOverlayBelowOverlay(overlay MKOverlay, sibling MKOverlay)

func (*MKMapView) IsPitchEnabled

func (o *MKMapView) IsPitchEnabled() bool

func (*MKMapView) IsRotateEnabled

func (o *MKMapView) IsRotateEnabled() bool

func (*MKMapView) IsScrollEnabled

func (o *MKMapView) IsScrollEnabled() bool

func (*MKMapView) IsUserLocationVisible

func (o *MKMapView) IsUserLocationVisible() bool

func (*MKMapView) IsZoomEnabled

func (o *MKMapView) IsZoomEnabled() bool

func (*MKMapView) MapRectThatFits

func (o *MKMapView) MapRectThatFits(mapRect MKMapRect) MKMapRect

func (*MKMapView) MapRectThatFitsEdgePadding

func (o *MKMapView) MapRectThatFitsEdgePadding(mapRect MKMapRect, insets foundation.NSEdgeInsets) MKMapRect

func (*MKMapView) MapType deprecated

func (o *MKMapView) MapType() MKMapType

Deprecated: Use respective MKMapConfiguration

func (*MKMapView) Overlays

func (o *MKMapView) Overlays() *foundation.NSArray[MKOverlay]

func (*MKMapView) OverlaysInLevel

func (o *MKMapView) OverlaysInLevel(level MKOverlayLevel) *foundation.NSArray[MKOverlay]

func (*MKMapView) PitchButtonVisibility

func (o *MKMapView) PitchButtonVisibility() MKFeatureVisibility

func (*MKMapView) PointOfInterestFilter deprecated

func (o *MKMapView) PointOfInterestFilter() *MKPointOfInterestFilter

Deprecated: Use pointOfInterestFilter on respective MKMapConfiguration

func (*MKMapView) PreferredConfiguration

func (o *MKMapView) PreferredConfiguration() *MKMapConfiguration

func (*MKMapView) Region

func (o *MKMapView) Region() MKCoordinateRegion

func (*MKMapView) RegionThatFits

func (o *MKMapView) RegionThatFits(region MKCoordinateRegion) MKCoordinateRegion

func (*MKMapView) RegisterClassForAnnotationViewWithReuseIdentifier

func (o *MKMapView) RegisterClassForAnnotationViewWithReuseIdentifier(viewClass objc.Class, identifier *foundation.NSString)

func (*MKMapView) RemoveAnnotation

func (o *MKMapView) RemoveAnnotation(annotation MKAnnotation)

func (*MKMapView) RemoveAnnotations

func (o *MKMapView) RemoveAnnotations(annotations *foundation.NSArray[MKAnnotation])

func (*MKMapView) RemoveOverlay

func (o *MKMapView) RemoveOverlay(overlay MKOverlay)

func (*MKMapView) RemoveOverlays

func (o *MKMapView) RemoveOverlays(overlays *foundation.NSArray[MKOverlay])

func (*MKMapView) RendererForOverlay

func (o *MKMapView) RendererForOverlay(overlay MKOverlay) *MKOverlayRenderer

func (*MKMapView) SelectAnnotationAnimated

func (o *MKMapView) SelectAnnotationAnimated(annotation MKAnnotation, animated bool)

func (*MKMapView) SelectedAnnotations

func (o *MKMapView) SelectedAnnotations() *foundation.NSArray[MKAnnotation]

func (*MKMapView) SetCamera

func (o *MKMapView) SetCamera(camera *MKMapCamera)

func (*MKMapView) SetCameraAnimated

func (o *MKMapView) SetCameraAnimated(camera *MKMapCamera, animated bool)

func (*MKMapView) SetCameraBoundary

func (o *MKMapView) SetCameraBoundary(cameraBoundary *MKMapCameraBoundary)

func (*MKMapView) SetCameraBoundaryAnimated

func (o *MKMapView) SetCameraBoundaryAnimated(cameraBoundary *MKMapCameraBoundary, animated bool)

func (*MKMapView) SetCameraZoomRange

func (o *MKMapView) SetCameraZoomRange(cameraZoomRange *MKMapCameraZoomRange)

func (*MKMapView) SetCameraZoomRangeAnimated

func (o *MKMapView) SetCameraZoomRangeAnimated(cameraZoomRange *MKMapCameraZoomRange, animated bool)

func (*MKMapView) SetCenterCoordinate

func (o *MKMapView) SetCenterCoordinate(centerCoordinate unsafe.Pointer)

func (*MKMapView) SetCenterCoordinateAnimated

func (o *MKMapView) SetCenterCoordinateAnimated(coordinate unsafe.Pointer, animated bool)

func (*MKMapView) SetDelegate

func (o *MKMapView) SetDelegate(delegate MKMapViewDelegate)

func (*MKMapView) SetMapType deprecated

func (o *MKMapView) SetMapType(mapType MKMapType)

Deprecated: Use respective MKMapConfiguration

func (*MKMapView) SetPitchButtonVisibility

func (o *MKMapView) SetPitchButtonVisibility(pitchButtonVisibility MKFeatureVisibility)

func (*MKMapView) SetPitchEnabled

func (o *MKMapView) SetPitchEnabled(pitchEnabled bool)

func (*MKMapView) SetPointOfInterestFilter deprecated

func (o *MKMapView) SetPointOfInterestFilter(pointOfInterestFilter *MKPointOfInterestFilter)

Deprecated: Use pointOfInterestFilter on respective MKMapConfiguration

func (*MKMapView) SetPreferredConfiguration

func (o *MKMapView) SetPreferredConfiguration(preferredConfiguration *MKMapConfiguration)

func (*MKMapView) SetRegion

func (o *MKMapView) SetRegion(region MKCoordinateRegion)

func (*MKMapView) SetRegionAnimated

func (o *MKMapView) SetRegionAnimated(region MKCoordinateRegion, animated bool)

func (*MKMapView) SetRotateEnabled

func (o *MKMapView) SetRotateEnabled(rotateEnabled bool)

func (*MKMapView) SetScrollEnabled

func (o *MKMapView) SetScrollEnabled(scrollEnabled bool)

func (*MKMapView) SetSelectedAnnotations

func (o *MKMapView) SetSelectedAnnotations(selectedAnnotations *foundation.NSArray[MKAnnotation])

func (*MKMapView) SetShowsBuildings deprecated

func (o *MKMapView) SetShowsBuildings(showsBuildings bool)

Deprecated: None

func (*MKMapView) SetShowsCompass

func (o *MKMapView) SetShowsCompass(showsCompass bool)

func (*MKMapView) SetShowsPitchControl

func (o *MKMapView) SetShowsPitchControl(showsPitchControl bool)

func (*MKMapView) SetShowsPointsOfInterest deprecated

func (o *MKMapView) SetShowsPointsOfInterest(showsPointsOfInterest bool)

Deprecated: Use pointOfInterestFilter

func (*MKMapView) SetShowsScale

func (o *MKMapView) SetShowsScale(showsScale bool)

func (*MKMapView) SetShowsTraffic deprecated

func (o *MKMapView) SetShowsTraffic(showsTraffic bool)

Deprecated: Use showsTraffic on respective MKMapConfiguration

func (*MKMapView) SetShowsUserLocation

func (o *MKMapView) SetShowsUserLocation(showsUserLocation bool)

func (*MKMapView) SetShowsUserTrackingButton

func (o *MKMapView) SetShowsUserTrackingButton(showsUserTrackingButton bool)

func (*MKMapView) SetShowsZoomControls

func (o *MKMapView) SetShowsZoomControls(showsZoomControls bool)

func (*MKMapView) SetUserTrackingMode

func (o *MKMapView) SetUserTrackingMode(userTrackingMode MKUserTrackingMode)

func (*MKMapView) SetUserTrackingModeAnimated

func (o *MKMapView) SetUserTrackingModeAnimated(mode MKUserTrackingMode, animated bool)

func (*MKMapView) SetVisibleMapRect

func (o *MKMapView) SetVisibleMapRect(visibleMapRect MKMapRect)

func (*MKMapView) SetVisibleMapRectAnimated

func (o *MKMapView) SetVisibleMapRectAnimated(mapRect MKMapRect, animate bool)

func (*MKMapView) SetVisibleMapRectEdgePaddingAnimated

func (o *MKMapView) SetVisibleMapRectEdgePaddingAnimated(mapRect MKMapRect, insets foundation.NSEdgeInsets, animate bool)

func (*MKMapView) SetZoomEnabled

func (o *MKMapView) SetZoomEnabled(zoomEnabled bool)

func (*MKMapView) ShowAnnotationsAnimated

func (o *MKMapView) ShowAnnotationsAnimated(annotations *foundation.NSArray[MKAnnotation], animated bool)

func (*MKMapView) ShowsBuildings deprecated

func (o *MKMapView) ShowsBuildings() bool

Deprecated: None

func (*MKMapView) ShowsCompass

func (o *MKMapView) ShowsCompass() bool

func (*MKMapView) ShowsPitchControl

func (o *MKMapView) ShowsPitchControl() bool

func (*MKMapView) ShowsPointsOfInterest deprecated

func (o *MKMapView) ShowsPointsOfInterest() bool

Deprecated: Use pointOfInterestFilter

func (*MKMapView) ShowsScale

func (o *MKMapView) ShowsScale() bool

func (*MKMapView) ShowsTraffic deprecated

func (o *MKMapView) ShowsTraffic() bool

Deprecated: Use showsTraffic on respective MKMapConfiguration

func (*MKMapView) ShowsUserLocation deprecated

func (o *MKMapView) ShowsUserLocation() bool

Deprecated: Use showsTraffic on respective MKMapConfiguration

func (*MKMapView) ShowsUserTrackingButton

func (o *MKMapView) ShowsUserTrackingButton() bool

func (*MKMapView) ShowsZoomControls

func (o *MKMapView) ShowsZoomControls() bool

func (*MKMapView) UserLocation

func (o *MKMapView) UserLocation() *MKUserLocation

func (*MKMapView) UserTrackingMode

func (o *MKMapView) UserTrackingMode() MKUserTrackingMode

func (*MKMapView) ViewForAnnotation

func (o *MKMapView) ViewForAnnotation(annotation MKAnnotation) *MKAnnotationView

func (*MKMapView) VisibleMapRect

func (o *MKMapView) VisibleMapRect() MKMapRect

type MKMapViewDelegate

type MKMapViewDelegate interface {
}

MKMapViewDelegate wraps the ObjC protocol MKMapViewDelegate.

type MKMarkerAnnotationView

type MKMarkerAnnotationView struct {
	MKAnnotationView
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mkmarkerannotationview

func MKMarkerAnnotationViewFromID

func MKMarkerAnnotationViewFromID(id objc.ID) *MKMarkerAnnotationView

func (*MKMarkerAnnotationView) AnimatesWhenAdded

func (o *MKMarkerAnnotationView) AnimatesWhenAdded() bool

func (*MKMarkerAnnotationView) GlyphImage

func (o *MKMarkerAnnotationView) GlyphImage() *appkit.NSImage

func (*MKMarkerAnnotationView) GlyphText

func (o *MKMarkerAnnotationView) GlyphText() *foundation.NSString

func (*MKMarkerAnnotationView) GlyphTintColor

func (o *MKMarkerAnnotationView) GlyphTintColor() *appkit.NSColor

func (*MKMarkerAnnotationView) MarkerTintColor

func (o *MKMarkerAnnotationView) MarkerTintColor() *appkit.NSColor

func (*MKMarkerAnnotationView) SelectedGlyphImage

func (o *MKMarkerAnnotationView) SelectedGlyphImage() *appkit.NSImage

func (*MKMarkerAnnotationView) SetAnimatesWhenAdded

func (o *MKMarkerAnnotationView) SetAnimatesWhenAdded(animatesWhenAdded bool)

func (*MKMarkerAnnotationView) SetGlyphImage

func (o *MKMarkerAnnotationView) SetGlyphImage(glyphImage *appkit.NSImage)

func (*MKMarkerAnnotationView) SetGlyphText

func (o *MKMarkerAnnotationView) SetGlyphText(glyphText *foundation.NSString)

func (*MKMarkerAnnotationView) SetGlyphTintColor

func (o *MKMarkerAnnotationView) SetGlyphTintColor(glyphTintColor *appkit.NSColor)

func (*MKMarkerAnnotationView) SetMarkerTintColor

func (o *MKMarkerAnnotationView) SetMarkerTintColor(markerTintColor *appkit.NSColor)

func (*MKMarkerAnnotationView) SetSelectedGlyphImage

func (o *MKMarkerAnnotationView) SetSelectedGlyphImage(selectedGlyphImage *appkit.NSImage)

func (*MKMarkerAnnotationView) SetSubtitleVisibility

func (o *MKMarkerAnnotationView) SetSubtitleVisibility(subtitleVisibility MKFeatureVisibility)

func (*MKMarkerAnnotationView) SetTitleVisibility

func (o *MKMarkerAnnotationView) SetTitleVisibility(titleVisibility MKFeatureVisibility)

func (*MKMarkerAnnotationView) SubtitleVisibility

func (o *MKMarkerAnnotationView) SubtitleVisibility() MKFeatureVisibility

func (*MKMarkerAnnotationView) TitleVisibility

func (o *MKMarkerAnnotationView) TitleVisibility() MKFeatureVisibility

type MKMultiPoint

type MKMultiPoint struct {
	MKShape
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mkmultipoint

func MKMultiPointFromID

func MKMultiPointFromID(id objc.ID) *MKMultiPoint

func (*MKMultiPoint) GetCoordinatesRange

func (o *MKMultiPoint) GetCoordinatesRange(coords unsafe.Pointer, range_ foundation.NSRange)

func (*MKMultiPoint) LocationAtPointIndex

func (o *MKMultiPoint) LocationAtPointIndex(index uint) float64

func (*MKMultiPoint) LocationsAtPointIndexes

func (o *MKMultiPoint) LocationsAtPointIndexes(indexes *foundation.NSIndexSet) *foundation.NSArray[*foundation.NSNumber]

func (*MKMultiPoint) PointCount

func (o *MKMultiPoint) PointCount() uint

func (*MKMultiPoint) Points

func (o *MKMultiPoint) Points() *MKMapPoint

type MKMultiPolygon

type MKMultiPolygon struct {
	MKShape
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mkmultipolygon

func MKMultiPolygonFromID

func MKMultiPolygonFromID(id objc.ID) *MKMultiPolygon

func (*MKMultiPolygon) InitWithPolygons

func (o *MKMultiPolygon) InitWithPolygons(polygons *foundation.NSArray[*MKPolygon]) *MKMultiPolygon

func (*MKMultiPolygon) Polygons

func (o *MKMultiPolygon) Polygons() *foundation.NSArray[*MKPolygon]

type MKMultiPolygonRenderer

type MKMultiPolygonRenderer struct {
	MKOverlayPathRenderer
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mkmultipolygonrenderer

func MKMultiPolygonRendererFromID

func MKMultiPolygonRendererFromID(id objc.ID) *MKMultiPolygonRenderer

func (*MKMultiPolygonRenderer) InitWithMultiPolygon

func (o *MKMultiPolygonRenderer) InitWithMultiPolygon(multiPolygon *MKMultiPolygon) *MKMultiPolygonRenderer

func (*MKMultiPolygonRenderer) MultiPolygon

func (o *MKMultiPolygonRenderer) MultiPolygon() *MKMultiPolygon

type MKMultiPolyline

type MKMultiPolyline struct {
	MKShape
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mkmultipolyline

func MKMultiPolylineFromID

func MKMultiPolylineFromID(id objc.ID) *MKMultiPolyline

func (*MKMultiPolyline) InitWithPolylines

func (o *MKMultiPolyline) InitWithPolylines(polylines *foundation.NSArray[*MKPolyline]) *MKMultiPolyline

func (*MKMultiPolyline) Polylines

func (o *MKMultiPolyline) Polylines() *foundation.NSArray[*MKPolyline]

type MKMultiPolylineRenderer

type MKMultiPolylineRenderer struct {
	MKOverlayPathRenderer
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mkmultipolylinerenderer

func MKMultiPolylineRendererFromID

func MKMultiPolylineRendererFromID(id objc.ID) *MKMultiPolylineRenderer

func (*MKMultiPolylineRenderer) InitWithMultiPolyline

func (o *MKMultiPolylineRenderer) InitWithMultiPolyline(multiPolyline *MKMultiPolyline) *MKMultiPolylineRenderer

func (*MKMultiPolylineRenderer) MultiPolyline

func (o *MKMultiPolylineRenderer) MultiPolyline() *MKMultiPolyline

type MKOverlay

type MKOverlay interface {
	MKAnnotation
	Coordinate() unsafe.Pointer
	BoundingMapRect() MKMapRect
}

MKOverlay wraps the ObjC protocol MKOverlay.

type MKOverlayLevel

type MKOverlayLevel int64
const (
	MKOverlayLevelAboveRoads  MKOverlayLevel = 0
	MKOverlayLevelAboveLabels MKOverlayLevel = 1
)

func (MKOverlayLevel) String

func (e MKOverlayLevel) String() string

type MKOverlayPathRenderer

type MKOverlayPathRenderer struct {
	MKOverlayRenderer
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mkoverlaypathrenderer

func MKOverlayPathRendererFromID

func MKOverlayPathRendererFromID(id objc.ID) *MKOverlayPathRenderer

func (*MKOverlayPathRenderer) ApplyFillPropertiesToContextAtZoomScale

func (o *MKOverlayPathRenderer) ApplyFillPropertiesToContextAtZoomScale(context_ unsafe.Pointer, zoomScale float64)

func (*MKOverlayPathRenderer) ApplyStrokePropertiesToContextAtZoomScale

func (o *MKOverlayPathRenderer) ApplyStrokePropertiesToContextAtZoomScale(context_ unsafe.Pointer, zoomScale float64)

func (*MKOverlayPathRenderer) CreatePath

func (o *MKOverlayPathRenderer) CreatePath()

func (*MKOverlayPathRenderer) FillColor

func (o *MKOverlayPathRenderer) FillColor() *appkit.NSColor

func (*MKOverlayPathRenderer) FillPathInContext

func (o *MKOverlayPathRenderer) FillPathInContext(path unsafe.Pointer, context_ unsafe.Pointer)

func (*MKOverlayPathRenderer) InvalidatePath

func (o *MKOverlayPathRenderer) InvalidatePath()

func (*MKOverlayPathRenderer) LineCap

func (*MKOverlayPathRenderer) LineDashPattern

func (*MKOverlayPathRenderer) LineDashPhase

func (o *MKOverlayPathRenderer) LineDashPhase() float64

func (*MKOverlayPathRenderer) LineJoin

func (*MKOverlayPathRenderer) LineWidth

func (o *MKOverlayPathRenderer) LineWidth() float64

func (*MKOverlayPathRenderer) MiterLimit

func (o *MKOverlayPathRenderer) MiterLimit() float64

func (*MKOverlayPathRenderer) Path

func (*MKOverlayPathRenderer) SetFillColor

func (o *MKOverlayPathRenderer) SetFillColor(fillColor *appkit.NSColor)

func (*MKOverlayPathRenderer) SetLineCap

func (o *MKOverlayPathRenderer) SetLineCap(lineCap coregraphics.CGLineCap)

func (*MKOverlayPathRenderer) SetLineDashPattern

func (o *MKOverlayPathRenderer) SetLineDashPattern(lineDashPattern *foundation.NSArray[*foundation.NSNumber])

func (*MKOverlayPathRenderer) SetLineDashPhase

func (o *MKOverlayPathRenderer) SetLineDashPhase(lineDashPhase float64)

func (*MKOverlayPathRenderer) SetLineJoin

func (o *MKOverlayPathRenderer) SetLineJoin(lineJoin coregraphics.CGLineJoin)

func (*MKOverlayPathRenderer) SetLineWidth

func (o *MKOverlayPathRenderer) SetLineWidth(lineWidth float64)

func (*MKOverlayPathRenderer) SetMiterLimit

func (o *MKOverlayPathRenderer) SetMiterLimit(miterLimit float64)

func (*MKOverlayPathRenderer) SetPath

func (o *MKOverlayPathRenderer) SetPath(path unsafe.Pointer)

func (*MKOverlayPathRenderer) SetShouldRasterize

func (o *MKOverlayPathRenderer) SetShouldRasterize(shouldRasterize bool)

func (*MKOverlayPathRenderer) SetStrokeColor

func (o *MKOverlayPathRenderer) SetStrokeColor(strokeColor *appkit.NSColor)

func (*MKOverlayPathRenderer) ShouldRasterize

func (o *MKOverlayPathRenderer) ShouldRasterize() bool

func (*MKOverlayPathRenderer) StrokeColor

func (o *MKOverlayPathRenderer) StrokeColor() *appkit.NSColor

func (*MKOverlayPathRenderer) StrokePathInContext

func (o *MKOverlayPathRenderer) StrokePathInContext(path unsafe.Pointer, context_ unsafe.Pointer)

type MKOverlayRenderer

type MKOverlayRenderer struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mkoverlayrenderer

func MKOverlayRendererFromID

func MKOverlayRendererFromID(id objc.ID) *MKOverlayRenderer

func (*MKOverlayRenderer) Alpha

func (o *MKOverlayRenderer) Alpha() float64

func (*MKOverlayRenderer) CanDrawMapRectZoomScale

func (o *MKOverlayRenderer) CanDrawMapRectZoomScale(mapRect MKMapRect, zoomScale float64) bool

func (*MKOverlayRenderer) ContentScaleFactor

func (o *MKOverlayRenderer) ContentScaleFactor() float64

func (*MKOverlayRenderer) DrawMapRectZoomScaleInContext

func (o *MKOverlayRenderer) DrawMapRectZoomScaleInContext(mapRect MKMapRect, zoomScale float64, context_ unsafe.Pointer)

func (*MKOverlayRenderer) InitWithOverlay

func (o *MKOverlayRenderer) InitWithOverlay(overlay MKOverlay) *MKOverlayRenderer

func (*MKOverlayRenderer) MapPointForPoint

func (o *MKOverlayRenderer) MapPointForPoint(point corefoundation.CGPoint) MKMapPoint

func (*MKOverlayRenderer) MapRectForRect

func (o *MKOverlayRenderer) MapRectForRect(rect corefoundation.CGRect) MKMapRect

func (*MKOverlayRenderer) Overlay

func (o *MKOverlayRenderer) Overlay() MKOverlay

func (*MKOverlayRenderer) PointForMapPoint

func (o *MKOverlayRenderer) PointForMapPoint(mapPoint MKMapPoint) corefoundation.CGPoint

func (*MKOverlayRenderer) RectForMapRect

func (o *MKOverlayRenderer) RectForMapRect(mapRect MKMapRect) corefoundation.CGRect

func (*MKOverlayRenderer) SetAlpha

func (o *MKOverlayRenderer) SetAlpha(alpha float64)

func (*MKOverlayRenderer) SetNeedsDisplay

func (o *MKOverlayRenderer) SetNeedsDisplay()

func (*MKOverlayRenderer) SetNeedsDisplayInMapRect

func (o *MKOverlayRenderer) SetNeedsDisplayInMapRect(mapRect MKMapRect)

func (*MKOverlayRenderer) SetNeedsDisplayInMapRectZoomScale

func (o *MKOverlayRenderer) SetNeedsDisplayInMapRectZoomScale(mapRect MKMapRect, zoomScale float64)

type MKPinAnnotationColor

type MKPinAnnotationColor uint64
const (
	MKPinAnnotationColorRed    MKPinAnnotationColor = 0
	MKPinAnnotationColorGreen  MKPinAnnotationColor = 1
	MKPinAnnotationColorPurple MKPinAnnotationColor = 2
)

func (MKPinAnnotationColor) String

func (e MKPinAnnotationColor) String() string

type MKPinAnnotationView

type MKPinAnnotationView struct {
	MKAnnotationView
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mkpinannotationview Deprecated: since macOS 13.0.

func MKPinAnnotationViewFromID

func MKPinAnnotationViewFromID(id objc.ID) *MKPinAnnotationView

func (*MKPinAnnotationView) AnimatesDrop

func (o *MKPinAnnotationView) AnimatesDrop() bool

func (*MKPinAnnotationView) PinColor deprecated

Deprecated: since macOS 10.11.

func (*MKPinAnnotationView) PinTintColor

func (o *MKPinAnnotationView) PinTintColor() *appkit.NSColor

func (*MKPinAnnotationView) SetAnimatesDrop

func (o *MKPinAnnotationView) SetAnimatesDrop(animatesDrop bool)

func (*MKPinAnnotationView) SetPinColor deprecated

func (o *MKPinAnnotationView) SetPinColor(pinColor MKPinAnnotationColor)

Deprecated: since macOS 10.11.

func (*MKPinAnnotationView) SetPinTintColor

func (o *MKPinAnnotationView) SetPinTintColor(pinTintColor *appkit.NSColor)

type MKPitchControl

type MKPitchControl struct {
	appkit.NSView
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mkpitchcontrol

func MKPitchControlFromID

func MKPitchControlFromID(id objc.ID) *MKPitchControl

func MKPitchControlPitchControlWithMapView

func MKPitchControlPitchControlWithMapView(mapView *MKMapView) *MKPitchControl

func (*MKPitchControl) MapView

func (o *MKPitchControl) MapView() *MKMapView

func (*MKPitchControl) SetMapView

func (o *MKPitchControl) SetMapView(mapView *MKMapView)

type MKPlacemark

type MKPlacemark struct {
	corelocation.CLPlacemark
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mkplacemark Deprecated: Use MKMapItem's location, address and addressRepresentations properties instead. Use MKAddressRepresentations for formatted address strings for MapKit provided MKMapItems

func MKPlacemarkFromID

func MKPlacemarkFromID(id objc.ID) *MKPlacemark

func (*MKPlacemark) CountryCode

func (o *MKPlacemark) CountryCode() *foundation.NSString

func (*MKPlacemark) InitWithCoordinate

func (o *MKPlacemark) InitWithCoordinate(coordinate unsafe.Pointer) *MKPlacemark

func (*MKPlacemark) InitWithCoordinateAddressDictionary

func (o *MKPlacemark) InitWithCoordinateAddressDictionary(coordinate unsafe.Pointer, addressDictionary *foundation.NSDictionary[*foundation.NSString, objc.ID]) *MKPlacemark

func (*MKPlacemark) InitWithCoordinatePostalAddress

func (o *MKPlacemark) InitWithCoordinatePostalAddress(coordinate unsafe.Pointer, postalAddress *contacts.CNPostalAddress) *MKPlacemark

type MKPointAnnotation

type MKPointAnnotation struct {
	MKShape
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mkpointannotation

func MKPointAnnotationFromID

func MKPointAnnotationFromID(id objc.ID) *MKPointAnnotation

func (*MKPointAnnotation) Coordinate

func (o *MKPointAnnotation) Coordinate() unsafe.Pointer

func (*MKPointAnnotation) Init

func (*MKPointAnnotation) InitWithCoordinate

func (o *MKPointAnnotation) InitWithCoordinate(coordinate unsafe.Pointer) *MKPointAnnotation

func (*MKPointAnnotation) InitWithCoordinateTitleSubtitle

func (o *MKPointAnnotation) InitWithCoordinateTitleSubtitle(coordinate unsafe.Pointer, title *foundation.NSString, subtitle *foundation.NSString) *MKPointAnnotation

func (*MKPointAnnotation) SetCoordinate

func (o *MKPointAnnotation) SetCoordinate(coordinate unsafe.Pointer)

type MKPointOfInterestFilter

type MKPointOfInterestFilter struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mkpointofinterestfilter

func MKPointOfInterestFilterFilterExcludingAllCategories

func MKPointOfInterestFilterFilterExcludingAllCategories() *MKPointOfInterestFilter

func MKPointOfInterestFilterFilterIncludingAllCategories

func MKPointOfInterestFilterFilterIncludingAllCategories() *MKPointOfInterestFilter

func MKPointOfInterestFilterFromID

func MKPointOfInterestFilterFromID(id objc.ID) *MKPointOfInterestFilter

func (*MKPointOfInterestFilter) ExcludesCategory

func (o *MKPointOfInterestFilter) ExcludesCategory(category *foundation.NSString) bool

func (*MKPointOfInterestFilter) IncludesCategory

func (o *MKPointOfInterestFilter) IncludesCategory(category *foundation.NSString) bool

func (*MKPointOfInterestFilter) InitExcludingCategories

func (o *MKPointOfInterestFilter) InitExcludingCategories(categories *foundation.NSArray[*foundation.NSString]) *MKPointOfInterestFilter

func (*MKPointOfInterestFilter) InitIncludingCategories

func (o *MKPointOfInterestFilter) InitIncludingCategories(categories *foundation.NSArray[*foundation.NSString]) *MKPointOfInterestFilter

type MKPolygon

type MKPolygon struct {
	MKMultiPoint
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mkpolygon

func MKPolygonFromID

func MKPolygonFromID(id objc.ID) *MKPolygon

func MKPolygonPolygonWithCoordinatesCount

func MKPolygonPolygonWithCoordinatesCount(coords unsafe.Pointer, count uint) *MKPolygon

func MKPolygonPolygonWithCoordinatesCountInteriorPolygons

func MKPolygonPolygonWithCoordinatesCountInteriorPolygons(coords unsafe.Pointer, count uint, interiorPolygons *foundation.NSArray[*MKPolygon]) *MKPolygon

func MKPolygonPolygonWithPointsCount

func MKPolygonPolygonWithPointsCount(points *MKMapPoint, count uint) *MKPolygon

func MKPolygonPolygonWithPointsCountInteriorPolygons

func MKPolygonPolygonWithPointsCountInteriorPolygons(points *MKMapPoint, count uint, interiorPolygons *foundation.NSArray[*MKPolygon]) *MKPolygon

func (*MKPolygon) InteriorPolygons

func (o *MKPolygon) InteriorPolygons() *foundation.NSArray[*MKPolygon]

type MKPolygonRenderer

type MKPolygonRenderer struct {
	MKOverlayPathRenderer
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mkpolygonrenderer

func MKPolygonRendererFromID

func MKPolygonRendererFromID(id objc.ID) *MKPolygonRenderer

func (*MKPolygonRenderer) InitWithPolygon

func (o *MKPolygonRenderer) InitWithPolygon(polygon *MKPolygon) *MKPolygonRenderer

func (*MKPolygonRenderer) Polygon

func (o *MKPolygonRenderer) Polygon() *MKPolygon

func (*MKPolygonRenderer) SetStrokeEnd

func (o *MKPolygonRenderer) SetStrokeEnd(strokeEnd float64)

func (*MKPolygonRenderer) SetStrokeStart

func (o *MKPolygonRenderer) SetStrokeStart(strokeStart float64)

func (*MKPolygonRenderer) StrokeEnd

func (o *MKPolygonRenderer) StrokeEnd() float64

func (*MKPolygonRenderer) StrokeStart

func (o *MKPolygonRenderer) StrokeStart() float64

type MKPolyline

type MKPolyline struct {
	MKMultiPoint
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mkpolyline

func MKPolylineFromID

func MKPolylineFromID(id objc.ID) *MKPolyline

func MKPolylinePolylineWithCoordinatesCount

func MKPolylinePolylineWithCoordinatesCount(coords unsafe.Pointer, count uint) *MKPolyline

func MKPolylinePolylineWithPointsCount

func MKPolylinePolylineWithPointsCount(points *MKMapPoint, count uint) *MKPolyline

type MKPolylineRenderer

type MKPolylineRenderer struct {
	MKOverlayPathRenderer
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mkpolylinerenderer

func MKPolylineRendererFromID

func MKPolylineRendererFromID(id objc.ID) *MKPolylineRenderer

func (*MKPolylineRenderer) InitWithPolyline

func (o *MKPolylineRenderer) InitWithPolyline(polyline *MKPolyline) *MKPolylineRenderer

func (*MKPolylineRenderer) Polyline

func (o *MKPolylineRenderer) Polyline() *MKPolyline

func (*MKPolylineRenderer) SetStrokeEnd

func (o *MKPolylineRenderer) SetStrokeEnd(strokeEnd float64)

func (*MKPolylineRenderer) SetStrokeStart

func (o *MKPolylineRenderer) SetStrokeStart(strokeStart float64)

func (*MKPolylineRenderer) StrokeEnd

func (o *MKPolylineRenderer) StrokeEnd() float64

func (*MKPolylineRenderer) StrokeStart

func (o *MKPolylineRenderer) StrokeStart() float64

type MKReverseGeocodingRequest

type MKReverseGeocodingRequest struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mkreversegeocodingrequest

func MKReverseGeocodingRequestFromID

func MKReverseGeocodingRequestFromID(id objc.ID) *MKReverseGeocodingRequest

func (*MKReverseGeocodingRequest) Cancel

func (o *MKReverseGeocodingRequest) Cancel()

func (*MKReverseGeocodingRequest) GetMapItemsWithCompletionHandler

func (o *MKReverseGeocodingRequest) GetMapItemsWithCompletionHandler(completionHandler func(*foundation.NSArray[*MKMapItem], unsafe.Pointer))

func (*MKReverseGeocodingRequest) InitWithLocation

func (o *MKReverseGeocodingRequest) InitWithLocation(location unsafe.Pointer) *MKReverseGeocodingRequest

func (*MKReverseGeocodingRequest) IsCancelled

func (o *MKReverseGeocodingRequest) IsCancelled() bool

func (*MKReverseGeocodingRequest) IsLoading

func (o *MKReverseGeocodingRequest) IsLoading() bool

func (*MKReverseGeocodingRequest) Location

func (*MKReverseGeocodingRequest) PreferredLocale

func (o *MKReverseGeocodingRequest) PreferredLocale() *foundation.NSLocale

func (*MKReverseGeocodingRequest) SetPreferredLocale

func (o *MKReverseGeocodingRequest) SetPreferredLocale(preferredLocale *foundation.NSLocale)

type MKRoute

type MKRoute struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mkroute

func MKRouteFromID

func MKRouteFromID(id objc.ID) *MKRoute

func (*MKRoute) AdvisoryNotices

func (o *MKRoute) AdvisoryNotices() *foundation.NSArray[*foundation.NSString]

func (*MKRoute) Distance

func (o *MKRoute) Distance() unsafe.Pointer

func (*MKRoute) ExpectedTravelTime

func (o *MKRoute) ExpectedTravelTime() float64

func (*MKRoute) HasHighways

func (o *MKRoute) HasHighways() bool

func (*MKRoute) HasTolls

func (o *MKRoute) HasTolls() bool

func (*MKRoute) Name

func (o *MKRoute) Name() *foundation.NSString

func (*MKRoute) Polyline

func (o *MKRoute) Polyline() *MKPolyline

func (*MKRoute) Steps

func (o *MKRoute) Steps() *foundation.NSArray[*MKRouteStep]

func (*MKRoute) TransportType

func (o *MKRoute) TransportType() MKDirectionsTransportType

type MKRouteStep

type MKRouteStep struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mkroutestep

func MKRouteStepFromID

func MKRouteStepFromID(id objc.ID) *MKRouteStep

func (*MKRouteStep) Distance

func (o *MKRouteStep) Distance() unsafe.Pointer

func (*MKRouteStep) Instructions

func (o *MKRouteStep) Instructions() *foundation.NSString

func (*MKRouteStep) Notice

func (o *MKRouteStep) Notice() *foundation.NSString

func (*MKRouteStep) Polyline

func (o *MKRouteStep) Polyline() *MKPolyline

func (*MKRouteStep) TransportType

func (o *MKRouteStep) TransportType() MKDirectionsTransportType

type MKSearchCompletionFilterType deprecated

type MKSearchCompletionFilterType int64

Deprecated: Use MKLocalSearchCompleterResultType

const (
	MKSearchCompletionFilterTypeLocationsAndQueries MKSearchCompletionFilterType = 0
	MKSearchCompletionFilterTypeLocationsOnly       MKSearchCompletionFilterType = 1
)

func (MKSearchCompletionFilterType) String

type MKSelectionAccessory

type MKSelectionAccessory struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mkselectionaccessory

func MKSelectionAccessoryFromID

func MKSelectionAccessoryFromID(id objc.ID) *MKSelectionAccessory

func MKSelectionAccessoryMapItemDetailWithPresentationStyle

func MKSelectionAccessoryMapItemDetailWithPresentationStyle(presentationStyle *MKMapItemDetailSelectionAccessoryPresentationStyle) *MKSelectionAccessory

type MKShape

type MKShape struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mkshape

func MKShapeFromID

func MKShapeFromID(id objc.ID) *MKShape

func (*MKShape) SetSubtitle

func (o *MKShape) SetSubtitle(subtitle *foundation.NSString)

func (*MKShape) SetTitle

func (o *MKShape) SetTitle(title *foundation.NSString)

func (*MKShape) Subtitle

func (o *MKShape) Subtitle() *foundation.NSString

func (*MKShape) Title

func (o *MKShape) Title() *foundation.NSString

type MKStandardMapConfiguration

type MKStandardMapConfiguration struct {
	MKMapConfiguration
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mkstandardmapconfiguration

func MKStandardMapConfigurationFromID

func MKStandardMapConfigurationFromID(id objc.ID) *MKStandardMapConfiguration

func (*MKStandardMapConfiguration) EmphasisStyle

func (*MKStandardMapConfiguration) Init

func (*MKStandardMapConfiguration) InitWithElevationStyle

func (o *MKStandardMapConfiguration) InitWithElevationStyle(elevationStyle MKMapElevationStyle) *MKStandardMapConfiguration

func (*MKStandardMapConfiguration) InitWithElevationStyleEmphasisStyle

func (o *MKStandardMapConfiguration) InitWithElevationStyleEmphasisStyle(elevationStyle MKMapElevationStyle, emphasisStyle MKStandardMapEmphasisStyle) *MKStandardMapConfiguration

func (*MKStandardMapConfiguration) InitWithEmphasisStyle

func (o *MKStandardMapConfiguration) InitWithEmphasisStyle(emphasisStyle MKStandardMapEmphasisStyle) *MKStandardMapConfiguration

func (*MKStandardMapConfiguration) PointOfInterestFilter

func (o *MKStandardMapConfiguration) PointOfInterestFilter() *MKPointOfInterestFilter

func (*MKStandardMapConfiguration) SetEmphasisStyle

func (o *MKStandardMapConfiguration) SetEmphasisStyle(emphasisStyle MKStandardMapEmphasisStyle)

func (*MKStandardMapConfiguration) SetPointOfInterestFilter

func (o *MKStandardMapConfiguration) SetPointOfInterestFilter(pointOfInterestFilter *MKPointOfInterestFilter)

func (*MKStandardMapConfiguration) SetShowsTraffic

func (o *MKStandardMapConfiguration) SetShowsTraffic(showsTraffic bool)

func (*MKStandardMapConfiguration) ShowsTraffic

func (o *MKStandardMapConfiguration) ShowsTraffic() bool

type MKStandardMapEmphasisStyle

type MKStandardMapEmphasisStyle int64
const (
	MKStandardMapEmphasisStyleDefault MKStandardMapEmphasisStyle = 0
	MKStandardMapEmphasisStyleMuted   MKStandardMapEmphasisStyle = 1
)

func (MKStandardMapEmphasisStyle) String

type MKTileOverlay

type MKTileOverlay struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mktileoverlay

func MKTileOverlayFromID

func MKTileOverlayFromID(id objc.ID) *MKTileOverlay

func (*MKTileOverlay) CanReplaceMapContent

func (o *MKTileOverlay) CanReplaceMapContent() bool

func (*MKTileOverlay) InitWithURLTemplate

func (o *MKTileOverlay) InitWithURLTemplate(uRLTemplate *foundation.NSString) *MKTileOverlay

func (*MKTileOverlay) IsGeometryFlipped

func (o *MKTileOverlay) IsGeometryFlipped() bool

func (*MKTileOverlay) LoadTileAtPathResult

func (o *MKTileOverlay) LoadTileAtPathResult(path MKTileOverlayPath, result func(*foundation.NSData, unsafe.Pointer))

func (*MKTileOverlay) MaximumZ

func (o *MKTileOverlay) MaximumZ() int

func (*MKTileOverlay) MinimumZ

func (o *MKTileOverlay) MinimumZ() int

func (*MKTileOverlay) SetCanReplaceMapContent

func (o *MKTileOverlay) SetCanReplaceMapContent(canReplaceMapContent bool)

func (*MKTileOverlay) SetGeometryFlipped

func (o *MKTileOverlay) SetGeometryFlipped(geometryFlipped bool)

func (*MKTileOverlay) SetMaximumZ

func (o *MKTileOverlay) SetMaximumZ(maximumZ int)

func (*MKTileOverlay) SetMinimumZ

func (o *MKTileOverlay) SetMinimumZ(minimumZ int)

func (*MKTileOverlay) SetTileSize

func (o *MKTileOverlay) SetTileSize(tileSize corefoundation.CGSize)

func (*MKTileOverlay) TileSize

func (o *MKTileOverlay) TileSize() corefoundation.CGSize

func (*MKTileOverlay) URLForTilePath

func (o *MKTileOverlay) URLForTilePath(path MKTileOverlayPath) *foundation.NSURL

func (*MKTileOverlay) URLTemplate

func (o *MKTileOverlay) URLTemplate() *foundation.NSString

type MKTileOverlayPath

type MKTileOverlayPath struct {
	X                  int
	Y                  int
	Z                  int
	ContentScaleFactor float64
}

type MKTileOverlayRenderer

type MKTileOverlayRenderer struct {
	MKOverlayRenderer
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mktileoverlayrenderer

func MKTileOverlayRendererFromID

func MKTileOverlayRendererFromID(id objc.ID) *MKTileOverlayRenderer

func (*MKTileOverlayRenderer) InitWithTileOverlay

func (o *MKTileOverlayRenderer) InitWithTileOverlay(overlay *MKTileOverlay) *MKTileOverlayRenderer

func (*MKTileOverlayRenderer) ReloadData

func (o *MKTileOverlayRenderer) ReloadData()

type MKUserLocation

type MKUserLocation struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mkuserlocation

func MKUserLocationFromID

func MKUserLocationFromID(id objc.ID) *MKUserLocation

func (*MKUserLocation) Heading

func (o *MKUserLocation) Heading() *corelocation.CLHeading

func (*MKUserLocation) IsUpdating

func (o *MKUserLocation) IsUpdating() bool

func (*MKUserLocation) Location

func (o *MKUserLocation) Location() unsafe.Pointer

func (*MKUserLocation) SetSubtitle

func (o *MKUserLocation) SetSubtitle(subtitle *foundation.NSString)

func (*MKUserLocation) SetTitle

func (o *MKUserLocation) SetTitle(title *foundation.NSString)

func (*MKUserLocation) Subtitle

func (o *MKUserLocation) Subtitle() *foundation.NSString

func (*MKUserLocation) Title

func (o *MKUserLocation) Title() *foundation.NSString

type MKUserLocationView

type MKUserLocationView struct {
	MKAnnotationView
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mkuserlocationview

func MKUserLocationViewFromID

func MKUserLocationViewFromID(id objc.ID) *MKUserLocationView

type MKUserTrackingMode

type MKUserTrackingMode int64
const (
	MKUserTrackingModeNone   MKUserTrackingMode = 0
	MKUserTrackingModeFollow MKUserTrackingMode = 1
)

func (MKUserTrackingMode) String

func (e MKUserTrackingMode) String() string

type MKZoomControl

type MKZoomControl struct {
	appkit.NSView
}

Apple documentation: https://developer.apple.com/documentation/mapkit/mkzoomcontrol

func MKZoomControlFromID

func MKZoomControlFromID(id objc.ID) *MKZoomControl

func MKZoomControlZoomControlWithMapView

func MKZoomControlZoomControlWithMapView(mapView *MKMapView) *MKZoomControl

func (*MKZoomControl) MapView

func (o *MKZoomControl) MapView() *MKMapView

func (*MKZoomControl) SetMapView

func (o *MKZoomControl) SetMapView(mapView *MKMapView)

type Mach_vm_range_flags_t

type Mach_vm_range_flags_t int64
const (
	MACH_VM_RANGE_NONE Mach_vm_range_flags_t = 0
)

func (Mach_vm_range_flags_t) String

func (e Mach_vm_range_flags_t) String() string

type Mach_vm_range_flavor_t

type Mach_vm_range_flavor_t int64
const (
	MACH_VM_RANGE_FLAVOR_INVALID Mach_vm_range_flavor_t = 0
	MACH_VM_RANGE_FLAVOR_V1      Mach_vm_range_flavor_t = 1
)

func (Mach_vm_range_flavor_t) String

func (e Mach_vm_range_flavor_t) String() string

type Mach_vm_range_tag_t

type Mach_vm_range_tag_t int64
const (
	MACH_VM_RANGE_DEFAULT Mach_vm_range_tag_t = 0
	MACH_VM_RANGE_DATA    Mach_vm_range_tag_t = 1
	MACH_VM_RANGE_FIXED   Mach_vm_range_tag_t = 2
)

func (Mach_vm_range_tag_t) String

func (e Mach_vm_range_tag_t) String() string

type Mpo_flags_t

type Mpo_flags_t int64
const (
	MPO_PORT                            Mpo_flags_t = 0
	MPO_SERVICE_PORT                    Mpo_flags_t = 1024
	MPO_CONNECTION_PORT                 Mpo_flags_t = 2048
	MPO_REPLY_PORT                      Mpo_flags_t = 4096
	MPO_WEAK_REPLY_PORT                 Mpo_flags_t = 16384
	MPO_NOTIFICATION_PORT               Mpo_flags_t = 17408
	MPO_EXCEPTION_PORT                  Mpo_flags_t = 32768
	MPO_CONNECTION_PORT_WITH_PORT_ARRAY Mpo_flags_t = 65536
)

func (Mpo_flags_t) String

func (e Mpo_flags_t) String() string

type NXMouseButton

type NXMouseButton int64
const (
	NX_OneButton   NXMouseButton = 0
	NX_LeftButton  NXMouseButton = 1
	NX_RightButton NXMouseButton = 2
)

func (NXMouseButton) String

func (e NXMouseButton) String() string

type Os_clockid_t

type Os_clockid_t int64
const (
	OS_CLOCK_MACH_ABSOLUTE_TIME Os_clockid_t = 32
)

func (Os_clockid_t) String

func (e Os_clockid_t) String() string

type Os_unfair_lock_flags_t

type Os_unfair_lock_flags_t int64
const (
	OS_UNFAIR_LOCK_FLAG_NONE          Os_unfair_lock_flags_t = 0
	OS_UNFAIR_LOCK_FLAG_ADAPTIVE_SPIN Os_unfair_lock_flags_t = 262144
)

func (Os_unfair_lock_flags_t) String

func (e Os_unfair_lock_flags_t) String() string

type PMPageToPaperMappingType

type PMPageToPaperMappingType int64
const (
	KPMPageToPaperMappingNone       PMPageToPaperMappingType = 1
	KPMPageToPaperMappingScaleToFit PMPageToPaperMappingType = 2
)

func (PMPageToPaperMappingType) String

func (e PMPageToPaperMappingType) String() string

type Ptrauth_key

type Ptrauth_key int64
const (
	Ptrauth_key_none                     Ptrauth_key = -1
	Ptrauth_key_asia                     Ptrauth_key = 0
	Ptrauth_key_asib                     Ptrauth_key = 1
	Ptrauth_key_asda                     Ptrauth_key = 2
	Ptrauth_key_asdb                     Ptrauth_key = 3
	Ptrauth_key_process_independent_code Ptrauth_key = 0
	Ptrauth_key_process_dependent_code   Ptrauth_key = 1
	Ptrauth_key_process_independent_data Ptrauth_key = 2
	Ptrauth_key_process_dependent_data   Ptrauth_key = 3
	Ptrauth_key_return_address           Ptrauth_key = 1
	Ptrauth_key_frame_pointer            Ptrauth_key = 3
	Ptrauth_key_function_pointer         Ptrauth_key = 0
	Ptrauth_key_block_function           Ptrauth_key = 0
	Ptrauth_key_cxx_vtable_pointer       Ptrauth_key = 2
	Ptrauth_key_method_list_pointer      Ptrauth_key = 2
	Ptrauth_key_objc_isa_pointer         Ptrauth_key = 2
	Ptrauth_key_objc_super_pointer       Ptrauth_key = 2
	Ptrauth_key_objc_sel_pointer         Ptrauth_key = 3
	Ptrauth_key_objc_class_ro_pointer    Ptrauth_key = 2
	Ptrauth_key_block_descriptor_pointer Ptrauth_key = 2
	Ptrauth_key_init_fini_pointer        Ptrauth_key = 0
)

func (Ptrauth_key) String

func (e Ptrauth_key) String() string

type Qos_class_t

type Qos_class_t uint32
const (
	QOS_CLASS_USER_INTERACTIVE Qos_class_t = 33
	QOS_CLASS_USER_INITIATED   Qos_class_t = 25
	QOS_CLASS_DEFAULT          Qos_class_t = 21
	QOS_CLASS_UTILITY          Qos_class_t = 17
	QOS_CLASS_BACKGROUND       Qos_class_t = 9
	QOS_CLASS_UNSPECIFIED      Qos_class_t = 0
)

func (Qos_class_t) String

func (e Qos_class_t) String() string

type Virtual_memory_guard_exception_code_t

type Virtual_memory_guard_exception_code_t int64
const (
	KGUARD_EXC_DEALLOC_GAP                   Virtual_memory_guard_exception_code_t = 1
	KGUARD_EXC_RECLAIM_COPYIO_FAILURE        Virtual_memory_guard_exception_code_t = 2
	KGUARD_EXC_RECLAIM_INDEX_FAILURE         Virtual_memory_guard_exception_code_t = 4
	KGUARD_EXC_RECLAIM_DEALLOCATE_FAILURE    Virtual_memory_guard_exception_code_t = 8
	KGUARD_EXC_RECLAIM_ACCOUNTING_FAILURE    Virtual_memory_guard_exception_code_t = 9
	KGUARD_EXC_SEC_IOPL_ON_EXEC_PAGE         Virtual_memory_guard_exception_code_t = 10
	KGUARD_EXC_SEC_EXEC_ON_IOPL_PAGE         Virtual_memory_guard_exception_code_t = 11
	KGUARD_EXC_SEC_UPL_WRITE_ON_EXEC_REGION  Virtual_memory_guard_exception_code_t = 12
	KGUARD_EXC_LARGE_ALLOCATION_TELEMETRY    Virtual_memory_guard_exception_code_t = 13
	KGUARD_EXC_SEC_ACCESS_FAULT              Virtual_memory_guard_exception_code_t = 98
	KGUARD_EXC_SEC_ASYNC_ACCESS_FAULT        Virtual_memory_guard_exception_code_t = 99
	KGUARD_EXC_SEC_COPY_DENIED               Virtual_memory_guard_exception_code_t = 100
	KGUARD_EXC_SEC_SHARING_DENIED            Virtual_memory_guard_exception_code_t = 101
	KGUARD_EXC_MTE_SYNC_FAULT                Virtual_memory_guard_exception_code_t = 200
	KGUARD_EXC_MTE_ASYNC_USER_FAULT          Virtual_memory_guard_exception_code_t = 201
	KGUARD_EXC_MTE_ASYNC_KERN_FAULT          Virtual_memory_guard_exception_code_t = 202
	KGUARD_EXC_GUARD_OBJECT_ASYNC_USER_FAULT Virtual_memory_guard_exception_code_t = 203
	KGUARD_EXC_GUARD_OBJECT_ASYNC_KERN_FAULT Virtual_memory_guard_exception_code_t = 204
)

func (Virtual_memory_guard_exception_code_t) String

type Xpc_listener_create_flags_t

type Xpc_listener_create_flags_t int64
const (
	XPC_LISTENER_CREATE_NONE             Xpc_listener_create_flags_t = 0
	XPC_LISTENER_CREATE_INACTIVE         Xpc_listener_create_flags_t = 1
	XPC_LISTENER_CREATE_FORCE_MACH       Xpc_listener_create_flags_t = 2
	XPC_LISTENER_CREATE_FORCE_XPCSERVICE Xpc_listener_create_flags_t = 4
)

func (Xpc_listener_create_flags_t) String

type Xpc_session_create_flags_t

type Xpc_session_create_flags_t int64
const (
	XPC_SESSION_CREATE_NONE            Xpc_session_create_flags_t = 0
	XPC_SESSION_CREATE_INACTIVE        Xpc_session_create_flags_t = 1
	XPC_SESSION_CREATE_MACH_PRIVILEGED Xpc_session_create_flags_t = 2
)

func (Xpc_session_create_flags_t) String

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL