896758645
所属分类:GIS/地图编程
开发工具:Objective-C
文件大小:167KB
下载次数:5
上传日期:2013-12-05 14:00:18
上 传 者:
uiwwwrrr
说明: 一个功能比较完整的google地图应用,ios精选编程实例源码,很好的参考资料。
(Google map applies a function relatively complete, IOS select programming source code examples, good reference.)
文件列表:
CalloutDemo (0, 2012-01-06)
CalloutDemo\CalloutDemo (0, 2012-01-06)
CalloutDemo\CalloutDemo.xcodeproj (0, 2012-01-06)
CalloutDemo\CalloutDemo.xcodeproj\project.pbxproj (20667, 2012-01-06)
CalloutDemo\CalloutDemo.xcodeproj\project.xcworkspace (0, 2012-01-06)
CalloutDemo\CalloutDemo.xcodeproj\project.xcworkspace\contents.xcworkspacedata (156, 2012-01-06)
CalloutDemo\CalloutDemo\AppDelegate.h (663, 2012-01-06)
CalloutDemo\CalloutDemo\AppDelegate.m (1718, 2012-01-06)
CalloutDemo\CalloutDemo\Assets (0, 2012-01-06)
CalloutDemo\CalloutDemo\Assets\bluestar.png (2110, 2012-01-06)
CalloutDemo\CalloutDemo\Assets\bluestar@2x.png (5153, 2012-01-06)
CalloutDemo\CalloutDemo\Assets\redstar.png (2121, 2012-01-06)
CalloutDemo\CalloutDemo\Assets\redstar@2x.png (4636, 2012-01-06)
CalloutDemo\CalloutDemo\CalloutDemo-Info.plist (1560, 2012-01-06)
CalloutDemo\CalloutDemo\CalloutDemo-Prefix.pch (325, 2012-01-06)
CalloutDemo\CalloutDemo\District.h (1015, 2012-01-06)
CalloutDemo\CalloutDemo\District.m (2430, 2012-01-06)
CalloutDemo\CalloutDemo\en.lproj (0, 2012-01-06)
CalloutDemo\CalloutDemo\en.lproj\InfoPlist.strings (45, 2012-01-06)
CalloutDemo\CalloutDemo\en.lproj\ViewController_iPad.xib (14258, 2012-01-06)
CalloutDemo\CalloutDemo\en.lproj\ViewController_iPhone.xib (14244, 2012-01-06)
CalloutDemo\CalloutDemo\main.m (639, 2012-01-06)
CalloutDemo\CalloutDemo\Representative.h (952, 2012-01-06)
CalloutDemo\CalloutDemo\Representative.m (1950, 2012-01-06)
CalloutDemo\CalloutDemo\ViewController.h (660, 2012-01-06)
CalloutDemo\CalloutDemo\ViewController.m (5110, 2012-01-06)
LICENSE.html (24887, 2012-01-06)
MultiRowCalloutAnnotationView (0, 2012-01-06)
MultiRowCalloutAnnotationView\GenericPinAnnotationView.h (741, 2012-01-06)
MultiRowCalloutAnnotationView\GenericPinAnnotationView.m (1317, 2012-01-06)
MultiRowCalloutAnnotationView\MultiRowAnnotation.h (1137, 2012-01-06)
MultiRowCalloutAnnotationView\MultiRowAnnotation.m (1881, 2012-01-06)
MultiRowCalloutAnnotationView\MultiRowAnnotationProtocol.h (703, 2012-01-06)
MultiRowCalloutAnnotationView\MultiRowCalloutAnnotationView.h (1674, 2012-01-06)
MultiRowCalloutAnnotationView\MultiRowCalloutAnnotationView.m (23031, 2012-01-06)
MultiRowCalloutAnnotationView\MultiRowCalloutCell.h (1367, 2012-01-06)
MultiRowCalloutAnnotationView\MultiRowCalloutCell.m (4709, 2012-01-06)
screenshot.png (114847, 2012-01-06)
... ...
MultiRowCalloutAnnotationView - Exactly what it says, for MapKit / iOS
=============
Created by Gregory S. Combs.
Based on work at [GitHub](https://github.com/grgcombs/MultiRowCalloutAnnotationView).
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](http://creativecommons.org/licenses/by/3.0/)
![Creative Commons License Badge](http://i.creativecommons.org/l/by/3.0/88x31.png "Creative Commons Attribution")
Screenshots
=========================
![Screenshot](https://github.com/grgcombs/MultiRowCalloutAnnotationView/raw/master/screenshot.png "Screenshot")
近期下载者:
相关文件:
收藏者: