This library is under construction. There is no guarantee it will build, be backwards compatible, or work at all, for the time being.
This framework is written in Swift 2.2, with a branch in Swift 3.0
Add the content of source folder to your Xcode project.
- add
MapPicker
framework - import
MapPicker
- initialize
BodyImageMap
- initialize
ImageMapPickerView
- use a vector drawing program to create the image you want to map
- divide map into individual parts
- convert each part into
UIBezierPath
, this can be done with for example PaintCode - create image map
struct
that conforms toImageMap
protocol - follow normal usage instructions
- replace
BodyImageMap
with your own image mapstruct
In theory this picker could be used for any kind of Image Map Picker, like selecting shops in a mall.
- Jude Jonassaint, UPMC Cancer Centers
- GJ Nilsen, The Application Factory AS