[View]  [Edit]  [Lock]  [References]  [Attachments]  [History]  [Home]  [Changes]  [Search]  [Help] 

api[apple,MapKit] definitions


| superCls |
superCls := [:cls|
	(cls includes: #View) ifTrue: [
		#iOS = TargetOS ifTrue: [UIView] ifFalse: [NSView]
	] ifFalse: [ NSObject ]
].
#(	#MKAnnotation
	#MKAnnotationView
	#MKMapItem
	#MKMapView
	#MKUserLocation
	#MKOverlayRenderer
	#MKLocalSearch
	#MKLocalSearchRequest
	#MKLocalSearchResponse
	#MKDirectionsRequest
	#MKDirections
	#MKDirectionsResponse
	#MKMapSnapshotOptions
	#MKMapSnapshotter
	#MKMapSnapshot
	#MKTileOverlay
	#MKMapCamera
) do: [:each| (superCls value:each) subclass: each category: #MapKit ].!