프로젝트
GitHub에서 보기
grgcombs/MultiRowCalloutAnnotationView
소개
An iOS MapKit callout annotation view with independent cells and accessory actions.
웹 및 앱 개발측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalMultiRowCalloutAnnotationView - Exactly what it says, for MapKit / iOS
Created by Gregory S. Combs.
Based on work at GitHub.
Description
- This is an annotation view that sports a callout bubble with multiple, independently selectable rows of data. The objective is to allow each cell/row to utilize an accessory disclosure button, without resorting to a more involved UITableViewController scenario.
Implementation
(See the demo for a functional representation of this project.)
- Presuming you've already set up your project to use the MapKit Framework, you first need to add the appropriate classes in the "MultiRowCalloutAnnotationView" directory.
- Next, ensure your annotation class (if you have a preexisting one) answers to the "title" selector, and that it also returns an array of MultiRowCalloutCells upon request.
- The callout cell class takes a title, subtitle, and an image. You can also supply an NSDictionary for custom data that is passed along on accessory button touches.
- The MultiRowCalloutAnnotationView gathers the necessary information and conveniently uses blocks to handle the button touch events.
Attributions and Thanks
A portion of this class is based on James Rantanen's work at Asynchrony Solutions
- http://blog.asolutions.com/2010/09/building-custom-map-annotation-callouts-part-1/
- http://blog.asolutions.com/2010/09/building-custom-map-annotation-callouts-part-2/
License
Under a Creative Commons Attribution 3.0 Unported License

Screenshots

관련 프로젝트 살펴보기
불러오는 중…