├── .DS_Store ├── .gitignore ├── HsUber.podspec ├── HsUber.xcodeproj ├── project.pbxproj └── project.xcworkspace │ └── contents.xcworkspacedata ├── HsUber.xcworkspace └── contents.xcworkspacedata ├── HsUber ├── AppDelegate.h ├── AppDelegate.m ├── Assets.xcassets │ ├── AppIcon.appiconset │ │ └── Contents.json │ ├── Contents.json │ └── icon_start.imageset │ │ ├── Contents.json │ │ └── icon_start.png ├── Base.lproj │ ├── LaunchScreen.storyboard │ └── Main.storyboard ├── HsUber │ ├── bottomView │ │ ├── HsBottomView.h │ │ └── HsBottomView.m │ ├── centerView │ │ ├── HsCenterView.h │ │ └── HsCenterView.m │ ├── history │ │ ├── HsHistoryView.h │ │ └── HsHistoryView.m │ ├── kit │ │ ├── HsMapLabel.h │ │ └── HsMapLabel.m │ ├── map │ │ ├── HsMapManager.h │ │ ├── HsMapManager.m │ │ ├── HsMapViewController.h │ │ ├── HsMapViewController.mm │ │ ├── HsMapViewController.xib │ │ ├── UIImage+Rotate.h │ │ └── UIImage+Rotate.m │ └── topView │ │ ├── HsTopView.h │ │ └── HsTopView.m ├── Info.plist ├── ViewController.h ├── ViewController.m └── main.m ├── LICENSE ├── Podfile ├── Podfile.lock ├── Pods ├── BaiduMapAPI │ └── Release-universal │ │ └── BaiduMapAPI.framework │ │ ├── BaiduMapAPI │ │ ├── Headers │ │ ├── BMKActionPaopaoView.h │ │ ├── BMKAnnotation.h │ │ ├── BMKAnnotationView.h │ │ ├── BMKArcline.h │ │ ├── BMKArclineView.h │ │ ├── BMKBaseComponent.h │ │ ├── BMKBusLineSearch.h │ │ ├── BMKBusLineSearchOption.h │ │ ├── BMKCircle.h │ │ ├── BMKCircleView.h │ │ ├── BMKCloudPOIList.h │ │ ├── BMKCloudSearch.h │ │ ├── BMKCloudSearchComponent.h │ │ ├── BMKCloudSearchInfo.h │ │ ├── BMKFavPoiInfo.h │ │ ├── BMKFavPoiManager.h │ │ ├── BMKGeneralDelegate.h │ │ ├── BMKGeocodeSearch.h │ │ ├── BMKGeocodeSearchOption.h │ │ ├── BMKGeocodeType.h │ │ ├── BMKGeometry.h │ │ ├── BMKGradient.h │ │ ├── BMKGroundOverlay.h │ │ ├── BMKGroundOverlayView.h │ │ ├── BMKHeatMap.h │ │ ├── BMKLocationComponent.h │ │ ├── BMKLocationService.h │ │ ├── BMKLocationViewDisplayParam.h │ │ ├── BMKMapComponent.h │ │ ├── BMKMapManager.h │ │ ├── BMKMapStatus.h │ │ ├── BMKMapView.h │ │ ├── BMKMultiPoint.h │ │ ├── BMKNavigation.h │ │ ├── BMKOfflineMap.h │ │ ├── BMKOfflineMapType.h │ │ ├── BMKOpenOption.h │ │ ├── BMKOpenPoi.h │ │ ├── BMKOpenPoiOption.h │ │ ├── BMKOpenRoute.h │ │ ├── BMKOpenRouteOption.h │ │ ├── BMKOverlay.h │ │ ├── BMKOverlayGLBasicView.h │ │ ├── BMKOverlayPathView.h │ │ ├── BMKOverlayView.h │ │ ├── BMKPinAnnotationView.h │ │ ├── BMKPoiSearch.h │ │ ├── BMKPoiSearchOption.h │ │ ├── BMKPoiSearchType.h │ │ ├── BMKPointAnnotation.h │ │ ├── BMKPolygon.h │ │ ├── BMKPolygonView.h │ │ ├── BMKPolyline.h │ │ ├── BMKPolylineView.h │ │ ├── BMKRadarComponent.h │ │ ├── BMKRadarManager.h │ │ ├── BMKRadarOption.h │ │ ├── BMKRadarResult.h │ │ ├── BMKRouteSearch.h │ │ ├── BMKRouteSearchOption.h │ │ ├── BMKRouteSearchType.h │ │ ├── BMKSearchComponent.h │ │ ├── BMKShape.h │ │ ├── BMKShareURLSearch.h │ │ ├── BMKShareUrlSearchOption.h │ │ ├── BMKSuggestionSearch.h │ │ ├── BMKSuggestionSearchOption.h │ │ ├── BMKTypes.h │ │ ├── BMKUserLocation.h │ │ ├── BMKUtilsComponent.h │ │ ├── BMKVersion.h │ │ └── BMapKit.h │ │ ├── Resources │ │ └── mapapi.bundle │ │ │ ├── files │ │ │ ├── Beijing, China.gpx │ │ │ ├── DVDirectory.cfg │ │ │ ├── DVDirectory_Retina.cfg │ │ │ ├── DVHotMap.cfg │ │ │ ├── DVHotMap_Retina.cfg │ │ │ ├── DVHotcity.cfg │ │ │ ├── DVHotcity_Retina.cfg │ │ │ ├── DVVersion.cfg │ │ │ ├── DVVersion_Retina.cfg │ │ │ ├── ResPack.rs │ │ │ ├── channel │ │ │ ├── mapstyle.sty │ │ │ ├── satellitestyle.sty │ │ │ └── trafficstyle.sty │ │ │ └── images │ │ │ ├── baidumap_logo.png │ │ │ ├── baidumap_logo@2x.png │ │ │ ├── bnavi_icon_location_fixed.png │ │ │ ├── bnavi_icon_location_fixed@2x.png │ │ │ ├── direction_wheel.png │ │ │ ├── direction_wheel@2x.png │ │ │ ├── icon_action_paopao_middle_left.png │ │ │ ├── icon_action_paopao_middle_left@2x.png │ │ │ ├── icon_action_paopao_middle_left_highlighted.png │ │ │ ├── icon_action_paopao_middle_left_highlighted@2x.png │ │ │ ├── icon_action_paopao_middle_right.png │ │ │ ├── icon_action_paopao_middle_right@2x.png │ │ │ ├── icon_action_paopao_middle_right_highlighted.png │ │ │ ├── icon_action_paopao_middle_right_highlighted@2x.png │ │ │ ├── icon_cellphone.png │ │ │ ├── icon_cellphone2.png │ │ │ ├── icon_cellphone2@2x.png │ │ │ ├── icon_cellphone@2x.png │ │ │ ├── icon_center_point.png │ │ │ ├── icon_center_point@2x.png │ │ │ ├── icon_compass.png │ │ │ ├── icon_compass@2x.png │ │ │ ├── icon_compass_background.png │ │ │ ├── icon_compass_background@2x.png │ │ │ ├── icon_direction.png │ │ │ ├── icon_direction@2x.png │ │ │ ├── icon_line_nofocus.png │ │ │ ├── icon_nav_bus.png │ │ │ ├── icon_nav_bus@2x.png │ │ │ ├── icon_nav_end.png │ │ │ ├── icon_nav_end@2x.png │ │ │ ├── icon_nav_rail.png │ │ │ ├── icon_nav_rail@2x.png │ │ │ ├── icon_nav_start.png │ │ │ ├── icon_nav_start@2x.png │ │ │ ├── icon_nav_waypoint.png │ │ │ ├── icon_nav_waypoint@2x.png │ │ │ ├── icon_paopao_middle_left.png │ │ │ ├── icon_paopao_middle_left@2x.png │ │ │ ├── icon_paopao_middle_left_highlighted.png │ │ │ ├── icon_paopao_middle_left_highlighted@2x.png │ │ │ ├── icon_paopao_middle_right.png │ │ │ ├── icon_paopao_middle_right@2x.png │ │ │ ├── icon_paopao_middle_right_highlighted.png │ │ │ ├── icon_paopao_middle_right_highlighted@2x.png │ │ │ ├── lineDashTexture.png │ │ │ ├── pin_green.png │ │ │ ├── pin_green@2x.png │ │ │ ├── pin_purple.png │ │ │ ├── pin_purple@2x.png │ │ │ ├── pin_red.png │ │ │ └── pin_red@2x.png │ │ └── readme.txt ├── Headers │ ├── Private │ │ ├── SMTableView │ │ │ ├── SMBlockDescription.h │ │ │ ├── SMCollectionViewSimplifyModel.h │ │ │ ├── SMRefreshManager.h │ │ │ ├── SMScrollViewRefreshDataSource.h │ │ │ ├── SMTableViewSimplifyModel.h │ │ │ ├── UICollectionView+simplify.h │ │ │ ├── UICollectionViewCell+simplify.h │ │ │ ├── UIScrollView+refreshable.h │ │ │ ├── UITableView+simplify.h │ │ │ └── UITableViewCell+simplify.h │ │ └── UITableView+FDTemplateLayoutCell │ │ │ ├── UITableView+FDIndexPathHeightCache.h │ │ │ ├── UITableView+FDKeyedHeightCache.h │ │ │ ├── UITableView+FDTemplateLayoutCell.h │ │ │ └── UITableView+FDTemplateLayoutCellDebug.h │ └── Public │ │ ├── BaiduMapAPI │ │ └── BaiduMapAPI │ │ │ ├── BMKActionPaopaoView.h │ │ │ ├── BMKAnnotation.h │ │ │ ├── BMKAnnotationView.h │ │ │ ├── BMKArcline.h │ │ │ ├── BMKArclineView.h │ │ │ ├── BMKBaseComponent.h │ │ │ ├── BMKBusLineSearch.h │ │ │ ├── BMKBusLineSearchOption.h │ │ │ ├── BMKCircle.h │ │ │ ├── BMKCircleView.h │ │ │ ├── BMKCloudPOIList.h │ │ │ ├── BMKCloudSearch.h │ │ │ ├── BMKCloudSearchComponent.h │ │ │ ├── BMKCloudSearchInfo.h │ │ │ ├── BMKFavPoiInfo.h │ │ │ ├── BMKFavPoiManager.h │ │ │ ├── BMKGeneralDelegate.h │ │ │ ├── BMKGeocodeSearch.h │ │ │ ├── BMKGeocodeSearchOption.h │ │ │ ├── BMKGeocodeType.h │ │ │ ├── BMKGeometry.h │ │ │ ├── BMKGradient.h │ │ │ ├── BMKGroundOverlay.h │ │ │ ├── BMKGroundOverlayView.h │ │ │ ├── BMKHeatMap.h │ │ │ ├── BMKLocationComponent.h │ │ │ ├── BMKLocationService.h │ │ │ ├── BMKLocationViewDisplayParam.h │ │ │ ├── BMKMapComponent.h │ │ │ ├── BMKMapManager.h │ │ │ ├── BMKMapStatus.h │ │ │ ├── BMKMapView.h │ │ │ ├── BMKMultiPoint.h │ │ │ ├── BMKNavigation.h │ │ │ ├── BMKOfflineMap.h │ │ │ ├── BMKOfflineMapType.h │ │ │ ├── BMKOpenOption.h │ │ │ ├── BMKOpenPoi.h │ │ │ ├── BMKOpenPoiOption.h │ │ │ ├── BMKOpenRoute.h │ │ │ ├── BMKOpenRouteOption.h │ │ │ ├── BMKOverlay.h │ │ │ ├── BMKOverlayGLBasicView.h │ │ │ ├── BMKOverlayPathView.h │ │ │ ├── BMKOverlayView.h │ │ │ ├── BMKPinAnnotationView.h │ │ │ ├── BMKPoiSearch.h │ │ │ ├── BMKPoiSearchOption.h │ │ │ ├── BMKPoiSearchType.h │ │ │ ├── BMKPointAnnotation.h │ │ │ ├── BMKPolygon.h │ │ │ ├── BMKPolygonView.h │ │ │ ├── BMKPolyline.h │ │ │ ├── BMKPolylineView.h │ │ │ ├── BMKRadarComponent.h │ │ │ ├── BMKRadarManager.h │ │ │ ├── BMKRadarOption.h │ │ │ ├── BMKRadarResult.h │ │ │ ├── BMKRouteSearch.h │ │ │ ├── BMKRouteSearchOption.h │ │ │ ├── BMKRouteSearchType.h │ │ │ ├── BMKSearchComponent.h │ │ │ ├── BMKShape.h │ │ │ ├── BMKShareURLSearch.h │ │ │ ├── BMKShareUrlSearchOption.h │ │ │ ├── BMKSuggestionSearch.h │ │ │ ├── BMKSuggestionSearchOption.h │ │ │ ├── BMKTypes.h │ │ │ ├── BMKUserLocation.h │ │ │ ├── BMKUtilsComponent.h │ │ │ ├── BMKVersion.h │ │ │ └── BMapKit.h │ │ ├── SMTableView │ │ ├── SMBlockDescription.h │ │ ├── SMCollectionViewSimplifyModel.h │ │ ├── SMRefreshManager.h │ │ ├── SMScrollViewRefreshDataSource.h │ │ ├── SMTableViewSimplifyModel.h │ │ ├── UICollectionView+simplify.h │ │ ├── UICollectionViewCell+simplify.h │ │ ├── UIScrollView+refreshable.h │ │ ├── UITableView+simplify.h │ │ └── UITableViewCell+simplify.h │ │ └── UITableView+FDTemplateLayoutCell │ │ ├── UITableView+FDIndexPathHeightCache.h │ │ ├── UITableView+FDKeyedHeightCache.h │ │ ├── UITableView+FDTemplateLayoutCell.h │ │ └── UITableView+FDTemplateLayoutCellDebug.h ├── Manifest.lock ├── Pods.xcodeproj │ └── project.pbxproj ├── SMTableView │ ├── Framework │ │ ├── CollectionView │ │ │ ├── SMCollectionViewSimplifyModel.h │ │ │ ├── SMCollectionViewSimplifyModel.m │ │ │ ├── UICollectionView+simplify.h │ │ │ ├── UICollectionView+simplify.m │ │ │ ├── UICollectionViewCell+simplify.h │ │ │ └── UICollectionViewCell+simplify.m │ │ ├── ScrollView │ │ │ ├── SMRefreshManager.h │ │ │ ├── SMRefreshManager.m │ │ │ ├── SMScrollViewRefreshDataSource.h │ │ │ ├── UIScrollView+refreshable.h │ │ │ └── UIScrollView+refreshable.m │ │ └── TableView │ │ │ ├── SMBlockDescription.h │ │ │ ├── SMBlockDescription.m │ │ │ ├── SMTableViewSimplifyModel.h │ │ │ ├── SMTableViewSimplifyModel.m │ │ │ ├── UITableView+simplify.h │ │ │ ├── UITableView+simplify.m │ │ │ ├── UITableViewCell+simplify.h │ │ │ └── UITableViewCell+simplify.m │ └── README.md ├── Target Support Files │ ├── Pods-HsUber │ │ ├── Pods-HsUber-acknowledgements.markdown │ │ ├── Pods-HsUber-acknowledgements.plist │ │ ├── Pods-HsUber-dummy.m │ │ ├── Pods-HsUber-frameworks.sh │ │ ├── Pods-HsUber-resources.sh │ │ ├── Pods-HsUber.debug.xcconfig │ │ └── Pods-HsUber.release.xcconfig │ ├── SMTableView │ │ ├── SMTableView-dummy.m │ │ ├── SMTableView-prefix.pch │ │ └── SMTableView.xcconfig │ └── UITableView+FDTemplateLayoutCell │ │ ├── UITableView+FDTemplateLayoutCell-dummy.m │ │ ├── UITableView+FDTemplateLayoutCell-prefix.pch │ │ └── UITableView+FDTemplateLayoutCell.xcconfig └── UITableView+FDTemplateLayoutCell │ ├── Classes │ ├── UITableView+FDIndexPathHeightCache.h │ ├── UITableView+FDIndexPathHeightCache.m │ ├── UITableView+FDKeyedHeightCache.h │ ├── UITableView+FDKeyedHeightCache.m │ ├── UITableView+FDTemplateLayoutCell.h │ ├── UITableView+FDTemplateLayoutCell.m │ ├── UITableView+FDTemplateLayoutCellDebug.h │ └── UITableView+FDTemplateLayoutCellDebug.m │ ├── LICENSE │ └── README.md ├── README.md └── uber.gif /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JDongKhan/HsUber/caca464a76022133f6bb3973c39ed1c24f3ddaf3/.DS_Store -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Xcode 2 | # 3 | # gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore 4 | 5 | ## Build generated 6 | build/ 7 | DerivedData 8 | 9 | ## Various settings 10 | *.pbxuser 11 | !default.pbxuser 12 | *.mode1v3 13 | !default.mode1v3 14 | *.mode2v3 15 | !default.mode2v3 16 | *.perspectivev3 17 | !default.perspectivev3 18 | xcuserdata 19 | 20 | ## Other 21 | *.xccheckout 22 | *.moved-aside 23 | *.xcuserstate 24 | *.xcscmblueprint 25 | 26 | ## Obj-C/Swift specific 27 | *.hmap 28 | *.ipa 29 | 30 | # CocoaPods 31 | # 32 | # We recommend against adding the Pods directory to your .gitignore. However 33 | # you should judge for yourself, the pros and cons are mentioned at: 34 | # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control 35 | # 36 | # Pods/ 37 | 38 | # Carthage 39 | # 40 | # Add this line if you want to avoid checking in source code from Carthage dependencies. 41 | # Carthage/Checkouts 42 | 43 | Carthage/Build 44 | 45 | # fastlane 46 | # 47 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 48 | # screenshots whenever they are needed. 49 | # For more information about the recommended setup visit: 50 | # https://github.com/fastlane/fastlane/blob/master/docs/Gitignore.md 51 | 52 | fastlane/report.xml 53 | fastlane/screenshots 54 | -------------------------------------------------------------------------------- /HsUber.podspec: -------------------------------------------------------------------------------- 1 | Pod::Spec.new do |spec| 2 | spec.name = 'HsUber' 3 | spec.version = '1.1.2' 4 | spec.summary = '模仿Uber首页动画' 5 | spec.homepage = 'https://github.com/wangjindong/HsUber' 6 | spec.license = 'MIT' 7 | #spec.license = { :type => 'MIT', :file => 'FILE_LICENSE' } 8 | spec.author = { 'wangjindong' => '419591321@qq.com' } 9 | #spec.social_media_url = 'http://twitter.com/hundsun' 10 | spec.platform = :ios,'5.0' 11 | spec.source = {:git=>'https://github.com/wangjindong/HsUber.git',:tag=>spec.version} 12 | spec.source_files = 'HsUber/HsUber/*' 13 | #spec.exclude_files = 'HsUber/**/*' 14 | #spec.resource = 'HsUber/HsUber/*.bundle' 15 | 16 | spec.requires_arc = true 17 | #spec.ios.deployment_target = '7.0' 18 | #spec.public_header_files = 'HsUber/*.h' 19 | spec.frameworks = 'Foundation', 'CoreGraphics', 'UIKit' 20 | 21 | end -------------------------------------------------------------------------------- /HsUber.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /HsUber.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /HsUber/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // HsUber 4 | // 5 | // Created by 王金东 on 16/1/19. 6 | // Copyright © 2016年 王金东. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface AppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | 15 | 16 | @end 17 | 18 | -------------------------------------------------------------------------------- /HsUber/AppDelegate.m: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.m 3 | // HsUber 4 | // 5 | // Created by 王金东 on 16/1/19. 6 | // Copyright © 2016年 王金东. All rights reserved. 7 | // 8 | 9 | #import "AppDelegate.h" 10 | 11 | @interface AppDelegate () 12 | 13 | @end 14 | 15 | @implementation AppDelegate 16 | 17 | 18 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { 19 | // Override point for customization after application launch. 20 | return YES; 21 | } 22 | 23 | - (void)applicationWillResignActive:(UIApplication *)application { 24 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. 25 | // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. 26 | } 27 | 28 | - (void)applicationDidEnterBackground:(UIApplication *)application { 29 | // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. 30 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 31 | } 32 | 33 | - (void)applicationWillEnterForeground:(UIApplication *)application { 34 | // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. 35 | } 36 | 37 | - (void)applicationDidBecomeActive:(UIApplication *)application { 38 | // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. 39 | } 40 | 41 | - (void)applicationWillTerminate:(UIApplication *)application { 42 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 43 | } 44 | 45 | @end 46 | -------------------------------------------------------------------------------- /HsUber/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "29x29", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "40x40", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "40x40", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "60x60", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "60x60", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "ipad", 35 | "size" : "29x29", 36 | "scale" : "1x" 37 | }, 38 | { 39 | "idiom" : "ipad", 40 | "size" : "29x29", 41 | "scale" : "2x" 42 | }, 43 | { 44 | "idiom" : "ipad", 45 | "size" : "40x40", 46 | "scale" : "1x" 47 | }, 48 | { 49 | "idiom" : "ipad", 50 | "size" : "40x40", 51 | "scale" : "2x" 52 | }, 53 | { 54 | "idiom" : "ipad", 55 | "size" : "76x76", 56 | "scale" : "1x" 57 | }, 58 | { 59 | "idiom" : "ipad", 60 | "size" : "76x76", 61 | "scale" : "2x" 62 | }, 63 | { 64 | "idiom" : "ipad", 65 | "size" : "83.5x83.5", 66 | "scale" : "2x" 67 | } 68 | ], 69 | "info" : { 70 | "version" : 1, 71 | "author" : "xcode" 72 | } 73 | } -------------------------------------------------------------------------------- /HsUber/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /HsUber/Assets.xcassets/icon_start.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "icon_start.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /HsUber/Assets.xcassets/icon_start.imageset/icon_start.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JDongKhan/HsUber/caca464a76022133f6bb3973c39ed1c24f3ddaf3/HsUber/Assets.xcassets/icon_start.imageset/icon_start.png -------------------------------------------------------------------------------- /HsUber/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /HsUber/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /HsUber/HsUber/bottomView/HsBottomView.h: -------------------------------------------------------------------------------- 1 | // 2 | // HsBottomView.h 3 | // HsUber 4 | // 5 | // Created by 王金东 on 16/1/19. 6 | // Copyright © 2016年 王金东. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface HsBottomView : UIView 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /HsUber/HsUber/bottomView/HsBottomView.m: -------------------------------------------------------------------------------- 1 | // 2 | // HsBottomView.m 3 | // HsUber 4 | // 5 | // Created by 王金东 on 16/1/19. 6 | // Copyright © 2016年 王金东. All rights reserved. 7 | // 8 | 9 | #import "HsBottomView.h" 10 | 11 | #define padding 40 12 | 13 | @interface HsBottomView () 14 | 15 | 16 | @end 17 | 18 | @implementation HsBottomView 19 | 20 | - (instancetype)initWithFrame:(CGRect)frame { 21 | self = [super initWithFrame:frame]; 22 | if (self) { 23 | [self setup]; 24 | } 25 | return self; 26 | } 27 | 28 | - (void)setup { 29 | UILabel *lable1 = [[UILabel alloc] initWithFrame:CGRectMake(0, 10, 130, 20)]; 30 | lable1.font = [UIFont systemFontOfSize:14.0f]; 31 | lable1.textAlignment = NSTextAlignmentCenter; 32 | lable1.text = @"人民优步+"; 33 | [self addSubview:lable1]; 34 | 35 | UILabel *lable2 = [[UILabel alloc] initWithFrame:CGRectMake(self.frame.size.width-150, 10, 130, 20)]; 36 | lable2.font = [UIFont systemFontOfSize:14.0f]; 37 | lable2.textAlignment = NSTextAlignmentCenter; 38 | lable2.text = @"高级轿车"; 39 | [self addSubview:lable2]; 40 | 41 | UISlider *slider = [[UISlider alloc] initWithFrame:CGRectMake(padding, self.frame.size.height-80, self.frame.size.width-padding*2, 80)]; 42 | slider.continuous = NO; 43 | slider.minimumTrackTintColor = [UIColor grayColor]; 44 | slider.maximumTrackTintColor = [UIColor grayColor]; 45 | //slider.minimumValueImage = [UIImage imageNamed:@"icon_faild"]; 46 | [slider setThumbImage:[UIImage imageNamed:@"icon_start"] forState:UIControlStateNormal]; 47 | [slider addTarget:self action:@selector(valueChange:) forControlEvents:UIControlEventValueChanged]; 48 | [self addSubview:slider]; 49 | 50 | } 51 | - (void)valueChange:(UISlider *)sender { 52 | if (sender.value < sender.maximumValue/2) { 53 | [sender setValue:0 animated:YES]; 54 | }else{ 55 | [sender setValue:sender.maximumValue animated:YES]; 56 | } 57 | } 58 | /* 59 | // Only override drawRect: if you perform custom drawing. 60 | // An empty implementation adversely affects performance during animation. 61 | - (void)drawRect:(CGRect)rect { 62 | // Drawing code 63 | } 64 | */ 65 | 66 | @end 67 | -------------------------------------------------------------------------------- /HsUber/HsUber/centerView/HsCenterView.h: -------------------------------------------------------------------------------- 1 | // 2 | // HsCenterView.h 3 | // HsUber 4 | // 5 | // Created by 王金东 on 16/1/19. 6 | // Copyright © 2016年 王金东. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface HsCenterView : UIView 12 | 13 | 14 | - (void)startLoading; 15 | 16 | - (void)showFail:(NSString *)title; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /HsUber/HsUber/history/HsHistoryView.h: -------------------------------------------------------------------------------- 1 | // 2 | // HsHistoryView.h 3 | // HsUber 4 | // 5 | // Created by 王金东 on 16/1/19. 6 | // Copyright © 2016年 王金东. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface HsHistoryView : UIView 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /HsUber/HsUber/history/HsHistoryView.m: -------------------------------------------------------------------------------- 1 | // 2 | // HsHistoryView.m 3 | // HsUber 4 | // 5 | // Created by 王金东 on 16/1/19. 6 | // Copyright © 2016年 王金东. All rights reserved. 7 | // 8 | 9 | #import "HsHistoryView.h" 10 | #import 11 | 12 | @interface HsHistoryView () 13 | 14 | @property (nonatomic,strong) UITableView *tableView; 15 | 16 | @end 17 | @implementation HsHistoryView 18 | 19 | - (instancetype)initWithFrame:(CGRect)frame { 20 | self = [super initWithFrame:frame]; 21 | if (self) { 22 | [self setup]; 23 | } 24 | return self; 25 | } 26 | 27 | - (void)setup { 28 | self.tableView = [[UITableView alloc] initWithFrame:self.bounds]; 29 | self.tableView.enableSimplify = YES; 30 | self.tableView.dataSource = self; 31 | self.tableView.delegate = self; 32 | self.tableView.tableFooterView = [[UIView alloc] initWithFrame:CGRectZero]; 33 | self.tableView.backgroundColor = [UIColor clearColor]; 34 | [self addSubview:self.tableView]; 35 | self.tableView.itemsArray = @[@"历史1",@"历史1"].mutableCopy; 36 | } 37 | 38 | /* 39 | // Only override drawRect: if you perform custom drawing. 40 | // An empty implementation adversely affects performance during animation. 41 | - (void)drawRect:(CGRect)rect { 42 | // Drawing code 43 | } 44 | */ 45 | 46 | @end 47 | -------------------------------------------------------------------------------- /HsUber/HsUber/kit/HsMapLabel.h: -------------------------------------------------------------------------------- 1 | // 2 | // HsMapLabel.h 3 | // HsUber 4 | // 5 | // Created by 王金东 on 16/1/19. 6 | // Copyright © 2016年 王金东. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface HsMapLabel : UILabel 12 | 13 | - (void)startLoading; 14 | - (void)endLoading; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /HsUber/HsUber/kit/HsMapLabel.m: -------------------------------------------------------------------------------- 1 | // 2 | // HsMapLabel.m 3 | // HsUber 4 | // 5 | // Created by 王金东 on 16/1/19. 6 | // Copyright © 2016年 王金东. All rights reserved. 7 | // 8 | 9 | #import "HsMapLabel.h" 10 | 11 | @interface HsMapLabel () 12 | @property (nonatomic,strong) CAShapeLayer *shapeLayer; 13 | 14 | @end 15 | @implementation HsMapLabel 16 | 17 | 18 | - (void)drawRect:(CGRect)rect { 19 | [super drawRect:rect]; 20 | //创建出CAShapeLayer 21 | if (self.shapeLayer == nil) { 22 | self.shapeLayer = [CAShapeLayer layer]; 23 | self.shapeLayer.frame = self.bounds;//设置shapeLayer的尺寸和位置 24 | self.shapeLayer.fillColor = [UIColor clearColor].CGColor;//填充颜色为ClearColor 25 | 26 | //设置线条的宽度和颜色 27 | self.shapeLayer.lineWidth = 1.0f; 28 | self.shapeLayer.strokeColor = [UIColor redColor].CGColor; 29 | //设置stroke起始点 30 | self.shapeLayer.strokeStart = 0; 31 | self.shapeLayer.strokeEnd = 0.95; 32 | 33 | //创建出圆形贝塞尔曲线 34 | UIBezierPath *circlePath = [UIBezierPath bezierPathWithOvalInRect:self.bounds]; 35 | 36 | //让贝塞尔曲线与CAShapeLayer产生联系 37 | self.shapeLayer.path = circlePath.CGPath; 38 | //添加并显示 39 | [self.layer addSublayer:self.shapeLayer]; 40 | } 41 | CGPoint center = CGPointMake(self.frame.size.width/2, self.frame.size.height/2); 42 | self.shapeLayer.position = center; 43 | } 44 | 45 | 46 | - (void)startLoading { 47 | CABasicAnimation *animation = [CABasicAnimation animationWithKeyPath:@"transform.rotation.z"]; 48 | animation.toValue = @(3.14156*2.0); 49 | animation.duration = 1.0f; 50 | animation.cumulative = YES; 51 | animation.repeatCount = MAXFLOAT; 52 | [self.shapeLayer addAnimation:animation forKey:@"rotationAnimation"]; 53 | } 54 | 55 | - (void)endLoading { 56 | [self.shapeLayer removeAllAnimations]; 57 | } 58 | @end 59 | -------------------------------------------------------------------------------- /HsUber/HsUber/map/HsMapManager.h: -------------------------------------------------------------------------------- 1 | // 2 | // HsMapManager.h 3 | // Hundsun_InternetSellTicket 4 | // 5 | // Created by 王金东 on 15/6/19. 6 | // Copyright (c) 2015年 王金东. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | 13 | @protocol HsMapLocationManagerDelegate; 14 | 15 | @interface HsMapManager : NSObject 16 | 17 | + (instancetype)sharedInstance; 18 | 19 | - (void)start:(id)delegate; 20 | - (void)stop; 21 | 22 | - (void)applicationWillResignActive:(UIApplication *)application; 23 | 24 | - (void)applicationDidBecomeActive:(UIApplication *)application; 25 | 26 | @end 27 | 28 | 29 | 30 | @protocol HsMapLocationManagerDelegate 31 | 32 | @optional 33 | 34 | - (void)locationManager:(HsMapManager *)locationManager didFinishedLocation:(BMKUserLocation *)userLocation;//成功 35 | 36 | - (void)locationManager:(HsMapManager *)locationManager locationInfo:(NSDictionary *)locationInfo;//位置信息 37 | 38 | - (void)locationManager:(HsMapManager *)locationManager didFailWithError:(NSError *)error;//失败 39 | 40 | @end -------------------------------------------------------------------------------- /HsUber/HsUber/map/HsMapViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // HsMapViewController.h 3 | // Hundsun_InternetSellTicket 4 | // 5 | // Created by 王金东 on 15/6/19. 6 | // Copyright (c) 2015年 王金东. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | 13 | typedef struct HsMapLocationPoint { 14 | CGFloat latitude, longitude; 15 | const char *title , *subtitle; 16 | 17 | } HsMapLocationPoint; 18 | 19 | UIKIT_STATIC_INLINE HsMapLocationPoint HsMapLocationPointMake(CGFloat latitude, CGFloat longitude, const char *title, const char *subtitle) { 20 | HsMapLocationPoint point = {latitude, longitude, title, subtitle}; 21 | return point; 22 | } 23 | 24 | 25 | @interface HsMapViewController : UIViewController 26 | 27 | @property (weak, nonatomic) IBOutlet BMKMapView *mapView; 28 | 29 | @property (nonatomic,copy) NSString *endAddress; 30 | @property (nonatomic,copy) NSString *city; 31 | 32 | //地图缩放级别 33 | @property (nonatomic,assign) CGFloat zoomLevel; 34 | 35 | //缩放后右侧菜单布局 36 | @property (nonatomic,assign) UIEdgeInsets scaleRightToolsInsets; 37 | //是否缩放 YES 表示处于缩放状态 NO表示全屏状态 38 | @property (nonatomic,assign) BOOL scale; 39 | //缩放地图 40 | @property (nonatomic,copy) void(^scaleViewBlock)(BOOL selected); 41 | //点击地图 42 | @property (copy, nonatomic) void(^onClickedMapBlank)(void); 43 | //点击标注 44 | @property (copy, nonatomic) void(^onClickedMapAnnotation)(void); 45 | 46 | //地图中心点 47 | @property (copy, nonatomic) void(^mapCenterBlock)(CGPoint point); 48 | @property (copy, nonatomic) void(^reverseGeoCodeResultBlock)(NSDictionary *addressInfo); 49 | 50 | 51 | //是否显示用户信息 52 | @property (nonatomic,assign) BOOL showsUserLocation; 53 | /** 54 | * @author wangjindong, 15-06-29 10:06:32 55 | * 56 | * @brief 是否显示工具条 57 | * 58 | * @since 1.0 59 | */ 60 | @property (nonatomic,assign) BOOL showTools; 61 | 62 | /** 63 | * @author wangjindong, 15-06-24 09:06:30 64 | * 65 | * @brief 给地图设置一个点 66 | * 67 | * @param location 经纬度 68 | * @param title 点击大头针显示的标题 69 | * @param subtitle 点击大头针显示的子标题 70 | * 71 | * @since 1.0 72 | */ 73 | @property (nonatomic,assign) HsMapLocationPoint point; 74 | 75 | @end 76 | -------------------------------------------------------------------------------- /HsUber/HsUber/map/HsMapViewController.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /HsUber/HsUber/map/UIImage+Rotate.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIImage+Rotate.h 3 | // IphoneMapSdkDemo 4 | // 5 | // Created by wzy on 14-11-14. 6 | // Copyright (c) 2014年 Baidu. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface UIImage (Rotate) 12 | 13 | - (UIImage*)imageRotatedByDegrees:(CGFloat)degrees; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /HsUber/HsUber/map/UIImage+Rotate.m: -------------------------------------------------------------------------------- 1 | // 2 | // UIImage+Rotate.m 3 | // IphoneMapSdkDemo 4 | // 5 | // Created by wzy on 14-11-14. 6 | // Copyright (c) 2014年 Baidu. All rights reserved. 7 | // 8 | 9 | #import "UIImage+Rotate.h" 10 | 11 | @implementation UIImage (Rotate) 12 | 13 | - (UIImage*)imageRotatedByDegrees:(CGFloat)degrees 14 | { 15 | 16 | CGFloat width = CGImageGetWidth(self.CGImage); 17 | CGFloat height = CGImageGetHeight(self.CGImage); 18 | 19 | CGSize rotatedSize; 20 | 21 | rotatedSize.width = width; 22 | rotatedSize.height = height; 23 | 24 | UIGraphicsBeginImageContext(rotatedSize); 25 | CGContextRef bitmap = UIGraphicsGetCurrentContext(); 26 | CGContextTranslateCTM(bitmap, rotatedSize.width/2, rotatedSize.height/2); 27 | CGContextRotateCTM(bitmap, degrees * M_PI / 180); 28 | CGContextRotateCTM(bitmap, M_PI); 29 | CGContextScaleCTM(bitmap, -1.0, 1.0); 30 | CGContextDrawImage(bitmap, CGRectMake(-rotatedSize.width/2, -rotatedSize.height/2, rotatedSize.width, rotatedSize.height), self.CGImage); 31 | UIImage* newImage = UIGraphicsGetImageFromCurrentImageContext(); 32 | UIGraphicsEndImageContext(); 33 | return newImage; 34 | } 35 | 36 | 37 | @end 38 | -------------------------------------------------------------------------------- /HsUber/HsUber/topView/HsTopView.h: -------------------------------------------------------------------------------- 1 | // 2 | // HsTopView.h 3 | // HsUber 4 | // 5 | // Created by 王金东 on 16/1/19. 6 | // Copyright © 2016年 王金东. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface HsTopView : UIView 12 | 13 | @property (nonatomic,weak,readonly) UITextField *topTextField; 14 | 15 | @property (nonatomic,strong) UITextField *startLocationView; 16 | 17 | @property (nonatomic,strong) UITextField *endLocationView; 18 | @property (nonatomic,assign,getter=isEditing) BOOL editing; 19 | 20 | //地图中心点 21 | @property (copy, nonatomic) void(^editingBlock)(BOOL edit); 22 | 23 | - (void)resetView ; 24 | 25 | @end 26 | -------------------------------------------------------------------------------- /HsUber/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | HsUber 9 | CFBundleExecutable 10 | $(EXECUTABLE_NAME) 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | $(PRODUCT_NAME) 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1 25 | LSRequiresIPhoneOS 26 | 27 | NSAppTransportSecurity 28 | 29 | NSAllowsArbitraryLoads 30 | 31 | 32 | UILaunchStoryboardName 33 | LaunchScreen 34 | UIMainStoryboardFile 35 | Main 36 | UIRequiredDeviceCapabilities 37 | 38 | armv7 39 | 40 | UISupportedInterfaceOrientations 41 | 42 | UIInterfaceOrientationPortrait 43 | UIInterfaceOrientationLandscapeLeft 44 | UIInterfaceOrientationLandscapeRight 45 | 46 | UISupportedInterfaceOrientations~ipad 47 | 48 | UIInterfaceOrientationPortrait 49 | UIInterfaceOrientationPortraitUpsideDown 50 | UIInterfaceOrientationLandscapeLeft 51 | UIInterfaceOrientationLandscapeRight 52 | 53 | 54 | 55 | -------------------------------------------------------------------------------- /HsUber/ViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.h 3 | // HsUber 4 | // 5 | // Created by 王金东 on 16/1/19. 6 | // Copyright © 2016年 王金东. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface ViewController : UIViewController 12 | 13 | 14 | @end 15 | 16 | -------------------------------------------------------------------------------- /HsUber/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // HsUber 4 | // 5 | // Created by 王金东 on 16/1/19. 6 | // Copyright © 2016年 王金东. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "AppDelegate.h" 11 | 12 | int main(int argc, char * argv[]) { 13 | @autoreleasepool { 14 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2016 wangjindong 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /Podfile: -------------------------------------------------------------------------------- 1 | platform:ios,'7.0' 2 | inhibit_all_warnings! 3 | 4 | target :HsUber do 5 | 6 | #baidu map 7 | pod 'BaiduMapAPI' 8 | #JHChainableAnimations 9 | pod 'SMTableView' 10 | #切换pod源之后,pod update --no-repo-update即可 11 | 12 | end -------------------------------------------------------------------------------- /Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - BaiduMapAPI (2.8.1): 3 | - BaiduMapAPI/Default (= 2.8.1) 4 | - BaiduMapAPI/Default (2.8.1): 5 | - BaiduMapAPI/Universal 6 | - BaiduMapAPI/Universal (2.8.1) 7 | - SMTableView (2.3.4): 8 | - UITableView+FDTemplateLayoutCell (~> 1.3) 9 | - UITableView+FDTemplateLayoutCell (1.6) 10 | 11 | DEPENDENCIES: 12 | - BaiduMapAPI 13 | - SMTableView 14 | 15 | SPEC CHECKSUMS: 16 | BaiduMapAPI: 2d03e12a51d5c6c49ece555c6bdda8562635cc02 17 | SMTableView: 5add0d695ee5c49b6806152750b184b2fabe2e45 18 | UITableView+FDTemplateLayoutCell: 5c949b4a5059c404b442926c0e80f81d10a2d66f 19 | 20 | PODFILE CHECKSUM: 0bc74587147887443efe2d4e2d29276a4ca3f3cd 21 | 22 | COCOAPODS: 1.2.0.beta.3 23 | -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/BaiduMapAPI: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JDongKhan/HsUber/caca464a76022133f6bb3973c39ed1c24f3ddaf3/Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/BaiduMapAPI -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKActionPaopaoView.h: -------------------------------------------------------------------------------- 1 | /* 2 | * BMKActionPaopaoView.h 3 | * BMapKit 4 | * 5 | * Copyright 2011 Baidu Inc. All rights reserved. 6 | * 7 | */ 8 | 9 | #import 10 | /// 该类用于定义一个PaopaoView 11 | @interface BMKActionPaopaoView : UIView 12 | 13 | /** 14 | *初始化并返回一个BMKActionPaopaoView 15 | *@param customView 自定义View,customView=nil时返回默认的PaopaoView 16 | *@return 初始化成功则返回BMKActionPaopaoView,否则返回nil 17 | */ 18 | - (id)initWithCustomView:(UIView*)customView; 19 | 20 | @end 21 | 22 | -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKAnnotation.h: -------------------------------------------------------------------------------- 1 | // 2 | // BMKAnnotation.h 3 | // BMapKit 4 | // 5 | // Copyright 2011 Baidu Inc. All rights reserved. 6 | // 7 | 8 | #import 9 | #import 10 | #import 11 | 12 | /// 该类为标注点的protocol,提供了标注类的基本信息函数 13 | @protocol BMKAnnotation 14 | 15 | ///标注view中心坐标. 16 | @property (nonatomic, readonly) CLLocationCoordinate2D coordinate; 17 | 18 | @optional 19 | 20 | /** 21 | *获取annotation标题 22 | *@return 返回annotation的标题信息 23 | */ 24 | - (NSString *)title; 25 | 26 | /** 27 | *获取annotation副标题 28 | *@return 返回annotation的副标题信息 29 | */ 30 | - (NSString *)subtitle; 31 | 32 | /** 33 | *设置标注的坐标,在拖拽时会被调用. 34 | *@param newCoordinate 新的坐标值 35 | */ 36 | - (void)setCoordinate:(CLLocationCoordinate2D)newCoordinate; 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKAnnotationView.h: -------------------------------------------------------------------------------- 1 | /* 2 | * BMKAnnotationView.h 3 | * BMapKit 4 | * 5 | * Copyright 2011 Baidu Inc. All rights reserved. 6 | * 7 | */ 8 | 9 | #import 10 | #import "BMKActionPaopaoView.h" 11 | 12 | #if __IPHONE_3_2 <= __IPHONE_OS_VERSION_MAX_ALLOWED 13 | 14 | enum { 15 | BMKAnnotationViewDragStateNone = 0, ///< 静止状态. 16 | BMKAnnotationViewDragStateStarting, ///< 开始拖动 17 | BMKAnnotationViewDragStateDragging, ///< 拖动中 18 | BMKAnnotationViewDragStateCanceling, ///< 取消拖动 19 | BMKAnnotationViewDragStateEnding ///< 拖动结束 20 | }; 21 | 22 | typedef NSUInteger BMKAnnotationViewDragState; 23 | 24 | #endif 25 | 26 | 27 | 28 | @class BMKAnnotationViewInternal; 29 | @protocol BMKAnnotation; 30 | @class BMKMapView; 31 | @class BMKMapViewInternal; 32 | ///标注view 33 | @interface BMKAnnotationView : UIView 34 | { 35 | @private 36 | BMKAnnotationViewInternal *_internal; 37 | BOOL _enabled3D; 38 | CGPoint _originPt; 39 | CGPoint startPoint; 40 | } 41 | 42 | /** 43 | *初始化并返回一个annotation view 44 | *@param annotation 关联的annotation对象 45 | *@param reuseIdentifier 如果要重用view,传入一个字符串,否则设为nil,建议重用view 46 | *@return 初始化成功则返回annotation view,否则返回nil 47 | */ 48 | - (id)initWithAnnotation:(id )annotation reuseIdentifier:(NSString *)reuseIdentifier; 49 | 50 | 51 | ///复用标志 52 | @property (nonatomic, readonly) NSString *reuseIdentifier; 53 | ///paopaoView 54 | @property (nonatomic, strong)BMKActionPaopaoView* paopaoView; 55 | 56 | /** 57 | *当view从reuse队列里取出时被调用 58 | *默认不做任何事 59 | */ 60 | - (void)prepareForReuse; 61 | 62 | ///关联的annotation 63 | @property (nonatomic, strong) id annotation; 64 | 65 | ///annotation view显示的图像 66 | @property (nonatomic, strong) UIImage *image; 67 | 68 | ///默认情况下, annotation view的中心位于annotation的坐标位置,可以设置centerOffset改变view的位置,正的偏移使view朝右下方移动,负的朝左上方,单位是像素 69 | @property (nonatomic) CGPoint centerOffset; 70 | 71 | ///默认情况下, 弹出的气泡位于view正中上方,可以设置calloutOffset改变view的位置,正的偏移使view朝右下方移动,负的朝左上方,单位是像素 72 | @property (nonatomic) CGPoint calloutOffset; 73 | 74 | ///默认情况下,标注没有3D效果,可以设置enabled3D改变使用3D效果,使得标注在地图旋转和俯视时跟随旋转、俯视 75 | @property (nonatomic) BOOL enabled3D; 76 | 77 | ///默认为YES,当为NO时view忽略触摸事件 78 | @property (nonatomic, getter=isEnabled) BOOL enabled; 79 | 80 | ///默认为NO,当view被点中时被设为YES,用户不要直接设置这个属性. 81 | @property (nonatomic, getter=isSelected) BOOL selected; 82 | 83 | /** 84 | *设定view的选中状态 85 | *该方法被BMKMapView调用 86 | *@param selected 如果view需要显示为选中状态,该值为YES 87 | *@param animated 如果需要动画效果,该值为YES,暂不支持 88 | */ 89 | - (void)setSelected:(BOOL)selected animated:(BOOL)animated; 90 | 91 | ///当为YES时,view被选中时会弹出气泡,annotation必须实现了title这个方法 92 | @property (nonatomic) BOOL canShowCallout; 93 | 94 | ///显示在气泡左侧的view(使用默认气泡时,view的width最大值为32,height最大值为41,大于则使用最大值) 95 | @property (strong, nonatomic) UIView *leftCalloutAccessoryView; 96 | 97 | ///显示在气泡右侧的view(使用默认气泡时,view的width最大值为32,height最大值为41,大于则使用最大值) 98 | @property (strong, nonatomic) UIView *rightCalloutAccessoryView; 99 | 100 | ///当设为YES并实现了setCoordinate:方法时,支持将view在地图上拖动, ios 3.2以后支持 101 | @property (nonatomic, getter=isDraggable) BOOL draggable __OSX_AVAILABLE_STARTING(__MAC_NA,__IPHONE_3_2); 102 | 103 | ///当前view的拖动状态, ios 3.2以后支持 104 | @property (nonatomic) BMKAnnotationViewDragState dragState __OSX_AVAILABLE_STARTING(__MAC_NA,__IPHONE_3_2); 105 | 106 | 107 | @end 108 | 109 | 110 | 111 | -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKArcline.h: -------------------------------------------------------------------------------- 1 | /* 2 | * BMKArcline.h 3 | * BMapKit 4 | * 5 | * Copyright 2011 Baidu Inc. All rights reserved. 6 | * 7 | */ 8 | 9 | #import "BMKMultiPoint.h" 10 | #import "BMKOverlay.h" 11 | 12 | /// 此类用于定义一段圆弧 13 | @interface BMKArcline : BMKMultiPoint 14 | { 15 | BMKMapRect _boundingMapRect; 16 | bool isYouArc; 17 | } 18 | 19 | /** 20 | *根据指定坐标点生成一段圆弧 21 | *@param points 指定的直角坐标点数组(需传入3个点) 22 | *@return 新生成的圆弧对象 23 | */ 24 | + (BMKArcline *)arclineWithPoints:(BMKMapPoint *)points; 25 | 26 | /** 27 | *根据指定经纬度生成一段圆弧 28 | *@param coords 指定的经纬度坐标点数组(需传入3个点) 29 | *@return 新生成的圆弧对象 30 | */ 31 | + (BMKArcline *)arclineWithCoordinates:(CLLocationCoordinate2D *)coords; 32 | 33 | /** 34 | *重新设置圆弧坐标 35 | *@param points 指定的直角坐标点数组(需传入3个点) 36 | *@return 是否设置成功 37 | */ 38 | - (BOOL)setArclineWithPoints:(BMKMapPoint *)points; 39 | 40 | /** 41 | *重新设置圆弧坐标 42 | *@param coords 指定的经纬度坐标点数组(需传入3个点) 43 | *@param count 坐标点的个数 44 | *@return 是否设置成功 45 | */ 46 | - (BOOL)setArclineWithCoordinates:(CLLocationCoordinate2D *)coords; 47 | 48 | @end 49 | -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKArclineView.h: -------------------------------------------------------------------------------- 1 | /* 2 | * BMKArclineView.h 3 | * BMapKit 4 | * 5 | * Copyright 2011 Baidu Inc. All rights reserved. 6 | * 7 | */ 8 | 9 | #import 10 | 11 | #import "BMKArcline.h" 12 | #import "BMKOverlayGLBasicView.h" 13 | 14 | /// 此类用于定义一个圆弧View 15 | @interface BMKArclineView : BMKOverlayGLBasicView 16 | 17 | /** 18 | *根据指定的弧线生成一个圆弧View 19 | *@param arcline 指定的弧线数据对象 20 | *@return 新生成的弧线View 21 | */ 22 | - (id)initWithArcline:(BMKArcline *)arcline; 23 | 24 | /// 该View对应的圆弧数据对象 25 | @property (nonatomic, readonly) BMKArcline *arcline; 26 | 27 | @end 28 | -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKBaseComponent.h: -------------------------------------------------------------------------------- 1 | // 2 | // BaseComponent.h 3 | // BaseComponent 4 | // 5 | // Created by baidu on 14-3-17. 6 | // Copyright (c) 2014年 baidu. All rights reserved. 7 | // 8 | 9 | #import "BMKGeneralDelegate.h" 10 | #import "BMKMapManager.h" 11 | #import "BMKTypes.h" 12 | #import "BMKUserLocation.h" 13 | #import "BMKVersion.h" 14 | -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKBusLineSearch.h: -------------------------------------------------------------------------------- 1 | /* 2 | * BMKBusLineSearch.h 3 | * BMapKit 4 | * 5 | * Copyright 2014 Baidu Inc. All rights reserved. 6 | * 7 | */ 8 | 9 | #import 10 | #import "BMKPoiSearchType.h" 11 | #import "BMKTypes.h" 12 | #import "BMKBusLineSearchOption.h" 13 | #import "BMKRouteSearchType.h" 14 | 15 | @protocol BMKBusLineSearchDelegate; 16 | ///busline搜索服务 17 | @interface BMKBusLineSearch : NSObject 18 | /// 检索模块的Delegate,此处记得不用的时候需要置nil,否则影响内存的释放 19 | @property (nonatomic, weak) id delegate; 20 | 21 | /** 22 | *公交详情检索 23 | *异步函数,返回结果在BMKBusLineSearchDelegate的onGetBusDetailResult通知 24 | *@param busLineSearchOption 公交线路检索信息类 25 | *@return 成功返回YES,否则返回NO 26 | */ 27 | - (BOOL)busLineSearch:(BMKBusLineSearchOption*)busLineSearchOption; 28 | 29 | 30 | @end 31 | 32 | ///搜索delegate,用于获取搜索结果 33 | @protocol BMKBusLineSearchDelegate 34 | @optional 35 | /** 36 | *返回busdetail搜索结果 37 | *@param searcher 搜索对象 38 | *@param busLineResult 搜索结果 39 | *@param error 错误号,@see BMKSearchErrorCode 40 | */ 41 | - (void)onGetBusDetailResult:(BMKBusLineSearch*)searcher result:(BMKBusLineResult*)busLineResult errorCode:(BMKSearchErrorCode)error; 42 | 43 | @end 44 | 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKBusLineSearchOption.h: -------------------------------------------------------------------------------- 1 | /* 2 | * BMKBusLineSearchOption.h 3 | * BMapKit 4 | * 5 | * Copyright 2014 Baidu Inc. All rights reserved. 6 | * 7 | */ 8 | 9 | #import 10 | /// 公交线路检索信息类 11 | @interface BMKBusLineSearchOption : NSObject 12 | { 13 | NSString *_city; 14 | NSString *_busLineUid; 15 | } 16 | ///城市名 17 | @property (nonatomic, strong) NSString *city; 18 | ///公交线路的uid 19 | @property (nonatomic, strong) NSString *busLineUid; 20 | 21 | @end 22 | 23 | -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKCircle.h: -------------------------------------------------------------------------------- 1 | /* 2 | * BMKCircle.h 3 | * BMapKit 4 | * 5 | * Copyright 2011 Baidu Inc. All rights reserved. 6 | * 7 | */ 8 | 9 | #import "BMKShape.h" 10 | #import "BMKMultiPoint.h" 11 | #import "BMKOverlay.h" 12 | 13 | /// 该类用于定义一个圆 14 | @interface BMKCircle : BMKMultiPoint { 15 | @package 16 | BOOL _invalidate; 17 | CLLocationCoordinate2D _coordinate; 18 | CLLocationDistance _radius; 19 | BMKMapRect _boundingMapRect; 20 | } 21 | 22 | /** 23 | *根据中心点和半径生成圆 24 | *@param coord 中心点的经纬度坐标 25 | *@param radius 半径,单位:米 26 | *@return 新生成的圆 27 | */ 28 | + (BMKCircle *)circleWithCenterCoordinate:(CLLocationCoordinate2D)coord 29 | radius:(CLLocationDistance)radius; 30 | 31 | /** 32 | *根据指定的直角坐标矩形生成圆,半径由较长的那条边决定,radius = MAX(width, height)/2 33 | *@param mapRect 指定的直角坐标矩形 34 | *@return 新生成的圆 35 | */ 36 | + (BMKCircle *)circleWithMapRect:(BMKMapRect)mapRect; 37 | 38 | /// 中心点坐标 39 | @property (nonatomic, assign) CLLocationCoordinate2D coordinate; 40 | 41 | /// 半径,单位:米 42 | @property (nonatomic, assign) CLLocationDistance radius; 43 | 44 | /// 该圆的外接矩形 45 | @property (nonatomic, readonly) BMKMapRect boundingMapRect; 46 | 47 | /** 48 | *设置圆的中心点和半径 49 | *@param coord 中心点的经纬度坐标 50 | *@param radius 半径,单位:米 51 | *@return 是否设置成功 52 | */ 53 | - (BOOL)setCircleWithCenterCoordinate:(CLLocationCoordinate2D)coord radius:(CLLocationDistance)radius; 54 | /** 55 | *根据指定的直角坐标矩形设置圆,半径由较长的那条边决定,radius = MAX(width, height)/2 56 | *@param mapRect 指定的直角坐标矩形 57 | *@return 是否设置成功 58 | */ 59 | - (BOOL)setCircleWithMapRect:(BMKMapRect)mapRect; 60 | 61 | @end 62 | -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKCircleView.h: -------------------------------------------------------------------------------- 1 | /* 2 | * BMKCircleView.h 3 | * BMapKit 4 | * 5 | * Copyright 2011 Baidu Inc. All rights reserved. 6 | * 7 | */ 8 | 9 | #import 10 | 11 | #import "BMKCircle.h" 12 | #import "BMKOverlayGLBasicView.h" 13 | 14 | /// 该类用于定义圆对应的View 15 | @interface BMKCircleView : BMKOverlayGLBasicView 16 | 17 | /** 18 | *根据指定圆生成对应的View 19 | *@param circle 指定的圆 20 | *@return 生成的View 21 | */ 22 | - (id)initWithCircle:(BMKCircle *)circle; 23 | 24 | /// 该View对应的圆 25 | @property (nonatomic, readonly) BMKCircle *circle; 26 | 27 | @end 28 | -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKCloudPOIList.h: -------------------------------------------------------------------------------- 1 | /* 2 | * BMKCloudPOIList.h 3 | * BMapKit 4 | * 5 | * Copyright 2013 Baidu Inc. All rights reserved. 6 | * 7 | */ 8 | #import 9 | /// 云检索结果列表类 10 | @interface BMKCloudPOIList : NSObject { 11 | NSInteger _status; 12 | NSInteger _total; 13 | NSInteger _size; 14 | NSInteger _pageNum; 15 | NSArray *_POIs; 16 | 17 | } 18 | ///搜索状态 19 | @property (nonatomic, assign) NSInteger status; 20 | ///结果总数 21 | @property (nonatomic, assign) NSInteger total; 22 | ///当前页返回数量 23 | @property (nonatomic, assign) NSInteger size; 24 | ///页数 25 | @property (nonatomic, assign) NSInteger pageNum; 26 | ///POI结果列表 27 | @property (nonatomic, strong) NSArray *POIs; 28 | 29 | @end 30 | 31 | 32 | /// 云检索结果信息类 33 | @interface BMKCloudPOIInfo : NSObject { 34 | int _uid; 35 | int _geotableId; 36 | NSString *_title; 37 | NSString *_address; 38 | NSString *_province; 39 | NSString *_city; 40 | NSString *_district; 41 | float _latitude; 42 | float _longitude; 43 | NSString *_tags; 44 | float _distance; 45 | float _weight; 46 | NSMutableDictionary *_customDict; 47 | int _creattime; 48 | int _modifytime; 49 | int _type; 50 | 51 | 52 | } 53 | ///poi数据id 54 | @property (nonatomic, assign) int uid; 55 | ///所属table的id 56 | @property (nonatomic, assign) int geotableId; 57 | ///poi名称 58 | @property (nonatomic, strong) NSString *title; 59 | ///poi地址 60 | @property (nonatomic, strong) NSString *address; 61 | ///poi所属省 62 | @property (nonatomic, strong) NSString *province; 63 | ///poi所属城市 64 | @property (nonatomic, strong) NSString *city; 65 | ///poi所属区县 66 | @property (nonatomic, strong) NSString *district; 67 | ///poi所处位置的纬度 68 | @property (nonatomic, assign) float latitude; 69 | ///poi所处位置的经度 70 | @property (nonatomic, assign) float longitude; 71 | ///poi标签 72 | @property (nonatomic, strong) NSString *tags; 73 | ///poi距离 74 | @property (nonatomic, assign) float distance; 75 | ///权重 76 | @property (nonatomic, assign) float weight; 77 | ///自定义列 78 | @property (nonatomic, strong) NSMutableDictionary *customDict; 79 | ///创建时间 80 | @property (nonatomic, assign) int creattime; 81 | ///修改时间 82 | @property (nonatomic, assign) int modifytime; 83 | ///类型 84 | @property (nonatomic, assign) int type; 85 | 86 | @end 87 | 88 | -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKCloudSearch.h: -------------------------------------------------------------------------------- 1 | /* 2 | * BMKCloudSearch.h 3 | * BMapKit 4 | * 5 | * Copyright 2013 Baidu Inc. All rights reserved. 6 | * 7 | */ 8 | 9 | #import 10 | #import "BMKCloudSearchInfo.h" 11 | #import "BMKCloudPOIList.h" 12 | 13 | @protocol BMKCloudSearchDelegate; 14 | /// 云检索类型 15 | enum BMKCloudSearchType 16 | { 17 | BMK_NONE_SEARCH = 0, 18 | BMK_CLOUD_LOCAL_SEARCH = 1,///<本地云检索 19 | BMK_CLOUD_NEARBY_SEARCH = 2,///<周边云检索 20 | BMK_CLOUD_BOUND_SEARCH = 3,///<区域云检索 21 | BMK_CLOUD_DETAIL_SEARCH = 4/// delegate; 40 | /** 41 | *本地云检索 42 | *异步函数,返回结果在BMKCloudSearchDelegate的onGetCloudPoiResult通知 43 | *@param searchInfo 搜索参数 44 | *@return 成功返回YES,否则返回NO 45 | */ 46 | - (BOOL)localSearchWithSearchInfo:(BMKCloudLocalSearchInfo *)searchInfo; 47 | /** 48 | *周边云检索 49 | *异步函数,返回结果在BMKCloudSearchDelegate的onGetCloudPoiResult通知 50 | *@param searchInfo 搜索参数 51 | *@return 成功返回YES,否则返回NO 52 | */ 53 | - (BOOL)nearbySearchWithSearchInfo:(BMKCloudNearbySearchInfo *)searchInfo; 54 | /** 55 | *矩形云检索 56 | *异步函数,返回结果在BMKCloudSearchDelegate的onGetCloudPoiResult通知 57 | *@param searchInfo 搜索参数 58 | *@return 成功返回YES,否则返回NO 59 | */ 60 | - (BOOL)boundSearchWithSearchInfo:(BMKCloudBoundSearchInfo *)searchInfo; 61 | 62 | /** 63 | *详情云检索 64 | *异步函数,返回结果在BMKCloudSearchDelegate的onGetCloudPoiDetailResult通知 65 | *@param searchInfo 搜索参数 66 | *@return 成功返回YES,否则返回NO 67 | */ 68 | - (BOOL)detailSearchWithSearchInfo:(BMKCloudDetailSearchInfo *)searchInfo; 69 | 70 | @end 71 | 72 | ///云检索delegate,用于获取云检索结果 73 | @protocol BMKCloudSearchDelegate 74 | @optional 75 | /** 76 | *返回云检索POI列表结果 77 | *@param poiResultList 云检索结果列表,成员类型为BMKCloudPOIList 78 | *@param type 返回结果类型: BMK_CLOUD_LOCAL_SEARCH,BMK_CLOUD_NEARBY_SEARCH,BMK_CLOUD_BOUND_SEARCH 79 | *@param error 错误号,@see BMKCloudErrorCode 80 | */ 81 | - (void)onGetCloudPoiResult:(NSArray*)poiResultList searchType:(int)type errorCode:(int)error; 82 | 83 | /** 84 | *返回云检索POI详情 85 | *@param poiDetailResult 类型为BMKCloudPOIInfo 86 | *@param type 返回结果类型: BMK_CLOUD_DETAIL_SEARCH 87 | *@param error 错误号,@see BMKCloudErrorCode 88 | */ 89 | - (void)onGetCloudPoiDetailResult:(BMKCloudPOIInfo*)poiDetailResult searchType:(int)type errorCode:(int)error; 90 | @end 91 | 92 | 93 | 94 | 95 | -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKCloudSearchComponent.h: -------------------------------------------------------------------------------- 1 | // 2 | // LBSSearchComponent.h 3 | // LBSSearchComponent 4 | // 5 | // Created by baidu on 14-3-10. 6 | // Copyright (c) 2014年 baidu. All rights reserved. 7 | // 8 | 9 | 10 | #import "BMKCloudPOIList.h" 11 | #import "BMKCloudSearch.h" 12 | #import "BMKCloudSearchInfo.h" 13 | 14 | -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKCloudSearchInfo.h: -------------------------------------------------------------------------------- 1 | /* 2 | * BMKCloudSearchInfo.h 3 | * BMapKit 4 | * 5 | * Copyright 2013 Baidu Inc. All rights reserved. 6 | * 7 | */ 8 | #import 9 | /// 云检索基础信息类,所有类型云检索的基类 10 | @interface BMKBaseCloudSearchInfo : NSObject 11 | { 12 | NSString *_ak; 13 | NSString *_sn; 14 | int _geoTableId; 15 | } 16 | ///access_key(必须),最大长度50 17 | @property (nonatomic, strong) NSString *ak; 18 | ///用户的权限签名,(可选),最大长度50 19 | @property (nonatomic, strong) NSString *sn; 20 | ///geo table 表主键(必须) 21 | @property (nonatomic, assign) int geoTableId; 22 | 23 | @end 24 | 25 | /// 本地,周边,矩形云检索基础信息类 26 | @interface BMKCloudSearchInfo : BMKBaseCloudSearchInfo { 27 | NSString *_keyword; 28 | NSString *_tags; 29 | NSString *_sortby; 30 | NSString *_filter; 31 | NSInteger _pageIndex; 32 | NSInteger _pageSize; 33 | 34 | } 35 | ///检索关键字,必选。最长45个字符 36 | @property (nonatomic, strong) NSString *keyword; 37 | ///标签,可选,空格分隔的多字符串,最长45个字符,样例:美食 小吃 38 | @property (nonatomic, strong) NSString *tags; 39 | /** 40 | * 排序字段,可选: sortby={keyname}:1 升序;sortby={keyname}:-1 降序。 41 | * 以下keyname为系统预定义的: 42 | * 1.distance 距离排序 43 | * 2.weight 权重排序 44 | * 默认为按weight排序 45 | * 如果需要自定义排序则指定排序字段 46 | * 样例:按照价格由便宜到贵排序sortby=price:1 47 | */ 48 | ///排序字段,可选: sortby={keyname}:1 升序;sortby={keyname}:-1 降序 49 | @property (nonatomic, strong) NSString *sortby; 50 | /** 51 | * 过滤条件,可选 52 | * '|'竖线分隔的多个key-value对 53 | * key为筛选字段的名称(存储服务中定义) 54 | * value可以是整形或者浮点数的一个区间:格式为“small,big”逗号分隔的2个数字 55 | * 样例:筛选价格为9.99到19.99并且生产时间为2013年的项:price:9.99,19.99|time:2012,2012 56 | */ 57 | ///过滤条件,可选:'|'竖线分隔的多个key-value对,price:9.99,19.99|time:2012,2012 58 | @property (nonatomic, strong) NSString *filter; 59 | 60 | ///分页索引,可选,默认为0 61 | @property (nonatomic, assign) NSInteger pageIndex; 62 | ///分页数量,可选,默认为10,最多为50 63 | @property (nonatomic, assign) NSInteger pageSize; 64 | 65 | 66 | @end 67 | ///本地云检索参数信息类 68 | @interface BMKCloudLocalSearchInfo : BMKCloudSearchInfo { 69 | NSString *_region; 70 | } 71 | ///区域名称(市或区的名字,如北京市,海淀区),必选, 必须最长25个字符 72 | @property (nonatomic, strong) NSString *region; 73 | @end 74 | 75 | ///周边云检索参数信息类 76 | @interface BMKCloudNearbySearchInfo : BMKCloudSearchInfo { 77 | NSString *_location; 78 | int _radius; 79 | } 80 | ///检索的中心点,逗号分隔的经纬度(116.4321,38.76623),string(25) 81 | @property (nonatomic, strong) NSString *location; 82 | ///周边检索半径 83 | @property (nonatomic, assign) int radius; 84 | @end 85 | 86 | ///矩形云检索参数信息类 87 | @interface BMKCloudBoundSearchInfo : BMKCloudSearchInfo { 88 | NSString *_bounds; 89 | } 90 | ///矩形区域,左下角和右上角的经纬度坐标点。2个点用;号分隔(116.30,36.20;117.30,37.20),string(25) 91 | @property (nonatomic, strong) NSString *bounds; 92 | @end 93 | 94 | ///详情云检索参数信息类 95 | @interface BMKCloudDetailSearchInfo : BMKBaseCloudSearchInfo { 96 | NSString *_uid; 97 | } 98 | ///uid为poi点的id值 99 | @property (nonatomic, strong) NSString *uid; 100 | @end 101 | 102 | -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKFavPoiInfo.h: -------------------------------------------------------------------------------- 1 | // 2 | // BMKFavPoiInfo.h 3 | // UtilsComponent 4 | // 5 | // Created by wzy on 15/4/8. 6 | // Copyright (c) 2015年 baidu. All rights reserved. 7 | // 8 | 9 | #ifndef UtilsComponent_BMKFavPoiInfo_h 10 | #define UtilsComponent_BMKFavPoiInfo_h 11 | 12 | #import 13 | #import 14 | 15 | ///收藏点信息类 16 | @interface BMKFavPoiInfo : NSObject 17 | 18 | ///数据ID,自动生成 19 | @property (nonatomic, strong) NSString* favId; 20 | ///poi名称(添加或更新时,必须有) 21 | @property (nonatomic, strong) NSString* poiName; 22 | ///poi点Uid 23 | @property (nonatomic, strong) NSString* poiUid; 24 | ///poi坐标(添加或更新时,必须有) 25 | @property (nonatomic, assign) CLLocationCoordinate2D pt; 26 | ///poi地址 27 | @property (nonatomic, strong) NSString* address; 28 | ///城市名称 29 | @property (nonatomic, strong) NSString* cityName; 30 | ///添加或最后修改时间戳 31 | @property (nonatomic, assign) NSUInteger timeStamp; 32 | 33 | 34 | @end 35 | 36 | #endif 37 | -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKFavPoiManager.h: -------------------------------------------------------------------------------- 1 | // 2 | // BMKFavPoiManager.h 3 | // UtilsComponent 4 | // 5 | // Created by wzy on 15/4/9. 6 | // Copyright (c) 2015年 baidu. All rights reserved. 7 | // 8 | 9 | #ifndef UtilsComponent_BMKFavPoiManager_h 10 | #define UtilsComponent_BMKFavPoiManager_h 11 | 12 | #import "BMKFavPoiInfo.h" 13 | 14 | ///收藏点管理类 15 | @interface BMKFavPoiManager : NSObject 16 | 17 | /** 18 | * 添加一个poi点 19 | * @param favPoiInfo 点信息,in/out,输出包含favId和添加时间 20 | * @return -2:收藏夹已满,-1:名称为空,0:添加失败,1:添加成功 21 | */ 22 | - (NSInteger)addFavPoi:(BMKFavPoiInfo*) favPoiInfo; 23 | 24 | /** 25 | * 获取一个收藏点信息 26 | * @param favId 添加时返回的favId,也可通过getAllFavPois获取的信息中BMKFavPoiInfo的属性favId 27 | * @return 收藏点信息,没有返回nil 28 | */ 29 | - (BMKFavPoiInfo*)getFavPoi:(NSString*) favId; 30 | 31 | /** 32 | * 获取所有收藏点信息 33 | * @return 点信息数组 34 | */ 35 | - (NSArray*)getAllFavPois; 36 | 37 | /** 38 | * 更新一个收藏点 39 | * @param favId 添加时返回的favId,也可通过getAllFavPois获取的信息中BMKFavPoiInfo的属性favId 40 | * @param favPoiInfo 点信息,in/out,输出包含修改时间 41 | * @return 成功返回YES,失败返回NO 42 | */ 43 | - (BOOL)updateFavPoi:(NSString*) favId favPoiInfo:(BMKFavPoiInfo*) favPoiInfo; 44 | 45 | /** 46 | * 删除一个收藏点 47 | * @param favId 添加时返回的favId,也可通过getAllFavPois获取的信息中BMKFavPoiInfo的属性favId 48 | * @return 成功返回YES,失败返回NO 49 | */ 50 | - (BOOL)deleteFavPoi:(NSString*) favId; 51 | 52 | /** 53 | * 清空所有收藏点 54 | * @return 成功返回YES,失败返回NO 55 | */ 56 | - (BOOL)clearAllFavPois; 57 | 58 | @end 59 | 60 | #endif 61 | -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKGeneralDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // BMKGeneralDelegate.h 3 | // BMapKit 4 | // 5 | // Copyright 2011 Baidu Inc. All rights reserved. 6 | // 7 | 8 | #import 9 | 10 | ///通知Delegate 11 | @protocol BMKGeneralDelegate 12 | @optional 13 | /** 14 | *返回网络错误 15 | *@param iError 错误号 16 | */ 17 | - (void)onGetNetworkState:(int)iError; 18 | 19 | /** 20 | *返回授权验证错误 21 | *@param iError 错误号 : 为0时验证通过,具体参加BMKPermissionCheckResultCode 22 | */ 23 | - (void)onGetPermissionState:(int)iError; 24 | @end 25 | -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKGeocodeSearch.h: -------------------------------------------------------------------------------- 1 | /* 2 | * BMKGeocodeSearch.h 3 | * BMapKit 4 | * 5 | * Copyright 2011 Baidu Inc. All rights reserved. 6 | * 7 | */ 8 | 9 | #import "BMKPoiSearchType.h" 10 | #import "BMKGeocodeSearchOption.h" 11 | #import "BMKGeocodeType.h" 12 | 13 | @protocol BMKGeoCodeSearchDelegate; 14 | ///geo搜索服务 15 | @interface BMKGeoCodeSearch : NSObject 16 | /// 检索模块的Delegate,此处记得不用的时候需要置nil,否则影响内存的释放 17 | @property (nonatomic, weak) id delegate; 18 | 19 | /** 20 | *根据地址名称获取地理信息 21 | *异步函数,返回结果在BMKGeoCodeSearchDelegate的onGetAddrResult通知 22 | *@param geoCodeOption geo检索信息类 23 | *@return 成功返回YES,否则返回NO 24 | */ 25 | - (BOOL)geoCode:(BMKGeoCodeSearchOption*)geoCodeOption; 26 | /** 27 | *根据地理坐标获取地址信息 28 | *异步函数,返回结果在BMKGeoCodeSearchDelegate的onGetAddrResult通知 29 | *@param reverseGeoCodeOption 反geo检索信息类 30 | *@return 成功返回YES,否则返回NO 31 | */ 32 | - (BOOL)reverseGeoCode:(BMKReverseGeoCodeOption*)reverseGeoCodeOption; 33 | 34 | 35 | @end 36 | 37 | ///搜索delegate,用于获取搜索结果 38 | @protocol BMKGeoCodeSearchDelegate 39 | @optional 40 | /** 41 | *返回地址信息搜索结果 42 | *@param searcher 搜索对象 43 | *@param result 搜索结BMKGeoCodeSearch果 44 | *@param error 错误号,@see BMKSearchErrorCode 45 | */ 46 | - (void)onGetGeoCodeResult:(BMKGeoCodeSearch *)searcher result:(BMKGeoCodeResult *)result errorCode:(BMKSearchErrorCode)error; 47 | 48 | /** 49 | *返回反地理编码搜索结果 50 | *@param searcher 搜索对象 51 | *@param result 搜索结果 52 | *@param error 错误号,@see BMKSearchErrorCode 53 | */ 54 | - (void)onGetReverseGeoCodeResult:(BMKGeoCodeSearch *)searcher result:(BMKReverseGeoCodeResult *)result errorCode:(BMKSearchErrorCode)error; 55 | 56 | @end 57 | 58 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKGeocodeSearchOption.h: -------------------------------------------------------------------------------- 1 | /* 2 | * BMKGeoCodeSearchOption.h 3 | * BMapKit 4 | * 5 | * Copyright 2013 Baidu Inc. All rights reserved. 6 | * 7 | */ 8 | 9 | #import "BMKTypes.h" 10 | /// geo检索信息类 11 | @interface BMKGeoCodeSearchOption : NSObject 12 | { 13 | NSString *_address; 14 | NSString *_city; 15 | } 16 | ///地址 17 | @property (nonatomic, strong) NSString *address; 18 | ///城市名 19 | @property (nonatomic, strong) NSString *city; 20 | @end 21 | 22 | ///反geo检索信息类 23 | @interface BMKReverseGeoCodeOption : NSObject { 24 | CLLocationCoordinate2D _reverseGeoPoint; 25 | } 26 | ///经纬度 27 | @property (nonatomic, assign) CLLocationCoordinate2D reverseGeoPoint; 28 | @end 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKGeocodeType.h: -------------------------------------------------------------------------------- 1 | /* 2 | * BMKGeocodeType.h 3 | * BMapKit 4 | * 5 | * Copyright 2011 Baidu Inc. All rights reserved. 6 | * 7 | */ 8 | 9 | #import 10 | #import 11 | 12 | 13 | ///此类表示地址结果的层次化信息 14 | @interface BMKAddressComponent : NSObject 15 | { 16 | NSString* _streetNumber; 17 | NSString* _streetName; 18 | NSString* _district; 19 | NSString* _city; 20 | NSString* _province; 21 | } 22 | 23 | /// 街道号码 24 | @property (nonatomic, strong) NSString* streetNumber; 25 | /// 街道名称 26 | @property (nonatomic, strong) NSString* streetName; 27 | /// 区县名称 28 | @property (nonatomic, strong) NSString* district; 29 | /// 城市名称 30 | @property (nonatomic, strong) NSString* city; 31 | /// 省份名称 32 | @property (nonatomic, strong) NSString* province; 33 | 34 | @end 35 | 36 | 37 | 38 | ///反地址编码结果 39 | @interface BMKReverseGeoCodeResult : NSObject 40 | { 41 | BMKAddressComponent* _addressDetail; 42 | NSString* _address; 43 | CLLocationCoordinate2D _location; 44 | NSArray* _poiList; 45 | } 46 | ///层次化地址信息 47 | @property (nonatomic, strong) BMKAddressComponent* addressDetail; 48 | ///地址名称 49 | @property (nonatomic, strong) NSString* address; 50 | ///地址坐标 51 | @property (nonatomic) CLLocationCoordinate2D location; 52 | ///地址周边POI信息,成员类型为BMKPoiInfo 53 | @property (nonatomic, strong) NSArray* poiList; 54 | 55 | @end 56 | 57 | ///地址编码结果 58 | @interface BMKGeoCodeResult : NSObject 59 | { 60 | CLLocationCoordinate2D _location; 61 | NSString* _address; 62 | } 63 | ///地理编码位置 64 | @property (nonatomic) CLLocationCoordinate2D location; 65 | ///地理编码地址 66 | @property (nonatomic,strong) NSString* address; 67 | 68 | @end 69 | 70 | 71 | 72 | -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKGradient.h: -------------------------------------------------------------------------------- 1 | /* 2 | * BMKGradient.h 3 | * BMapKit 4 | * 5 | * Copyright 2013 Baidu Inc. All rights reserved. 6 | * 7 | */ 8 | #import 9 | #import 10 | #import "BMKTypes.h" 11 | ///此类表示热力图渐变色 12 | @interface BMKGradient : NSObject{ 13 | 14 | } 15 | ///渐变色用到的所有颜色数组,数组成员类型为UIColor 16 | @property (nonatomic,strong) NSArray* mColors; 17 | ///每一个颜色的起始点数组,,数组成员类型为 [0,1]的double值, given as a percentage of the maximum intensity,个数和mColors的个数必须相同,数组内元素必须时递增的 18 | @property (nonatomic,strong) NSArray* mStartPoints; 19 | 20 | //渐变色的初始化方法,使用默认colorMapSize1000进行初始化 21 | - (id)initWithColors:(NSArray*)colors startPoints:(NSArray*)startPoints; 22 | @end 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKGroundOverlay.h: -------------------------------------------------------------------------------- 1 | /* 2 | * BMKGroundOverlay.h 3 | * BMapKit 4 | * 5 | * Copyright 2011 Baidu Inc. All rights reserved. 6 | * 7 | */ 8 | #import "BMKMultiPoint.h" 9 | #import "BMKOverlay.h" 10 | /// 该类用于定义一个图片图层 11 | @interface BMKGroundOverlay : BMKMultiPoint 12 | { 13 | @public 14 | float zoomLevel; 15 | CLLocationCoordinate2D _pt; 16 | BMKCoordinateBounds _bound; 17 | CGPoint _anchor; 18 | UIImage* _icon; 19 | int iconID; 20 | BOOL isCenterPt; 21 | int left; 22 | int bottom; 23 | int width; 24 | int height; 25 | } 26 | /// 两种绘制GroundOverlay的方式之一:绘制的位置地理坐标,与anchor配对使用 27 | @property (nonatomic,assign) CLLocationCoordinate2D pt; 28 | 29 | /// 用位置绘制时图片的锚点,图片左上角为(0.0f,0.0f),向右向下为正 30 | /// 使用groundOverlayWithPosition初始化时生效 31 | @property (nonatomic,assign) CGPoint anchor; 32 | 33 | /// 两种绘制GroundOverlay的方式之二:绘制的地理区域范围,图片在此区域内合理缩放 34 | @property (nonatomic,assign) BMKCoordinateBounds bound; 35 | 36 | /// 绘制图片 37 | @property(nonatomic, strong) UIImage *icon; 38 | 39 | ///图片纹理透明度,最终透明度 = 纹理透明度 * alpha,取值范围为[0.0f, 1.0f],默认为1.0f 40 | @property(nonatomic) GLfloat alpha; 41 | 42 | /** 43 | *根据指定经纬度坐标生成一个groundOverlay 44 | *@param position 指定的经纬度坐标 45 | *@param zoomLevel 不损失精度绘制原始图片的地图等级 46 | *@param anchor 绘制图片的锚点 47 | *@param icon 绘制使用的图片 48 | *@return 新生成的groundOverlay对象 49 | */ 50 | + (BMKGroundOverlay *)groundOverlayWithPosition:(CLLocationCoordinate2D)position 51 | zoomLevel:(CGFloat)zoomLevel 52 | anchor:(CGPoint)anchor 53 | icon:(UIImage*)icon; 54 | 55 | /** 56 | *根据指定区域生成一个groundOverlay 57 | *@param bounds 指定的经纬度区域 58 | *@param icon 绘制使用的图片 59 | *@return 新生成的groundOverlay对象 60 | */ 61 | + (BMKGroundOverlay *)groundOverlayWithBounds:(BMKCoordinateBounds)bounds 62 | icon:(UIImage*)icon; 63 | 64 | 65 | @end -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKGroundOverlayView.h: -------------------------------------------------------------------------------- 1 | /* 2 | * BMKGroundOverlayView.h 3 | * BMapKit 4 | * 5 | * Copyright 2013 Baidu Inc. All rights reserved. 6 | * 7 | */ 8 | 9 | #import 10 | 11 | #import "BMKGroundOverlay.h" 12 | #import "BMKOverlayPathView.h" 13 | 14 | /// 该类用于定义一个BMKGroundOverlayView 15 | @interface BMKGroundOverlayView : BMKOverlayView 16 | 17 | /** 18 | *根据指定的groundOverlay生成一个View 19 | *@param groundOverlay 指定的groundOverlay数据对象 20 | *@return 新生成的View 21 | */ 22 | - (id)initWithGroundOverlay:(BMKGroundOverlay *)groundOverlay; 23 | 24 | /// 该View对应的ground数据对象 25 | @property (nonatomic, readonly) BMKGroundOverlay *groundOverlay; 26 | 27 | @end 28 | 29 | -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKHeatMap.h: -------------------------------------------------------------------------------- 1 | /* 2 | * BMKHeatMap.h 3 | * BMapKit 4 | * 5 | * Copyright 2013 Baidu Inc. All rights reserved. 6 | * 7 | */ 8 | #import 9 | #import 10 | #import "BMKTypes.h" 11 | #import "BMKGradient.h" 12 | ///热力图节点信息 13 | @interface BMKHeatMapNode : NSObject{ 14 | double _intensity; 15 | CLLocationCoordinate2D _pt; 16 | } 17 | 18 | ///点的强度权值 19 | @property (nonatomic) double intensity; 20 | ///点的位置坐标 21 | @property (nonatomic) CLLocationCoordinate2D pt; 22 | 23 | @end 24 | 25 | 26 | 27 | ///热力图的绘制数据和显示样式类 28 | @interface BMKHeatMap : NSObject 29 | { 30 | int _mRadius; //Heatmap point radius 31 | BMKGradient* _mGradient;//Gradient of the color map 32 | double _mOpacity;//Opacity of the overall heatmap overlay [0...1] 33 | NSMutableArray* _mData; 34 | 35 | } 36 | ///设置热力图点半径,默认为12ps 37 | @property (nonatomic, assign) int mRadius; 38 | ///设置热力图渐变,有默认值 DEFAULT_GRADIENT 39 | @property (nonatomic, strong) BMKGradient* mGradient; 40 | ///设置热力图层透明度,默认 0.6 41 | @property (nonatomic, assign) double mOpacity; 42 | ///用户传入的热力图数据,数组,成员类型为BMKHeatMapNode 43 | @property (nonatomic, strong) NSMutableArray* mData; 44 | 45 | @end 46 | 47 | 48 | 49 | -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKLocationComponent.h: -------------------------------------------------------------------------------- 1 | // 2 | // BMKLocationComponent.h 3 | // LocationComponent 4 | // 5 | // Created by Baidu on 3/31/14. 6 | // Copyright (c) 2014 baidu. All rights reserved. 7 | // 8 | 9 | #import"BMKLocationService.h" 10 | -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKLocationService.h: -------------------------------------------------------------------------------- 1 | // 2 | // BMKLocationService.h 3 | // LocationComponent 4 | // 5 | // Created by Baidu on 3/28/14. 6 | // Copyright (c) 2014 baidu. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "BMKUserLocation.h" 11 | @class CLLocation; 12 | /// 定位服务Delegate,调用startUserLocationService定位成功后,用此Delegate来获取定位数据 13 | @protocol BMKLocationServiceDelegate 14 | @optional 15 | /** 16 | *在将要启动定位时,会调用此函数 17 | */ 18 | - (void)willStartLocatingUser; 19 | 20 | /** 21 | *在停止定位后,会调用此函数 22 | */ 23 | - (void)didStopLocatingUser; 24 | 25 | /** 26 | *用户方向更新后,会调用此函数 27 | *@param userLocation 新的用户位置 28 | */ 29 | - (void)didUpdateUserHeading:(BMKUserLocation *)userLocation; 30 | 31 | /** 32 | *用户位置更新后,会调用此函数 33 | *@param userLocation 新的用户位置 34 | */ 35 | - (void)didUpdateBMKUserLocation:(BMKUserLocation *)userLocation; 36 | 37 | /** 38 | *定位失败后,会调用此函数 39 | *@param error 错误号 40 | */ 41 | - (void)didFailToLocateUserWithError:(NSError *)error; 42 | @end 43 | 44 | @interface BMKLocationService : NSObject 45 | 46 | /// 当前用户位置,返回坐标为百度坐标 47 | @property (nonatomic, readonly) BMKUserLocation *userLocation; 48 | 49 | /// 定位服务Delegate,调用startUserLocationService定位成功后,用此Delegate来获取定位数据 50 | @property (nonatomic, weak) id delegate; 51 | 52 | /* 53 | *在打开定位服务前设置 54 | *指定定位的最小更新距离(米),默认:kCLDistanceFilterNone 55 | */ 56 | + (void)setLocationDistanceFilter:(CLLocationDistance) distanceFilter; 57 | /* 58 | *获取当前 定位的最小更新距离(米) 59 | */ 60 | + (CLLocationDistance)getCurrentLocationDistanceFilter; 61 | /* 62 | *在打开定位服务前设置 63 | *设置定位精确度,默认:kCLLocationAccuracyBest 64 | */ 65 | + (void)setLocationDesiredAccuracy:(CLLocationAccuracy) desiredAccuracy; 66 | /* 67 | *获取当前 定位精确度 68 | */ 69 | + (CLLocationAccuracy)getCurrentLocationDesiredAccuracy; 70 | 71 | /** 72 | *打开定位服务 73 | *需要在info.plist文件中添加(以下二选一,两个都添加默认使用NSLocationWhenInUseUsageDescription): 74 | *NSLocationWhenInUseUsageDescription 允许在前台使用时获取GPS的描述 75 | *NSLocationAlwaysUsageDescription 允许永远可获取GPS的描述 76 | */ 77 | -(void)startUserLocationService; 78 | /** 79 | *关闭定位服务 80 | */ 81 | -(void)stopUserLocationService; 82 | 83 | @end 84 | -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKLocationViewDisplayParam.h: -------------------------------------------------------------------------------- 1 | /* 2 | * BMKLocationViewDisplayParam.h 3 | * BMapKit 4 | * 5 | * Copyright 2013 Baidu Inc. All rights reserved. 6 | * 7 | */ 8 | #import 9 | #import 10 | 11 | 12 | ///此类表示定位图层自定义样式参数 13 | @interface BMKLocationViewDisplayParam : NSObject 14 | { 15 | float _locationViewOffsetX; // 定位图标偏移量(经度) 16 | float _locationViewOffsetY; // 定位图标偏移量(纬度) 17 | bool _isAccuracyCircleShow;// 精度圈是否显示 18 | bool _isRotateAngleValid; // 跟随态旋转角度是否生效 19 | NSString* _locationViewImgName;// 定位图标名称 20 | 21 | } 22 | ///定位图标偏移量X 23 | @property (nonatomic, assign) float locationViewOffsetX; 24 | ///定位图标偏移量Y 25 | @property (nonatomic, assign) float locationViewOffsetY; 26 | ///精度圈是否显示 27 | @property (nonatomic, assign) bool isAccuracyCircleShow; 28 | ///跟随态旋转角度是否生效 29 | @property (nonatomic, assign) bool isRotateAngleValid; 30 | ///定位图标 31 | @property (nonatomic, strong) NSString* locationViewImgName; 32 | 33 | @end 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKMapComponent.h: -------------------------------------------------------------------------------- 1 | /* 2 | * BMKMapComponent.h 3 | * BMKMapComponent 4 | * 5 | * Copyright 2011 Baidu Inc. All rights reserved. 6 | * 7 | */ 8 | 9 | #import "BMKAnnotation.h" 10 | #import "BMKAnnotationView.h" 11 | 12 | #import "BMKMapView.h" 13 | #import "BMKOfflineMap.h" 14 | #import "BMKOfflineMapType.h" 15 | 16 | #import "BMKOverlay.h" 17 | #import "BMKShape.h" 18 | #import "BMKPointAnnotation.h" 19 | #import "BMKPinAnnotationView.h" 20 | #import "BMKMultiPoint.h" 21 | #import "BMKArcline.h" 22 | #import "BMKPolyline.h" 23 | #import "BMKPolygon.h" 24 | #import "BMKCircle.h" 25 | #import "BMKOverlayView.h" 26 | #import "BMKOverlayPathView.h" 27 | #import "BMKOverlayGLBasicView.h" 28 | #import "BMKPolygonView.h" 29 | #import "BMKPolylineView.h" 30 | #import "BMKCircleView.h" 31 | #import "BMKArclineView.h" 32 | #import "BMKGroundOverlay.h" 33 | #import "BMKGroundOverlayView.h" 34 | #import "BMKGradient.h" 35 | 36 | -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKMapManager.h: -------------------------------------------------------------------------------- 1 | /* 2 | * BMKMapManager.h 3 | * BMapKit 4 | * 5 | * Copyright 2011 Baidu Inc. All rights reserved. 6 | * 7 | */ 8 | 9 | #import "BMKGeneralDelegate.h" 10 | #import 11 | 12 | enum EN_PERMISSION_STATUS 13 | { 14 | E_PERMISSION_OK = 0, // 授权验证通过 15 | E_PERMISSION_SERVER_ERROR = -200, //服务端数据错误,无法解析服务端返回数据 16 | E_PERMISSION_NETWORK_ERROR = -300, //无法建立与服务端的连接 17 | 18 | }; 19 | 20 | ///主引擎类 21 | @interface BMKMapManager : NSObject 22 | 23 | /** 24 | *启动引擎 25 | *@param key 申请的有效key 26 | *@param delegate 27 | */ 28 | -(BOOL)start:(NSString*)key generalDelegate:(id)delegate; 29 | 30 | /** 31 | *获取所有在线服务消耗的发送流量,单位:字节 32 | */ 33 | -(int)getTotalSendFlaxLength; 34 | 35 | /** 36 | *获取所有在线服务消耗的接收流量,单位:字节 37 | */ 38 | -(int)getTotalRecvFlaxLength; 39 | 40 | /** 41 | *停止引擎 42 | */ 43 | -(BOOL)stop; 44 | 45 | 46 | 47 | @end 48 | 49 | 50 | -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKMapStatus.h: -------------------------------------------------------------------------------- 1 | /* 2 | * BMKMapStatus.h 3 | * BMapKit 4 | * 5 | * Copyright 2011 Baidu Inc. All rights reserved. 6 | * 7 | */ 8 | 9 | #import 10 | #import 11 | #import 12 | 13 | 14 | ///此类表示地图状态信息 15 | @interface BMKMapStatus : NSObject 16 | { 17 | float _fLevel; // 缩放比例,3-19级 18 | float _fRotation; // 旋转角度 19 | float _fOverlooking; // 俯视角度 20 | 21 | CGPoint _targetScreenPt;//屏幕坐标(中心点) 22 | CLLocationCoordinate2D _targetGeoPt;//地理坐标(中心点) 23 | } 24 | ///缩放级别:[3~19] 25 | @property (nonatomic, assign) float fLevel; 26 | ///旋转角度 27 | @property (nonatomic, assign) float fRotation; 28 | ///俯视角度:[-45~0] 29 | @property (nonatomic, assign) float fOverlooking; 30 | ///屏幕中心点坐标:在屏幕内,超过无效 31 | @property (nonatomic) CGPoint targetScreenPt; 32 | ///地理中心点坐标:经纬度 33 | @property (nonatomic) CLLocationCoordinate2D targetGeoPt; 34 | 35 | @end 36 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKMultiPoint.h: -------------------------------------------------------------------------------- 1 | /* 2 | * BMKMultiPoint.h 3 | * BMapKit 4 | * 5 | * Copyright 2011 Baidu Inc. All rights reserved. 6 | * 7 | */ 8 | 9 | #import 10 | #import "BMKShape.h" 11 | #import "BMKTypes.h" 12 | 13 | /// 该类定义多个点,是个由多个点组成的虚基类, 不能直接实例化对象, 要使用其子类BMKPolyline,BMKPolygon来实例化 14 | @interface BMKMultiPoint : BMKShape { 15 | @package 16 | BMKMapPoint *_points; 17 | NSUInteger _pointCount; 18 | 19 | BMKMapRect _boundingRect; 20 | } 21 | 22 | /// 坐标点数组 23 | @property (nonatomic, readonly) BMKMapPoint *points; 24 | 25 | /// 坐标点的个数 26 | @property (nonatomic, readonly) NSUInteger pointCount; 27 | 28 | /** 29 | *将内部的直角坐标数据转换为经纬度坐标点数据,并拷贝到指定的数组中 30 | *@param coords 经纬度坐标数组,转换后的坐标将存储到该数组中,该数组长度必须大于等于要拷贝的坐标点的个数(range.length) 31 | *@param range 指定要拷贝的数据段 32 | */ 33 | - (void)getCoordinates:(CLLocationCoordinate2D *)coords range:(NSRange)range; 34 | 35 | @end 36 | -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKNavigation.h: -------------------------------------------------------------------------------- 1 | /* 2 | * BMKNavigation.h 3 | * BMapKit 4 | * 5 | * Copyright 2011 Baidu Inc. All rights reserved. 6 | * 7 | */ 8 | #import 9 | #import"BMKTypes.h" 10 | //定义调起导航的两种类型 11 | //注:自2.8.0开始废弃,只支持调起客户端导航,在调起客户端导航时,才会调起web导航 12 | typedef enum 13 | { 14 | BMK_NAVI_TYPE_NATIVE = 0,//客户端导航 15 | BMK_NAVI_TYPE_WEB,//web导航 16 | } BMK_NAVI_TYPE; 17 | 18 | ///此类管理调起导航时传入的参数 19 | @interface BMKNaviPara : NSObject 20 | { 21 | BMKPlanNode* _startPoint; 22 | BMKPlanNode* _endPoint; 23 | BMK_NAVI_TYPE _naviType; 24 | NSString* _appScheme; 25 | NSString* _appName; 26 | } 27 | ///起点 28 | @property (nonatomic, strong) BMKPlanNode* startPoint; 29 | ///终点 30 | @property (nonatomic, strong) BMKPlanNode* endPoint; 31 | ///导航类型 注:自2.8.0开始废弃,只支持调起客户端导航,在调起客户端导航时,才会调起web导航 32 | @property (nonatomic, assign) BMK_NAVI_TYPE naviType; 33 | ///应用返回scheme 34 | @property (nonatomic, strong) NSString* appScheme; 35 | ///应用名称 36 | @property (nonatomic, strong) NSString* appName; 37 | ///调起百度地图客户端失败后,是否支持调起web地图,默认:YES 38 | @property (nonatomic, assign) BOOL isSupportWeb; 39 | 40 | @end 41 | 42 | ///主引擎类 43 | @interface BMKNavigation : NSObject 44 | 45 | /** 46 | *启动导航 47 | *@param para 调起导航时传入得参数 48 | */ 49 | + (BMKOpenErrorCode)openBaiduMapNavigation:(BMKNaviPara*)para; 50 | 51 | 52 | @end 53 | 54 | 55 | -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKOfflineMap.h: -------------------------------------------------------------------------------- 1 | /* 2 | * BMKOfflineMap.h 3 | * BMapKit 4 | * 5 | * Copyright 2011 Baidu Inc. All rights reserved. 6 | * 7 | */ 8 | 9 | #import 10 | #import "BMKOfflineMapType.h" 11 | 12 | 13 | @protocol BMKOfflineMapDelegate; 14 | 15 | ///离线地图事件类型 16 | enum { 17 | TYPE_OFFLINE_UPDATE = 0, ///<下载或更新 18 | TYPE_OFFLINE_ZIPCNT = 1, ///<检测到的压缩包个数 19 | TYPE_OFFLINE_UNZIP = 2, ///<当前解压的离线包 20 | TYPE_OFFLINE_ERRZIP = 3, ///<错误的离线包 21 | TYPE_OFFLINE_NEWVER = 4, ///<有新版本 22 | TYPE_OFFLINE_UNZIPFINISH = 5, ///<扫描完毕 23 | TYPE_OFFLINE_ADD = 6 ///<新增离线包 24 | }; 25 | 26 | ///离线地图服务 27 | @interface BMKOfflineMap : NSObject 28 | 29 | @property (nonatomic, weak) id delegate; 30 | 31 | 32 | 33 | /** 34 | *扫描离线地图压缩包,异步函数 35 | *@return 成功返回YES,否则返回NO 36 | */ 37 | - (BOOL)scan:(BOOL)deleteFailed; 38 | 39 | /** 40 | *启动下载指定城市id的离线地图 41 | *@param cityID 指定的城市id 42 | *@return 成功返回YES,否则返回NO 43 | */ 44 | - (BOOL)start:(int)cityID; 45 | 46 | /** 47 | *启动更新指定城市id的离线地图 48 | *@param cityID 指定的城市id 49 | *@return 成功返回YES,否则返回NO 50 | */ 51 | - (BOOL)update:(int)cityID; 52 | 53 | /** 54 | *暂停下载指定城市id的离线地图 55 | *@param cityID 指定的城市id 56 | *@return 成功返回YES,否则返回NO 57 | */ 58 | - (BOOL)pause:(int)cityID; 59 | 60 | /** 61 | *删除下载指定城市id的离线地图 62 | *@param cityID 指定的城市id 63 | *@return 成功返回YES,否则返回NO 64 | */ 65 | - (BOOL)remove:(int)cityID; 66 | 67 | /** 68 | *返回热门城市列表 69 | *@return 热门城市列表,用户需要显示释放该数组,数组元素为BMKOLSearchRecord 70 | */ 71 | - (NSArray*)getHotCityList; 72 | 73 | /** 74 | *返回所有支持离线地图的城市列表 75 | *@return 支持离线地图的城市列表,用户需要显示释放该数组,数组元素为BMKOLSearchRecord 76 | */ 77 | - (NSArray*)getOfflineCityList; 78 | 79 | /** 80 | *根据城市名搜索该城市离线地图记录 81 | *@param cityName 城市名 82 | *@return 该城市离线地图记录,用户需要显示释放该数组,数组元素为BMKOLSearchRecord 83 | */ 84 | - (NSArray*)searchCity:(NSString*)cityName; 85 | 86 | /** 87 | *返回各城市离线地图更新信息 88 | *@return 各城市离线地图更新信息,用户需要显示释放该数组,数组元素为BMKOLUpdateElement 89 | */ 90 | - (NSArray*)getAllUpdateInfo; 91 | 92 | /** 93 | *返回指定城市id离线地图更新信息 94 | *@param cityID 指定的城市id 95 | *@return 指定城市id离线地图更新信息,用户需要显示释放该数据 96 | */ 97 | - (BMKOLUpdateElement*)getUpdateInfo:(int)cityID; 98 | 99 | @end 100 | 101 | 102 | ///离线地图delegate,用于获取通知 103 | @protocol BMKOfflineMapDelegate 104 | /** 105 | *返回通知结果 106 | *@param type 事件类型: TYPE_OFFLINE_UPDATE,TYPE_OFFLINE_ZIPCNT,TYPE_OFFLINE_UNZIP, TYPE_OFFLINE_ERRZIP, TYPE_VER_UPDATE, TYPE_OFFLINE_UNZIPFINISH, TYPE_OFFLINE_ADD 107 | *@param state 事件状态,当type为TYPE_OFFLINE_UPDATE时,表示正在下载或更新城市id为state的离线包,当type为TYPE_OFFLINE_ZIPCNT时,表示检测到state个离线压缩包,当type为TYPE_OFFLINE_ADD时,表示新安装的离线地图数目,当type为TYPE_OFFLINE_UNZIP时,表示正在解压第state个离线包,当type为TYPE_OFFLINE_ERRZIP时,表示有state个错误包,当type为TYPE_VER_UPDATE时,表示id为state的城市离线包有更新,当type为TYPE_OFFLINE_UNZIPFINISH时,表示扫瞄完成,成功导入state个离线包 108 | */ 109 | - (void)onGetOfflineMapState:(int)type withState:(int)state; 110 | 111 | @end 112 | 113 | 114 | -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKOfflineMapType.h: -------------------------------------------------------------------------------- 1 | /* 2 | * BMKOffineMapType.h 3 | * BMapKit 4 | * 5 | * Copyright 2011 Baidu Inc. All rights reserved. 6 | * 7 | */ 8 | 9 | #import 10 | #import 11 | 12 | ///离线地图搜索城市记录结构 13 | @interface BMKOLSearchRecord : NSObject 14 | { 15 | NSString* _cityName; 16 | int _size; 17 | int _cityID; 18 | int _cityType; 19 | NSArray* _childCities; 20 | } 21 | ///城市名称 22 | @property (nonatomic, strong) NSString* cityName; 23 | ///数据包总大小 24 | @property (nonatomic) int size; 25 | ///城市ID 26 | @property (nonatomic) int cityID; 27 | ///城市类型 0:全国;1:省份;2:城市;如果是省份,可以通过childCities得到子城市列表 28 | @property (nonatomic) int cityType; 29 | ///子城市列表 30 | @property (nonatomic, strong) NSArray* childCities; 31 | 32 | 33 | @end 34 | 35 | 36 | ///离线地图更新信息 37 | @interface BMKOLUpdateElement : NSObject 38 | { 39 | NSString* _cityName; 40 | int _cityID; 41 | int _size; 42 | int _serversize; 43 | BOOL _update; 44 | int _ratio; 45 | int _status; 46 | CLLocationCoordinate2D _pt; 47 | } 48 | ///城市名称 49 | @property (nonatomic, strong) NSString* cityName; 50 | ///城市ID 51 | @property (nonatomic) int cityID; 52 | ///已下载数据大小,单位:字节 53 | @property (nonatomic) int size; 54 | ///服务端数据大小,当update为YES时有效,单位:字节 55 | @property (nonatomic) int serversize; 56 | ///下载比率,100为下载完成 57 | @property (nonatomic) int ratio; 58 | ///下载状态, -1:未定义 1:正在下载 2:等待下载 3:已暂停 4:完成 5:校验失败 6:网络异常 7:读写异常 8:Wifi网络异常 9:未完成的离线包有更新包 10:已完成的离线包有更新包 11:没有完全下载完成的省份 12:该省份的所有城市都已经下载完成 13:该省份的部分城市需要更新 59 | @property (nonatomic) int status; 60 | ///更新状态 61 | @property (nonatomic) BOOL update; 62 | ///城市中心点 63 | @property (nonatomic) CLLocationCoordinate2D pt; 64 | 65 | @end 66 | 67 | -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKOpenOption.h: -------------------------------------------------------------------------------- 1 | // 2 | // BMKOpenOption.h 3 | // UtilsComponent 4 | // 5 | // Created by wzy on 15/3/26. 6 | // Copyright (c) 2015年 baidu. All rights reserved. 7 | // 8 | 9 | #ifndef UtilsComponent_BMKOpenOption_h 10 | #define UtilsComponent_BMKOpenOption_h 11 | 12 | ///调起百度地图参数基类 13 | @interface BMKOpenOption : NSObject 14 | 15 | ///应用返回scheme,用于调起后返回,没有不能返回 16 | @property (nonatomic, strong) NSString* appScheme; 17 | ///调起百度地图客户端失败后,是否支持调起web地图,默认:YES 18 | @property (nonatomic, assign) BOOL isSupportWeb; 19 | 20 | @end 21 | 22 | #endif 23 | 24 | -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKOpenPoi.h: -------------------------------------------------------------------------------- 1 | // 2 | // BMKOpenPoi.h 3 | // UtilsComponent 4 | // 5 | // Created by wzy on 15/3/26. 6 | // Copyright (c) 2015年 baidu. All rights reserved. 7 | // 8 | 9 | #ifndef UtilsComponent_BMKOpenPoi_h 10 | #define UtilsComponent_BMKOpenPoi_h 11 | 12 | #import "BMKOpenPoiOption.h" 13 | #import "BMKTypes.h" 14 | 15 | ///调起百度地图 -- poi 16 | ///注:从iphone百度地图 8.2.0版本开始支持 17 | @interface BMKOpenPoi : NSObject 18 | 19 | /** 20 | * 调起百度地图poi详情页面 21 | * 注:从iphone百度地图 8.2.0版本开始支持 22 | *@param option poi详情参数类(BMKOpenPoiDetailOption) 23 | *@return 调起结果 24 | */ 25 | + (BMKOpenErrorCode)openBaiduMapPoiDetailPage:(BMKOpenPoiDetailOption *) option; 26 | 27 | /** 28 | * 调起百度地图poi周边检索页面 29 | * 注:从iphone百度地图 8.2.0版本开始支持 30 | *@param option poi周边参数类(BMKOpenPoiNearbyOption) 31 | *@return 调起结果 32 | */ 33 | + (BMKOpenErrorCode)openBaiduMapPoiNearbySearch:(BMKOpenPoiNearbyOption *) option; 34 | 35 | @end 36 | 37 | #endif 38 | -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKOpenPoiOption.h: -------------------------------------------------------------------------------- 1 | // 2 | // BMKOpenPoiOption.h 3 | // UtilsComponent 4 | // 5 | // Created by wzy on 15/3/26. 6 | // Copyright (c) 2015年 baidu. All rights reserved. 7 | // 8 | 9 | #ifndef UtilsComponent_BMKOpenPoiOption_h 10 | #define UtilsComponent_BMKOpenPoiOption_h 11 | 12 | #import 13 | #import 14 | #import "BMKOpenOption.h" 15 | 16 | ///调起百度地图: poi详情参数类 17 | @interface BMKOpenPoiDetailOption : BMKOpenOption 18 | 19 | ///poi的uid 20 | @property (nonatomic, strong) NSString* poiUid; 21 | 22 | @end 23 | 24 | 25 | ///调起百度地图: poi周边参数类 26 | @interface BMKOpenPoiNearbyOption : BMKOpenOption 27 | 28 | ///中心点(经纬度) 29 | @property (nonatomic, assign) CLLocationCoordinate2D location; 30 | ///半径 31 | @property (nonatomic, assign) NSUInteger radius; 32 | ///关键词 33 | @property (nonatomic, strong) NSString* keyword; 34 | 35 | @end 36 | 37 | 38 | #endif 39 | 40 | -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKOpenRoute.h: -------------------------------------------------------------------------------- 1 | // 2 | // BMKOpenRoute.h 3 | // UtilsComponent 4 | // 5 | // Created by wzy on 15/3/26. 6 | // Copyright (c) 2015年 baidu. All rights reserved. 7 | // 8 | 9 | #ifndef UtilsComponent_BMKOpenRoute_h 10 | #define UtilsComponent_BMKOpenRoute_h 11 | #import "BMKOpenRouteOption.h" 12 | #import "BMKTypes.h" 13 | 14 | ///调起百度地图 -- 路线 15 | ///注:从iphone百度地图 8.2.0版本开始支持 16 | @interface BMKOpenRoute : NSObject 17 | 18 | /** 19 | * 调起百度地图步行路线页面 20 | * 注:从iphone百度地图 8.2.0版本开始支持 21 | *@param option 步行路线参数类(BMKOpenWalkingRouteOption) 22 | *@return 调起结果 23 | */ 24 | + (BMKOpenErrorCode)openBaiduMapWalkingRoute:(BMKOpenWalkingRouteOption *) option; 25 | 26 | /** 27 | * 调起百度地图公交路线页面 28 | * 注:从iphone百度地图 8.2.0版本开始支持 29 | *@param option 公交路线参数类(BMKOpenTransitRouteOption) 30 | *@return 调起结果 31 | */ 32 | + (BMKOpenErrorCode)openBaiduMapTransitRoute:(BMKOpenTransitRouteOption *) option; 33 | 34 | /** 35 | * 调起百度地图驾车路线检索页面 36 | * 注:从iphone百度地图 8.2.0版本开始支持 37 | *@param option 驾车路线参数类(BMKOpenDrivingRouteOption) 38 | *@return 调起结果 39 | */ 40 | + (BMKOpenErrorCode)openBaiduMapDrivingRoute:(BMKOpenDrivingRouteOption *) option; 41 | 42 | @end 43 | 44 | 45 | #endif 46 | -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKOpenRouteOption.h: -------------------------------------------------------------------------------- 1 | // 2 | // BMKOpenRouteOption.h 3 | // UtilsComponent 4 | // 5 | // Created by wzy on 15/3/26. 6 | // Copyright (c) 2015年 baidu. All rights reserved. 7 | // 8 | 9 | #ifndef UtilsComponent_BMKOpenRouteOption_h 10 | #define UtilsComponent_BMKOpenRouteOption_h 11 | 12 | #import 13 | #import "BMKOpenOption.h" 14 | #import "BMKTypes.h" 15 | 16 | typedef enum 17 | { 18 | BMK_OPEN_TRANSIT_RECOMMAND = 3, //推荐 19 | BMK_OPEN_TRANSIT_TRANSFER_FIRST, //少换乘 20 | BMK_OPEN_TRANSIT_WALK_FIRST, //少步行 21 | BMK_OPEN_TRANSIT_NO_SUBWAY, //不坐地铁 22 | BMK_OPEN_TRANSIT_TIME_FIRST, //时间短 23 | }BMKOpenTransitPolicy; 24 | 25 | ///此类管理调起百度地图路线时传入的参数 26 | @interface BMKOpenRouteOption : BMKOpenOption 27 | 28 | ///起点 29 | @property (nonatomic, strong) BMKPlanNode *startPoint; 30 | ///终点 31 | @property (nonatomic, strong) BMKPlanNode *endPoint; 32 | 33 | @end 34 | 35 | ///此类管理调起百度地图步行路线时传入的参数 36 | @interface BMKOpenWalkingRouteOption : BMKOpenRouteOption 37 | 38 | @end 39 | 40 | ///此类管理调起百度地图驾车路线时传入的参数 41 | @interface BMKOpenDrivingRouteOption : BMKOpenRouteOption 42 | 43 | @end 44 | 45 | ///此类管理调起百度地图公共交通路线时传入的参数 46 | @interface BMKOpenTransitRouteOption : BMKOpenRouteOption 47 | 48 | //策略,默认:BMK_OPEN_TRANSIT_RECOMMAND(异常值,强制使用BMK_OPEN_TRANSIT_RECOMMAND) 49 | @property (nonatomic, assign) BMKOpenTransitPolicy openTransitPolicy; 50 | 51 | @end 52 | 53 | 54 | #endif 55 | -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKOverlay.h: -------------------------------------------------------------------------------- 1 | /* 2 | * BMKOverlay.h 3 | * BMapKit 4 | * 5 | * Copyright 2011 Baidu Inc. All rights reserved. 6 | * 7 | */ 8 | 9 | #import "BMKAnnotation.h" 10 | #import "BMKTypes.h" 11 | 12 | /// 该类是地图覆盖物的基类,所有地图的覆盖物需要继承自此类 13 | @protocol BMKOverlay 14 | @required 15 | 16 | /// 返回区域中心坐标. 17 | @property (nonatomic, readonly) CLLocationCoordinate2D coordinate; 18 | 19 | /// 返回区域外接矩形 20 | @property (nonatomic, readonly) BMKMapRect boundingMapRect; 21 | 22 | @optional 23 | /** 24 | *判断指定的矩形是否与本Overlay相交,用于更精确的控制overlay view的显示. 25 | *默认使用BMKMapRectIntersectsRect([overlay boundingRect], mapRect)代替. 26 | *@param mapRect 指定的BMKMapRect 27 | *@return 如果相交返回YES,否则返回NO 28 | */ 29 | - (BOOL)intersectsMapRect:(BMKMapRect)mapRect; 30 | 31 | @end 32 | 33 | -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKOverlayGLBasicView.h: -------------------------------------------------------------------------------- 1 | /* 2 | * BMKOverlayGLBasicView.h 3 | * BMapKit 4 | * 5 | * Copyright 2011 Baidu Inc. All rights reserved. 6 | * 7 | */ 8 | 9 | #import 10 | #import "BMKOverlayView.h" 11 | 12 | /// 该类定义了一个用opengl绘制的OverlayView的基类,如果需要用gdi进行绘制请继承于BMKOverlayPathView类 13 | @interface BMKOverlayGLBasicView : BMKOverlayView { 14 | 15 | } 16 | 17 | /// 填充颜色 18 | @property (strong, nonatomic) UIColor *fillColor; 19 | /// 画笔颜色 20 | @property (strong, nonatomic) UIColor *strokeColor; 21 | /// 画笔宽度,默认为0 22 | @property (nonatomic) CGFloat lineWidth; 23 | /// path对象 24 | @property CGPathRef path; 25 | /// 是否为虚线样式 26 | @property (nonatomic) BOOL lineDash; 27 | 28 | 29 | @end 30 | -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKOverlayPathView.h: -------------------------------------------------------------------------------- 1 | /* 2 | * BMKOverlayPathView.h 3 | * BMapKit 4 | * 5 | * Copyright 2011 Baidu Inc. All rights reserved. 6 | * 7 | */ 8 | 9 | #import 10 | #import "BMKOverlayView.h" 11 | 12 | /// 该类定义了一个基本的OverlayView,并且在BMapKit中预置了几个经常使用的OverlayView 13 | @interface BMKOverlayPathView : BMKOverlayView { 14 | @package 15 | UIColor *_fillColor; 16 | UIColor *_strokeColor; 17 | 18 | CGFloat _lineWidth; 19 | CGLineJoin _lineJoin; 20 | CGLineCap _lineCap; 21 | CGFloat _miterLimit; 22 | CGFloat _lineDashPhase; 23 | NSArray *_lineDashPattern; 24 | 25 | CGPathRef _path; 26 | } 27 | 28 | /// 填充颜色 29 | @property (strong) UIColor *fillColor; 30 | /// 画笔颜色 31 | @property (strong) UIColor *strokeColor; 32 | 33 | /// 画笔宽度,默认为0 34 | @property CGFloat lineWidth; 35 | /// LineJoin,默认为kCGLineJoinRound 36 | @property CGLineJoin lineJoin; 37 | /// LineCap,默认为kCGLineCapRound 38 | @property CGLineCap lineCap; 39 | /// miterLimit,在样式为kCGLineJoinMiter时有效,默认为10 40 | @property CGFloat miterLimit; 41 | /// lineDashPhase, 默认为0 42 | @property CGFloat lineDashPhase; 43 | /// lineDashPattern,一个NSNumbers的数组,默认为nil 44 | @property (copy) NSArray *lineDashPattern; 45 | 46 | /** 47 | *生成要绘制的path,子类需要重写此函数,并且对path属性赋值:self.path = newPath; 48 | */ 49 | - (void)createPath; 50 | /// path对象 51 | @property CGPathRef path; 52 | 53 | /** 54 | *刷新path,调用该函数将会使已经缓存的path失效,将会重新调用createPath来生成新的path对象 55 | */ 56 | - (void)invalidatePath; 57 | 58 | 59 | /** 60 | *应用画笔属性 61 | *@param context CGContext对象 62 | *@param zoomScale 当前的zoomScale 63 | */ 64 | - (void)applyStrokePropertiesToContext:(CGContextRef)context 65 | atZoomScale:(BMKZoomScale)zoomScale; 66 | 67 | /** 68 | *应用画刷属性 69 | *@param context CGContext对象 70 | *@param zoomScale 当前的zoomScale 71 | */ 72 | - (void)applyFillPropertiesToContext:(CGContextRef)context 73 | atZoomScale:(BMKZoomScale)zoomScale; 74 | /** 75 | *绘制path 76 | *@param path 要绘制的CGPath 77 | *@param context CGContext对象 78 | */ 79 | - (void)strokePath:(CGPathRef)path inContext:(CGContextRef)context; 80 | 81 | /** 82 | *填充path 83 | *@param path 要绘制的CGPath 84 | *@param context CGContext对象 85 | */ 86 | - (void)fillPath:(CGPathRef)path inContext:(CGContextRef)context; 87 | 88 | @end 89 | -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKPinAnnotationView.h: -------------------------------------------------------------------------------- 1 | /* 2 | * BMKPinAnnotationView.h 3 | * BMapKit 4 | * 5 | * Copyright 2011 Baidu Inc. All rights reserved. 6 | * 7 | */ 8 | 9 | #import "BMKAnnotationView.h" 10 | enum { 11 | BMKPinAnnotationColorRed = 0, 12 | BMKPinAnnotationColorGreen, 13 | BMKPinAnnotationColorPurple 14 | }; 15 | typedef NSUInteger BMKPinAnnotationColor; 16 | 17 | ///提供类似大头针效果的annotation view 18 | @interface BMKPinAnnotationView : BMKAnnotationView 19 | { 20 | @private 21 | BMKPinAnnotationColor _pinColor; 22 | BOOL _animatesDrop; 23 | } 24 | ///大头针的颜色,有BMKPinAnnotationColorRed, BMKPinAnnotationColorGreen, BMKPinAnnotationColorPurple三种 25 | @property (nonatomic) BMKPinAnnotationColor pinColor; 26 | ///动画效果 27 | @property (nonatomic) BOOL animatesDrop; 28 | 29 | 30 | @end 31 | 32 | -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKPoiSearch.h: -------------------------------------------------------------------------------- 1 | /* 2 | * BMKPoiSearch.h 3 | * BMapKit 4 | * 5 | * Copyright 2011 Baidu Inc. All rights reserved. 6 | * 7 | */ 8 | 9 | #import 10 | #import "BMKPoiSearchType.h" 11 | #import "BMKTypes.h" 12 | #import "BMKPoiSearchOption.h" 13 | 14 | @protocol BMKPoiSearchDelegate; 15 | ///搜索服务 16 | @interface BMKPoiSearch : NSObject 17 | /// 检索模块的Delegate,此处记得不用的时候需要置nil,否则影响内存的释放 18 | @property (nonatomic, weak) id delegate; 19 | 20 | 21 | /** 22 | *城市POI检索 23 | *异步函数,返回结果在BMKPoiSearchDelegate的onGetPoiResult通知 24 | *@param option 城市内搜索的搜索参数类(BMKCitySearchOption) 25 | *@return 成功返回YES,否则返回NO 26 | */ 27 | - (BOOL)poiSearchInCity:(BMKCitySearchOption*)option; 28 | 29 | /** 30 | *根据范围和检索词发起范围检索 31 | *异步函数,返回结果在BMKPoiSearchDelegate的onGetPoiResult通知 32 | *@param option 范围搜索的搜索参数类(BMKBoundSearchOption) 33 | *@return 成功返回YES,否则返回NO 34 | */ 35 | - (BOOL)poiSearchInbounds:(BMKBoundSearchOption*)option; 36 | /** 37 | *根据中心点、半径和检索词发起周边检索 38 | *异步函数,返回结果在BMKPoiSearchDelegate的onGetPoiResult通知 39 | *@param option 周边搜索的搜索参数类(BMKNearbySearchOption) 40 | *@param index 页码,如果是第一次发起搜索,填0,根据返回的结果可以去获取第n页的结果,页码从0开始 41 | *@return 成功返回YES,否则返回NO 42 | */ 43 | - (BOOL)poiSearchNearBy:(BMKNearbySearchOption*)option; 44 | /** 45 | *根据poi uid 发起poi详情检索 46 | *异步函数,返回结果在BMKPoiSearchDelegate的onGetPoiDetailResult通知 47 | *@param option poi详情检索参数类(BMKPoiDetailSearchOption) 48 | *@return 成功返回YES,否则返回NO 49 | */ 50 | - (BOOL)poiDetailSearch:(BMKPoiDetailSearchOption*)option; 51 | @end 52 | 53 | ///搜索delegate,用于获取搜索结果 54 | @protocol BMKPoiSearchDelegate 55 | @optional 56 | /** 57 | *返回POI搜索结果 58 | *@param searcher 搜索对象 59 | *@param poiResult 搜索结果列表 60 | *@param errorCode 错误号,@see BMKSearchErrorCode 61 | */ 62 | - (void)onGetPoiResult:(BMKPoiSearch*)searcher result:(BMKPoiResult*)poiResult errorCode:(BMKSearchErrorCode)errorCode; 63 | 64 | /** 65 | *返回POI详情搜索结果 66 | *@param searcher 搜索对象 67 | *@param poiDetailResult 详情搜索结果 68 | *@param errorCode 错误号,@see BMKSearchErrorCode 69 | */ 70 | - (void)onGetPoiDetailResult:(BMKPoiSearch*)searcher result:(BMKPoiDetailResult*)poiDetailResult errorCode:(BMKSearchErrorCode)errorCode; 71 | @end 72 | 73 | 74 | 75 | 76 | -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKPoiSearchOption.h: -------------------------------------------------------------------------------- 1 | /* 2 | * BMKPoiSearchOption.h 3 | * BMapKit 4 | * 5 | * Copyright 2013 Baidu Inc. All rights reserved. 6 | * 7 | */ 8 | #import 9 | #import "BMKTypes.h" 10 | 11 | typedef enum{ 12 | BMK_POI_SORT_BY_COMPOSITE = 0,//综合排序 13 | BMK_POI_SORT_BY_DISTANCE,//距离由近到远排序 14 | }BMKPoiSortType; 15 | 16 | /// 检索基础信息类,所有类型Poi检索的基类 17 | @interface BMKBasePoiSearchOption : NSObject 18 | { 19 | NSString *_keyword; 20 | int _pageIndex; 21 | int _pageCapacity; 22 | } 23 | ///搜索关键字 24 | @property (nonatomic, strong) NSString *keyword; 25 | ///分页索引,可选,默认为0 26 | @property (nonatomic, assign) int pageIndex; 27 | ///分页数量,可选,默认为10,最多为50 28 | @property (nonatomic, assign) int pageCapacity; 29 | 30 | @end 31 | 32 | ///本地云检索参数信息类 33 | @interface BMKCitySearchOption : BMKBasePoiSearchOption { 34 | NSString *_city; 35 | } 36 | ///区域名称(市或区的名字,如北京市,海淀区),必选, 必须最长25个字符 37 | @property (nonatomic, strong) NSString *city; 38 | @end 39 | 40 | ///周边云检索参数信息类 41 | @interface BMKNearbySearchOption : BMKBasePoiSearchOption { 42 | CLLocationCoordinate2D _location; 43 | int _radius; 44 | } 45 | ///检索的中心点,经纬度 46 | @property (nonatomic, assign) CLLocationCoordinate2D location; 47 | ///周边检索半径 48 | @property (nonatomic, assign) int radius; 49 | //搜索结果排序规则,可选,默认BMK_POI_SORT_BY_COMPOSITE 50 | @property (nonatomic, assign) BMKPoiSortType sortType; 51 | 52 | @end 53 | 54 | ///矩形云检索参数信息类 55 | @interface BMKBoundSearchOption : BMKBasePoiSearchOption { 56 | CLLocationCoordinate2D _leftBottom; 57 | CLLocationCoordinate2D _rightTop; 58 | 59 | } 60 | ///矩形区域,左下角和右上角的经纬度坐标点。 61 | @property (nonatomic, assign) CLLocationCoordinate2D leftBottom; 62 | @property (nonatomic, assign) CLLocationCoordinate2D rightTop; 63 | @end 64 | 65 | ///poi详情检索信息类 66 | @interface BMKPoiDetailSearchOption : NSObject { 67 | NSString* _poiUid; 68 | } 69 | ///poi的uid,从poi检索返回的BMKPoiResult结构中获取 70 | @property (nonatomic, strong) NSString* poiUid; 71 | 72 | @end 73 | 74 | 75 | -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKPointAnnotation.h: -------------------------------------------------------------------------------- 1 | /* 2 | * BMKPointAnnotation.h 3 | * BMapKit 4 | * 5 | * Copyright 2011 Baidu Inc. All rights reserved. 6 | * 7 | */ 8 | 9 | 10 | #import 11 | #import "BMKShape.h" 12 | #import 13 | 14 | ///表示一个点的annotation 15 | @interface BMKPointAnnotation : BMKShape { 16 | @package 17 | CLLocationCoordinate2D _coordinate; 18 | } 19 | ///该点的坐标 20 | @property (nonatomic, assign) CLLocationCoordinate2D coordinate; 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKPolygon.h: -------------------------------------------------------------------------------- 1 | /* 2 | * BMKPolygon.h 3 | * BMapKit 4 | * 5 | * Copyright 2011 Baidu Inc. All rights reserved. 6 | * 7 | */ 8 | #import 9 | 10 | #import "BMKMultiPoint.h" 11 | #import "BMKOverlay.h" 12 | 13 | /// 此类用于定义一个多边形区域 14 | @interface BMKPolygon : BMKMultiPoint 15 | /** 16 | *根据多个点生成多边形 17 | *@param points 直角坐标点数组,这些点将被拷贝到生成的多边形对象中 18 | *@param count 点的个数 19 | *@return 新生成的多边形对象 20 | */ 21 | + (BMKPolygon *)polygonWithPoints:(BMKMapPoint *)points count:(NSUInteger)count; 22 | 23 | /** 24 | *根据多个点生成多边形 25 | *@param coords 经纬度坐标点数组,这些点将被拷贝到生成的多边形对象中 26 | *@param count 点的个数 27 | *@return 新生成的多边形对象 28 | */ 29 | + (BMKPolygon *)polygonWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSUInteger)count; 30 | 31 | /** 32 | *重新设置多边形顶点 33 | *@param points 指定的直角坐标点数组 34 | *@param count 坐标点的个数 35 | *@return 是否设置成功 36 | */ 37 | - (BOOL)setPolygonWithPoints:(BMKMapPoint *)points count:(NSInteger) count; 38 | 39 | /** 40 | *重新设置多边形顶点 41 | *@param coords 指定的经纬度坐标点数组 42 | *@param count 坐标点的个数 43 | *@return 是否设置成功 44 | */ 45 | - (BOOL)setPolygonWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSInteger) count; 46 | 47 | 48 | @end 49 | -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKPolygonView.h: -------------------------------------------------------------------------------- 1 | /* 2 | * BMKPolygonView.h 3 | * BMapKit 4 | * 5 | * Copyright 2011 Baidu Inc. All rights reserved. 6 | * 7 | */ 8 | 9 | #import 10 | 11 | #import "BMKPolygon.h" 12 | #import "BMKOverlayGLBasicView.h" 13 | 14 | /// 此类用于定义一个多边形View 15 | @interface BMKPolygonView : BMKOverlayGLBasicView 16 | 17 | /** 18 | *根据指定的多边形生成一个多边形View 19 | *@param polygon 指定的多边形数据对象 20 | *@return 新生成的多边形View 21 | */ 22 | - (id)initWithPolygon:(BMKPolygon *)polygon; 23 | 24 | /// 该View对应的多边形数据 25 | @property (nonatomic, readonly) BMKPolygon *polygon; 26 | 27 | @end 28 | -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKPolyline.h: -------------------------------------------------------------------------------- 1 | /* 2 | * BMKPolyline.h 3 | * BMapKit 4 | * 5 | * Copyright 2011 Baidu Inc. All rights reserved. 6 | * 7 | */ 8 | 9 | #import "BMKMultiPoint.h" 10 | #import "BMKOverlay.h" 11 | 12 | /// 此类用于定义一段折线 13 | @interface BMKPolyline : BMKMultiPoint 14 | 15 | /** 16 | *根据指定坐标点生成一段折线 17 | *@param points 指定的直角坐标点数组 18 | *@param count 坐标点的个数 19 | *@return 新生成的折线对象 20 | */ 21 | + (BMKPolyline *)polylineWithPoints:(BMKMapPoint *)points count:(NSUInteger)count; 22 | 23 | /** 24 | *根据指定坐标点生成一段折线 25 | *@param coords 指定的经纬度坐标点数组 26 | *@param count 坐标点的个数 27 | *@return 新生成的折线对象 28 | */ 29 | + (BMKPolyline *)polylineWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSUInteger)count; 30 | 31 | /** 32 | *重新设置折线坐标点 33 | *@param points 指定的直角坐标点数组 34 | *@param count 坐标点的个数 35 | *@return 是否设置成功 36 | */ 37 | - (BOOL)setPolylineWithPoints:(BMKMapPoint *)points count:(NSInteger) count; 38 | 39 | /** 40 | *重新设置折线坐标点 41 | *@param coords 指定的经纬度坐标点数组 42 | *@param count 坐标点的个数 43 | *@return 是否设置成功 44 | */ 45 | - (BOOL)setPolylineWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSInteger) count; 46 | 47 | 48 | #pragma mark - 以下方法和属性只适用于分段纹理绘制 49 | 50 | ///纹理索引数组 51 | @property (nonatomic, strong) NSArray *textureIndex; 52 | 53 | /** 54 | *分段纹理绘制,根据指定坐标点生成一段折线 55 | * 56 | *其对应的BMKPolylineView,必须使用 - (BOOL)loadStrokeTextureImages:(NSArray *)textureImages; 加载纹理图片;否则使用默认的灰色纹理绘制 57 | * 58 | *@param points 指定的直角坐标点数组 59 | *@param count 坐标点的个数 60 | *@param textureIndex 纹理索引数组,成员为NSNumber,且为非负数,负数按0处理 61 | *@return 新生成的折线对象 62 | */ 63 | + (BMKPolyline *)polylineWithPoints:(BMKMapPoint *)points count:(NSUInteger)count textureIndex:(NSArray*) textureIndex; 64 | 65 | /** 66 | *根据指定坐标点生成一段折线 67 | * 68 | *其对应的BMKPolylineView,必须使用 - (BOOL)loadStrokeTextureImages:(NSArray *)textureImages; 加载纹理图片;否则使用默认的灰色纹理绘制 69 | * 70 | *@param coords 指定的经纬度坐标点数组 71 | *@param count 坐标点的个数 72 | *@param textureIndex 纹理索引数组,成员为NSNumber,且为非负数,负数按0处理 73 | *@return 新生成的折线对象 74 | */ 75 | + (BMKPolyline *)polylineWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSUInteger)count textureIndex:(NSArray*) textureIndex; 76 | 77 | /** 78 | *重新设置折线坐标点 和 纹理索引 79 | *@param points 指定的直角坐标点数组 80 | *@param count 坐标点的个数 81 | *@param textureIndex 纹理索引数组,成员为NSNumber,且为非负数,负数按0处理 82 | *@return 是否设置成功 83 | */ 84 | - (BOOL)setPolylineWithPoints:(BMKMapPoint *)points count:(NSInteger) count textureIndex:(NSArray*) textureIndex; 85 | 86 | /** 87 | *重新设置折线坐标点 88 | *@param coords 指定的经纬度坐标点数组 89 | *@param count 坐标点的个数 90 | *@param textureIndex 纹理索引数组,成员为NSNumber,且为非负数,负数按0处理 91 | *@return 是否设置成功 92 | */ 93 | - (BOOL)setPolylineWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSInteger) count textureIndex:(NSArray*) textureIndex; 94 | 95 | @end 96 | -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKPolylineView.h: -------------------------------------------------------------------------------- 1 | /* 2 | * BMKPolylineView.h 3 | * BMapKit 4 | * 5 | * Copyright 2011 Baidu Inc. All rights reserved. 6 | * 7 | */ 8 | 9 | #import 10 | 11 | #import "BMKPolyline.h" 12 | #import "BMKOverlayGLBasicView.h" 13 | 14 | /// 此类用于定义一个折线View 15 | @interface BMKPolylineView : BMKOverlayGLBasicView 16 | 17 | /** 18 | *根据指定的折线生成一个折线View 19 | *@param polyline 指定的折线数据对象 20 | *@return 新生成的折线View 21 | */ 22 | - (id)initWithPolyline:(BMKPolyline *)polyline; 23 | 24 | /// 该View对应的折线数据对象 25 | @property (nonatomic, readonly) BMKPolyline *polyline; 26 | 27 | 28 | #pragma mark - 以下方法和属性只适用于分段纹理绘制 29 | 30 | /// 是否分段纹理绘制(突出显示),默认YES,YES:使用分段纹理绘制 NO:使用默认的灰色纹理绘制 31 | @property (nonatomic, assign) BOOL isFocus; 32 | 33 | @end 34 | -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKRadarComponent.h: -------------------------------------------------------------------------------- 1 | // 2 | // BMKRadarComponent.h 3 | // RadarComponent 4 | // 5 | // Created by wzy on 15/4/21. 6 | // Copyright (c) 2015年 baidu. All rights reserved. 7 | // 8 | 9 | #ifndef RadarComponent_BMKRadarComponent_h 10 | #define RadarComponent_BMKRadarComponent_h 11 | 12 | #import "BMKRadarManager.h" 13 | #import "BMKRadarOption.h" 14 | #import "BMKRadarResult.h" 15 | 16 | #endif 17 | -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKRadarManager.h: -------------------------------------------------------------------------------- 1 | // 2 | // BMKRadarManager.h 3 | // RadarComponent 4 | // 5 | // Created by wzy on 15/4/22. 6 | // Copyright (c) 2015年 baidu. All rights reserved. 7 | // 8 | 9 | #ifndef RadarComponent_BMKRadarManager_h 10 | #define RadarComponent_BMKRadarManager_h 11 | 12 | #import "BMKRadarOption.h" 13 | #import "BMKRadarResult.h" 14 | 15 | ///雷达delegate 16 | @protocol BMKRadarManagerDelegate 17 | 18 | @optional 19 | /* 20 | *开启自动上传,需实现该回调 21 | */ 22 | - (BMKRadarUploadInfo*)getRadarAutoUploadInfo; 23 | 24 | /** 25 | *返回雷达 上传结果 26 | *@param error 错误号,@see BMKRadarErrorCode 27 | */ 28 | - (void)onGetRadarUploadResult:(BMKRadarErrorCode) error; 29 | 30 | /** 31 | *返回雷达 清除我的信息结果 32 | *@param error 错误号,@see BMKRadarErrorCode 33 | */ 34 | - (void)onGetRadarClearMyInfoResult:(BMKRadarErrorCode) error; 35 | 36 | /** 37 | *返回雷达 查询周边的用户信息结果 38 | *@param result 结果,类型为@see BMKRadarNearbyResult 39 | *@param error 错误号,@see BMKRadarErrorCode 40 | */ 41 | - (void)onGetRadarNearbySearchResult:(BMKRadarNearbyResult*) result error:(BMKRadarErrorCode) error; 42 | 43 | @end 44 | 45 | 46 | ///周边雷达管理类 47 | @interface BMKRadarManager : NSObject 48 | 49 | /// 上传时用,上传前需设置,不设置自动生成userId;切换用户时,需手动清除原先用户的位置信息 50 | @property (nonatomic, strong) NSString* userId; 51 | 52 | /** 53 | *获取周边雷达实例,使用引用计数管理该实例内存 54 | */ 55 | + (BMKRadarManager*)getRadarManagerInstance; 56 | /** 57 | *release周边雷达实例,使用引用计数管理该实例内存 58 | */ 59 | + (void)releaseRadarManagerInstance; 60 | 61 | /** 62 | *添加周边雷达delegate,用于结果回调 63 | *不需要时,需要使用removeRadarManagerDelegate:移除,否则影响内存释放 64 | *@param delegate, 添加的id对象 65 | */ 66 | - (void)addRadarManagerDelegate:(id) delegate; 67 | 68 | /** 69 | *移除周边雷达delegate,取消结果回调 70 | *@param delegate, 需要移除的id对象 71 | */ 72 | - (void)removeRadarManagerDelegate:(id) delegate; 73 | 74 | /** 75 | *启动自动上传用户位置信息 76 | *必须实现回调方法@see getRadarAutoUploadInfo,获取@see BMKRadarUploadInfo 77 | *@param interval 时间间隔,不小于5s(小于强制设为5s) 78 | */ 79 | - (void)startAutoUpload:(NSTimeInterval) interval; 80 | 81 | /** 82 | *停止自动上传用户位置信息 83 | */ 84 | - (void)stopAutoUpload; 85 | 86 | /** 87 | *单次上传用户位置信息 88 | *上传时间间隔不小于5s,否则return NO 89 | *返回结果回调:@see onGetRadarUploadResult: 90 | *@param info 位置信息 91 | */ 92 | - (BOOL)uploadInfoRequest:(BMKRadarUploadInfo*) info; 93 | 94 | /** 95 | *清除我的位置信息 96 | *返回结果回调:@see onGetRadarClearMyInfoResult: 97 | */ 98 | - (BOOL)clearMyInfoRequest; 99 | 100 | /** 101 | *查询周边的用户信息 102 | *返回结果回调:@see onGetRadarNearbySearchResult:error: 103 | *@param option 查询参数: 类型为@see BMKRadarNearbySearchOption 104 | */ 105 | - (BOOL)getRadarNearbySearchRequest:(BMKRadarNearbySearchOption*) option; 106 | 107 | 108 | @end 109 | 110 | 111 | #endif 112 | -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKRadarOption.h: -------------------------------------------------------------------------------- 1 | // 2 | // BMKRadarOption.h 3 | // RadarComponent 4 | // 5 | // Created by wzy on 15/4/22. 6 | // Copyright (c) 2015年 baidu. All rights reserved. 7 | // 8 | 9 | #ifndef RadarComponent_BMKRadarOption_h 10 | #define RadarComponent_BMKRadarOption_h 11 | 12 | #import 13 | 14 | ///用户信息类 15 | @interface BMKRadarUploadInfo : NSObject 16 | 17 | ///地址坐标,百度经纬度坐标 (必须) 18 | @property (nonatomic, assign) CLLocationCoordinate2D pt; 19 | 20 | ///扩展信息,和该用户相关的信息(可选) 21 | @property (nonatomic, strong) NSString* extInfo; 22 | 23 | @end 24 | 25 | typedef enum{ 26 | BMK_RADAR_SORT_TYPE_DISTANCE_FROM_NEAR_TO_FAR = 0,//距离由近及远排序 27 | BMK_RADAR_SORT_TYPE_DISTANCE_FROM_FAR_TO_NEAR,//距离由远及近排序 28 | BMK_RADAR_SORT_TYPE_TIME_FROM_PAST_TO_RECENT,//时间由过去到现在排序 29 | BMK_RADAR_SORT_TYPE_TIME_FROM_RECENT_TO_PAST,//时间由现在到过去排序 30 | }BMKRadarSortType; 31 | 32 | ///时间区间 33 | @interface BMKDateRange : NSObject 34 | 35 | ///起始时间 36 | @property (nonatomic, strong) NSDate* startDate; 37 | ///终止时间 38 | @property (nonatomic, strong) NSDate* endDate; 39 | 40 | @end 41 | 42 | ///查询周边的用户信息参数类 43 | @interface BMKRadarNearbySearchOption : NSObject 44 | 45 | ///地址坐标,百度经纬度坐标 (不设置,默认使用最后一次上传的坐标) 46 | @property (nonatomic, assign) CLLocationCoordinate2D centerPt; 47 | ///检索半径,单位米,默认1000 48 | @property (nonatomic, assign) NSUInteger radius; 49 | ///分页索引,可选,默认为0 50 | @property (nonatomic, assign) NSInteger pageIndex; 51 | ///页容量,可选,默认为50 52 | @property (nonatomic, assign) NSInteger pageCapacity; 53 | ///排序类型:默认按距离由近及远排序,BMK_RADAR_SORT_TYPE_DISTANCE_FROM_NEAR_TO_FAR 54 | @property (nonatomic, assign) BMKRadarSortType sortType; 55 | ///时间区间,可选,获取该时间区间内的用户信息 56 | @property (nonatomic, strong) BMKDateRange* dateRange; 57 | 58 | 59 | @end 60 | 61 | #endif 62 | -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKRadarResult.h: -------------------------------------------------------------------------------- 1 | // 2 | // BMKRadarResult.h 3 | // RadarComponent 4 | // 5 | // Created by wzy on 15/4/22. 6 | // Copyright (c) 2015年 baidu. All rights reserved. 7 | // 8 | 9 | #ifndef RadarComponent_BMKRadarResult_h 10 | #define RadarComponent_BMKRadarResult_h 11 | 12 | #import "BMKRadarOption.h" 13 | 14 | ///雷达结果码 15 | typedef enum { 16 | BMK_RADAR_NO_ERROR = 0,///<成功 17 | BMK_RADAR_NO_RESULT,///<无结果 18 | BMK_RADAR_AK_NOT_BIND,/// delegate; 15 | 16 | /** 17 | *公交路线检索 18 | *异步函数,返回结果在BMKRouteSearchDelegate的onGetTransitRouteResult通知 19 | *@param transitRoutePlanOption 公交换乘信息类 20 | *@return 成功返回YES,否则返回NO 21 | */ 22 | - (BOOL)transitSearch:(BMKTransitRoutePlanOption*)transitRoutePlanOption; 23 | 24 | /** 25 | *驾乘路线检索 26 | *异步函数,返回结果在BMKRouteSearchDelegate的onGetDrivingRouteResult通知 27 | *@param drivingRoutePlanOption 驾车检索信息类 28 | *@return 成功返回YES,否则返回NO 29 | */ 30 | - (BOOL)drivingSearch:(BMKDrivingRoutePlanOption*)drivingRoutePlanOption; 31 | 32 | /** 33 | *步行路线检索 34 | *异步函数,返回结果在BMKRouteSearchDelegate的onGetWalkingRouteResult通知 35 | *@param walkingRoutePlanOption 步行检索信息类 36 | *@return 成功返回YES,否则返回NO 37 | */ 38 | - (BOOL)walkingSearch:(BMKWalkingRoutePlanOption*)walkingRoutePlanOption; 39 | 40 | 41 | @end 42 | 43 | ///路线搜索delegate,用于获取路线搜索结果 44 | @protocol BMKRouteSearchDelegate 45 | @optional 46 | /** 47 | *返回公交搜索结果 48 | *@param searcher 搜索对象 49 | *@param result 搜索结果,类型为BMKTransitRouteResult 50 | *@param error 错误号,@see BMKSearchErrorCode 51 | */ 52 | - (void)onGetTransitRouteResult:(BMKRouteSearch*)searcher result:(BMKTransitRouteResult*)result errorCode:(BMKSearchErrorCode)error; 53 | /** 54 | *返回驾乘搜索结果 55 | *@param searcher 搜索对象 56 | *@param result 搜索结果,类型为BMKDrivingRouteResult 57 | *@param error 错误号,@see BMKSearchErrorCode 58 | */ 59 | - (void)onGetDrivingRouteResult:(BMKRouteSearch*)searcher result:(BMKDrivingRouteResult*)result errorCode:(BMKSearchErrorCode)error; 60 | 61 | /** 62 | *返回步行搜索结果 63 | *@param searcher 搜索对象 64 | *@param result 搜索结果,类型为BMKWalkingRouteResult 65 | *@param error 错误号,@see BMKSearchErrorCode 66 | */ 67 | - (void)onGetWalkingRouteResult:(BMKRouteSearch*)searcher result:(BMKWalkingRouteResult*)result errorCode:(BMKSearchErrorCode)error; 68 | 69 | 70 | 71 | @end 72 | 73 | 74 | 75 | 76 | -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKRouteSearchOption.h: -------------------------------------------------------------------------------- 1 | /* 2 | * BMKPoiSearchOption.h 3 | * BMapKit 4 | * 5 | * Copyright 2013 Baidu Inc. All rights reserved. 6 | * 7 | */ 8 | 9 | #import "BMKTypes.h" 10 | #import "BMKRouteSearchType.h" 11 | /// 路线查询基础信息类 12 | @interface BMKBaseRoutePlanOption : NSObject 13 | { 14 | BMKPlanNode *_from; 15 | BMKPlanNode *_to; 16 | } 17 | ///检索的起点,可通过关键字、坐标两种方式指定 18 | @property (nonatomic, strong) BMKPlanNode *from; 19 | ///检索的终点,可通过关键字、坐标两种方式指定 20 | @property (nonatomic, strong) BMKPlanNode *to; 21 | @end 22 | /// 步行查询基础信息类 23 | @interface BMKWalkingRoutePlanOption : BMKBaseRoutePlanOption 24 | { 25 | 26 | } 27 | @end 28 | /// 驾车查询基础信息类 29 | @interface BMKDrivingRoutePlanOption : BMKBaseRoutePlanOption 30 | { 31 | NSArray* _wayPointsArray; 32 | BMKDrivingPolicy _drivingPolicy; 33 | } 34 | @property (nonatomic, strong) NSArray *wayPointsArray; 35 | ///驾车检索策略,默认使用BMK_DRIVING_TIME_FIRST 36 | @property (nonatomic) BMKDrivingPolicy drivingPolicy; 37 | 38 | ///驾车检索获取路线每一个step的路况,默认使用BMK_DRIVING_REQUEST_TRAFFICE_TYPE_NONE 39 | @property (nonatomic) BMKDrivingRequestTrafficType drivingRequestTrafficType; 40 | 41 | 42 | @end 43 | /// 公交查询基础信息类 44 | @interface BMKTransitRoutePlanOption : BMKBaseRoutePlanOption 45 | { 46 | NSString* _city; 47 | BMKTransitPolicy _transitPolicy; 48 | } 49 | ///城市名,用于在哪个城市内进行检索 50 | @property (nonatomic, strong) NSString *city; 51 | ///公交检索策略,默认使用BMK_TRANSIT_TIME_FIRST 52 | @property (nonatomic) BMKTransitPolicy transitPolicy; 53 | 54 | @end 55 | 56 | 57 | 58 | -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKSearchComponent.h: -------------------------------------------------------------------------------- 1 | // 2 | // BMKSearchComponent.h 3 | // SearchComponent 4 | // 5 | // Created by baidu on 14-3-10. 6 | // Copyright (c) 2014年 baidu. All rights reserved. 7 | // 8 | 9 | #import "BMKPoiSearchType.h" 10 | #import "BMKGeocodeType.h" 11 | #import "BMKRouteSearchType.h" 12 | #import "BMKPoiSearchOption.h" 13 | #import "BMKPoiSearch.h" 14 | #import "BMKGeocodeSearch.h" 15 | #import "BMKGeocodeSearchOption.h" 16 | #import "BMKShareURLSearch.h" 17 | #import "BMKShareUrlSearchOption.h" 18 | #import "BMKSuggestionSearch.h" 19 | #import "BMKSuggestionSearchOption.h" 20 | #import "BMKBusLineSearch.h" 21 | #import "BMKBusLineSearchOption.h" 22 | #import "BMKRouteSearch.h" 23 | #import "BMKRouteSearchOption.h" -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKShape.h: -------------------------------------------------------------------------------- 1 | /* 2 | * BMKShape.h 3 | * BMapKit 4 | * 5 | * Copyright 2011 Baidu Inc. All rights reserved. 6 | * 7 | */ 8 | 9 | #import 10 | #import"BMKAnnotation.h" 11 | 12 | /// 该类为一个抽象类,定义了基于BMKAnnotation的BMKShape类的基本属性和行为,不能直接使用,必须子类化之后才能使用 13 | @interface BMKShape : NSObject { 14 | } 15 | 16 | /// 要显示的标题 17 | @property (copy) NSString *title; 18 | /// 要显示的副标题 19 | @property (copy) NSString *subtitle; 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKShareURLSearch.h: -------------------------------------------------------------------------------- 1 | /* 2 | * BMKShareUrlSearch.h 3 | * BMapKit 4 | * 5 | * Copyright 2014 Baidu Inc. All rights reserved. 6 | * 7 | */ 8 | 9 | #import "BMKShareUrlSearchOption.h" 10 | 11 | ///分享URL结果类 12 | @interface BMKShareURLResult :NSObject 13 | { 14 | NSString * _url; 15 | } 16 | ///返回结果url 17 | @property (nonatomic,strong) NSString* url; 18 | @end 19 | 20 | 21 | @protocol BMKShareURLSearchDelegate; 22 | ///短串搜索服务 23 | @interface BMKShareURLSearch : NSObject 24 | /// 检索模块的Delegate,此处记得不用的时候需要置nil,否则影响内存的释放 25 | @property (nonatomic, weak) id delegate; 26 | 27 | /** 28 | *获取poi详情短串分享url 29 | *异步函数,返回结果在BMKShareUrlSearchDelegate的onGetPoiDetailShareURLResult通知 30 | *@param poiDetailShareUrlSearchOption poi详情短串分享检索信息类 31 | *@return 成功返回YES,否则返回NO 32 | */ 33 | - (BOOL)requestPoiDetailShareURL:(BMKPoiDetailShareURLOption *) poiDetailShareUrlSearchOption; 34 | 35 | /** 36 | *获取反geo短串分享url 37 | *异步函数,返回结果在BMKShareUrlSearchDelegate的onGetLocationShareURLResult通知 38 | *@param reverseGeoShareUrlSearchOption 反geo短串分享检索信息类 39 | *@return 成功返回YES,否则返回NO 40 | */ 41 | - (BOOL)requestLocationShareURL:(BMKLocationShareURLOption *)reverseGeoShareUrlSearchOption; 42 | 43 | 44 | @end 45 | 46 | ///搜索delegate,用于获取搜索结果 47 | @protocol BMKShareURLSearchDelegate 48 | @optional 49 | /** 50 | *返回poi详情分享url 51 | *@param searcher 搜索对象 52 | *@param result 返回结果 53 | *@param error 错误号,@see BMKSearchErrorCode 54 | */ 55 | - (void)onGetPoiDetailShareURLResult:(BMKShareURLSearch *)searcher result:(BMKShareURLResult *)result errorCode:(BMKSearchErrorCode)error; 56 | 57 | /** 58 | *返回位置信息分享url 59 | *@param searcher 搜索对象 60 | *@param result 返回结果 61 | *@param error 错误号,@see BMKSearchErrorCode 62 | */ 63 | - (void)onGetLocationShareURLResult:(BMKShareURLSearch *)searcher result:(BMKShareURLResult *)result errorCode:(BMKSearchErrorCode)error; 64 | 65 | @end 66 | 67 | 68 | 69 | 70 | 71 | -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKShareUrlSearchOption.h: -------------------------------------------------------------------------------- 1 | /* 2 | * BMKShareUrlSearchOption.h 3 | * BMapKit 4 | * 5 | * Copyright 2014 Baidu Inc. All rights reserved. 6 | * 7 | */ 8 | 9 | #import "BMKTypes.h" 10 | /// poi详情短串分享检索信息类 11 | @interface BMKPoiDetailShareURLOption : NSObject 12 | { 13 | NSString *_uid; 14 | } 15 | ///poi的uid 16 | @property (nonatomic, strong) NSString *uid; 17 | 18 | @end 19 | 20 | ///反geo短串分享检索信息类 21 | @interface BMKLocationShareURLOption : NSObject { 22 | NSString *_name; 23 | NSString *_snippet; 24 | CLLocationCoordinate2D _location; 25 | } 26 | ///名称 27 | @property (nonatomic, strong) NSString *name; 28 | ///通过短URL调起客户端时作为附加信息显示在名称下面 29 | @property (nonatomic, strong) NSString *snippet; 30 | ///经纬度 31 | @property (nonatomic, assign) CLLocationCoordinate2D location; 32 | @end 33 | 34 | -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKSuggestionSearch.h: -------------------------------------------------------------------------------- 1 | /* 2 | * BMKSuggestionSearch.h 3 | * BMapKit 4 | * 5 | * Copyright 2014 Baidu Inc. All rights reserved. 6 | * 7 | */ 8 | 9 | #import "BMKSuggestionSearchOption.h" 10 | #import "BMKTypes.h" 11 | 12 | ///Suggestion结果类 13 | @interface BMKSuggestionResult : NSObject 14 | { 15 | NSArray* _keyList; 16 | NSArray* _cityList; 17 | NSArray* _districtList; 18 | } 19 | ///key列表,成员是NSString 20 | @property (nonatomic, strong) NSArray* keyList; 21 | ///city列表,成员是NSString 22 | @property (nonatomic, strong) NSArray* cityList; 23 | ///district列表,成员是NSString 24 | @property (nonatomic, strong) NSArray* districtList; 25 | ///poiId列表,成员是NSString 26 | @property (nonatomic, strong) NSArray* poiIdList; 27 | ///pt列表,成员是:封装成NSValue的CLLocationCoordinate2D 28 | @property (nonatomic, strong) NSArray* ptList; 29 | 30 | @end 31 | 32 | @protocol BMKSuggestionSearchDelegate; 33 | ///sug搜索服务 34 | @interface BMKSuggestionSearch : NSObject 35 | /// 检索模块的Delegate,此处记得不用的时候需要置nil,否则影响内存的释放 36 | @property (nonatomic, weak) id delegate; 37 | 38 | /** 39 | *搜索建议检索 40 | *@param suggestionSearchOption sug检索信息类 41 | *异步函数,返回结果在BMKSuggestionSearchDelegate的onGetSuggestionResult通知 42 | *@return 成功返回YES,否则返回NO 43 | */ 44 | - (BOOL)suggestionSearch:(BMKSuggestionSearchOption*)suggestionSearchOption; 45 | 46 | @end 47 | 48 | ///搜索delegate,用于获取搜索结果 49 | @protocol BMKSuggestionSearchDelegate 50 | @optional 51 | /** 52 | *返回suggestion搜索结果 53 | *@param searcher 搜索对象 54 | *@param result 搜索结果 55 | *@param error 错误号,@see BMKSearchErrorCode 56 | */ 57 | - (void)onGetSuggestionResult:(BMKSuggestionSearch*)searcher result:(BMKSuggestionResult*)result errorCode:(BMKSearchErrorCode)error; 58 | 59 | 60 | @end 61 | 62 | 63 | 64 | 65 | -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKSuggestionSearchOption.h: -------------------------------------------------------------------------------- 1 | /* 2 | * BMKSuggestionSearchOption.h 3 | * BMapKit 4 | * 5 | * Copyright 2014 Baidu Inc. All rights reserved. 6 | * 7 | */ 8 | 9 | #import 10 | /// sug检索信息类 11 | @interface BMKSuggestionSearchOption : NSObject 12 | { 13 | NSString *_keyword; 14 | NSString *_cityname; 15 | 16 | } 17 | ///搜索关键字 18 | @property (nonatomic, strong) NSString *keyword; 19 | ///城市名 20 | @property (nonatomic, strong) NSString *cityname; 21 | 22 | @end 23 | 24 | 25 | -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKUserLocation.h: -------------------------------------------------------------------------------- 1 | // 2 | // BMKUserLocation.h 3 | // BaseComponent 4 | // 5 | // Created by Baidu on 3/26/14. 6 | // Copyright (c) 2014 baidu. All rights reserved. 7 | // 8 | #import 9 | #import 10 | #import "BMKBaseComponent.h" 11 | @class CLLocation; 12 | @class CLHeading; 13 | @interface BMKUserLocation : NSObject 14 | 15 | /// 位置更新状态,如果正在更新位置信息,则该值为YES 16 | @property (readonly, nonatomic, getter=isUpdating) BOOL updating; 17 | 18 | /// 位置信息,如果BMKMapView的showsUserLocation为NO,或者尚未定位成功,则该值为nil 19 | @property (readonly, nonatomic,strong) CLLocation *location; 20 | 21 | /// heading信息,如果BMKMapView的showsUserLocation为NO,或者尚未定位成功,则该值为nil 22 | @property (readonly, nonatomic, strong) CLHeading *heading; 23 | 24 | /// 定位标注点要显示的标题信息 25 | @property (strong, nonatomic) NSString *title; 26 | 27 | /// 定位标注点要显示的子标题信息. 28 | @property (strong, nonatomic) NSString *subtitle; 29 | 30 | @end 31 | -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKUtilsComponent.h: -------------------------------------------------------------------------------- 1 | // 2 | // BMKUtilsComponent.h 3 | // baiduMapSdk 4 | // 5 | // Created by baidu on 14-4-22. 6 | // Copyright (c) 2014年 baidu. All rights reserved. 7 | // 8 | 9 | 10 | #import "BMKGeometry.h" 11 | #import "BMKNavigation.h" 12 | #import "BMKOpenPoi.h" 13 | #import "BMKOpenRoute.h" 14 | #import "BMKOpenPoiOption.h" 15 | #import "BMKOpenRouteOption.h" 16 | #import "BMKFavPoiManager.h" 17 | -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMapKit.h: -------------------------------------------------------------------------------- 1 | /* 2 | * BMapKit.h 3 | * copyright 2015 Baidu Inc. All rights reserved. 4 | */ 5 | 6 | #import "BMKBaseComponent.h" 7 | #import "BMKMapComponent.h" 8 | #import "BMKSearchComponent.h" 9 | #import "BMKCloudSearchComponent.h" 10 | #import "BMKLocationComponent.h" 11 | #import "BMKUtilsComponent.h" 12 | #import "BMKRadarComponent.h" 13 | -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/files/Beijing, China.gpx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Beijing, China 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/files/DVDirectory.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JDongKhan/HsUber/caca464a76022133f6bb3973c39ed1c24f3ddaf3/Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/files/DVDirectory.cfg -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/files/DVDirectory_Retina.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JDongKhan/HsUber/caca464a76022133f6bb3973c39ed1c24f3ddaf3/Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/files/DVDirectory_Retina.cfg -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/files/DVHotcity.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JDongKhan/HsUber/caca464a76022133f6bb3973c39ed1c24f3ddaf3/Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/files/DVHotcity.cfg -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/files/DVHotcity_Retina.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JDongKhan/HsUber/caca464a76022133f6bb3973c39ed1c24f3ddaf3/Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/files/DVHotcity_Retina.cfg -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/files/DVVersion.cfg: -------------------------------------------------------------------------------- 1 | {"d":1107,"note":0,"maps":1064,"itss":1023,"doms":1056,"c":1127,"v_rsc":138,"h":1115} -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/files/DVVersion_Retina.cfg: -------------------------------------------------------------------------------- 1 | {"d":1113,"note":0,"maps":1067,"itss":1023,"doms":1059,"c":1133,"v_rsc":138,"h":1121} -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/files/ResPack.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JDongKhan/HsUber/caca464a76022133f6bb3973c39ed1c24f3ddaf3/Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/files/ResPack.rs -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/files/channel: -------------------------------------------------------------------------------- 1 | 1099a -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/files/mapstyle.sty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JDongKhan/HsUber/caca464a76022133f6bb3973c39ed1c24f3ddaf3/Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/files/mapstyle.sty -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/files/satellitestyle.sty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JDongKhan/HsUber/caca464a76022133f6bb3973c39ed1c24f3ddaf3/Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/files/satellitestyle.sty -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/files/trafficstyle.sty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JDongKhan/HsUber/caca464a76022133f6bb3973c39ed1c24f3ddaf3/Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/files/trafficstyle.sty -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/baidumap_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JDongKhan/HsUber/caca464a76022133f6bb3973c39ed1c24f3ddaf3/Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/baidumap_logo.png -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/baidumap_logo@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JDongKhan/HsUber/caca464a76022133f6bb3973c39ed1c24f3ddaf3/Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/baidumap_logo@2x.png -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/bnavi_icon_location_fixed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JDongKhan/HsUber/caca464a76022133f6bb3973c39ed1c24f3ddaf3/Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/bnavi_icon_location_fixed.png -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/bnavi_icon_location_fixed@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JDongKhan/HsUber/caca464a76022133f6bb3973c39ed1c24f3ddaf3/Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/bnavi_icon_location_fixed@2x.png -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/direction_wheel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JDongKhan/HsUber/caca464a76022133f6bb3973c39ed1c24f3ddaf3/Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/direction_wheel.png -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/direction_wheel@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JDongKhan/HsUber/caca464a76022133f6bb3973c39ed1c24f3ddaf3/Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/direction_wheel@2x.png -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_action_paopao_middle_left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JDongKhan/HsUber/caca464a76022133f6bb3973c39ed1c24f3ddaf3/Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_action_paopao_middle_left.png -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_action_paopao_middle_left@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JDongKhan/HsUber/caca464a76022133f6bb3973c39ed1c24f3ddaf3/Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_action_paopao_middle_left@2x.png -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_action_paopao_middle_left_highlighted.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JDongKhan/HsUber/caca464a76022133f6bb3973c39ed1c24f3ddaf3/Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_action_paopao_middle_left_highlighted.png -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_action_paopao_middle_left_highlighted@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JDongKhan/HsUber/caca464a76022133f6bb3973c39ed1c24f3ddaf3/Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_action_paopao_middle_left_highlighted@2x.png -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_action_paopao_middle_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JDongKhan/HsUber/caca464a76022133f6bb3973c39ed1c24f3ddaf3/Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_action_paopao_middle_right.png -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_action_paopao_middle_right@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JDongKhan/HsUber/caca464a76022133f6bb3973c39ed1c24f3ddaf3/Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_action_paopao_middle_right@2x.png -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_action_paopao_middle_right_highlighted.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JDongKhan/HsUber/caca464a76022133f6bb3973c39ed1c24f3ddaf3/Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_action_paopao_middle_right_highlighted.png -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_action_paopao_middle_right_highlighted@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JDongKhan/HsUber/caca464a76022133f6bb3973c39ed1c24f3ddaf3/Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_action_paopao_middle_right_highlighted@2x.png -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_cellphone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JDongKhan/HsUber/caca464a76022133f6bb3973c39ed1c24f3ddaf3/Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_cellphone.png -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_cellphone2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JDongKhan/HsUber/caca464a76022133f6bb3973c39ed1c24f3ddaf3/Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_cellphone2.png -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_cellphone2@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JDongKhan/HsUber/caca464a76022133f6bb3973c39ed1c24f3ddaf3/Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_cellphone2@2x.png -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_cellphone@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JDongKhan/HsUber/caca464a76022133f6bb3973c39ed1c24f3ddaf3/Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_cellphone@2x.png -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_center_point.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JDongKhan/HsUber/caca464a76022133f6bb3973c39ed1c24f3ddaf3/Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_center_point.png -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_center_point@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JDongKhan/HsUber/caca464a76022133f6bb3973c39ed1c24f3ddaf3/Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_center_point@2x.png -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_compass.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JDongKhan/HsUber/caca464a76022133f6bb3973c39ed1c24f3ddaf3/Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_compass.png -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_compass@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JDongKhan/HsUber/caca464a76022133f6bb3973c39ed1c24f3ddaf3/Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_compass@2x.png -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_compass_background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JDongKhan/HsUber/caca464a76022133f6bb3973c39ed1c24f3ddaf3/Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_compass_background.png -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_compass_background@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JDongKhan/HsUber/caca464a76022133f6bb3973c39ed1c24f3ddaf3/Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_compass_background@2x.png -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_direction.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JDongKhan/HsUber/caca464a76022133f6bb3973c39ed1c24f3ddaf3/Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_direction.png -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_direction@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JDongKhan/HsUber/caca464a76022133f6bb3973c39ed1c24f3ddaf3/Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_direction@2x.png -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_line_nofocus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JDongKhan/HsUber/caca464a76022133f6bb3973c39ed1c24f3ddaf3/Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_line_nofocus.png -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_nav_bus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JDongKhan/HsUber/caca464a76022133f6bb3973c39ed1c24f3ddaf3/Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_nav_bus.png -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_nav_bus@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JDongKhan/HsUber/caca464a76022133f6bb3973c39ed1c24f3ddaf3/Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_nav_bus@2x.png -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_nav_end.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JDongKhan/HsUber/caca464a76022133f6bb3973c39ed1c24f3ddaf3/Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_nav_end.png -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_nav_end@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JDongKhan/HsUber/caca464a76022133f6bb3973c39ed1c24f3ddaf3/Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_nav_end@2x.png -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_nav_rail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JDongKhan/HsUber/caca464a76022133f6bb3973c39ed1c24f3ddaf3/Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_nav_rail.png -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_nav_rail@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JDongKhan/HsUber/caca464a76022133f6bb3973c39ed1c24f3ddaf3/Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_nav_rail@2x.png -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_nav_start.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JDongKhan/HsUber/caca464a76022133f6bb3973c39ed1c24f3ddaf3/Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_nav_start.png -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_nav_start@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JDongKhan/HsUber/caca464a76022133f6bb3973c39ed1c24f3ddaf3/Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_nav_start@2x.png -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_nav_waypoint.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JDongKhan/HsUber/caca464a76022133f6bb3973c39ed1c24f3ddaf3/Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_nav_waypoint.png -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_nav_waypoint@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JDongKhan/HsUber/caca464a76022133f6bb3973c39ed1c24f3ddaf3/Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_nav_waypoint@2x.png -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_paopao_middle_left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JDongKhan/HsUber/caca464a76022133f6bb3973c39ed1c24f3ddaf3/Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_paopao_middle_left.png -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_paopao_middle_left@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JDongKhan/HsUber/caca464a76022133f6bb3973c39ed1c24f3ddaf3/Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_paopao_middle_left@2x.png -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_paopao_middle_left_highlighted.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JDongKhan/HsUber/caca464a76022133f6bb3973c39ed1c24f3ddaf3/Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_paopao_middle_left_highlighted.png -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_paopao_middle_left_highlighted@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JDongKhan/HsUber/caca464a76022133f6bb3973c39ed1c24f3ddaf3/Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_paopao_middle_left_highlighted@2x.png -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_paopao_middle_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JDongKhan/HsUber/caca464a76022133f6bb3973c39ed1c24f3ddaf3/Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_paopao_middle_right.png -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_paopao_middle_right@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JDongKhan/HsUber/caca464a76022133f6bb3973c39ed1c24f3ddaf3/Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_paopao_middle_right@2x.png -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_paopao_middle_right_highlighted.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JDongKhan/HsUber/caca464a76022133f6bb3973c39ed1c24f3ddaf3/Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_paopao_middle_right_highlighted.png -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_paopao_middle_right_highlighted@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JDongKhan/HsUber/caca464a76022133f6bb3973c39ed1c24f3ddaf3/Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/icon_paopao_middle_right_highlighted@2x.png -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/lineDashTexture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JDongKhan/HsUber/caca464a76022133f6bb3973c39ed1c24f3ddaf3/Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/lineDashTexture.png -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/pin_green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JDongKhan/HsUber/caca464a76022133f6bb3973c39ed1c24f3ddaf3/Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/pin_green.png -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/pin_green@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JDongKhan/HsUber/caca464a76022133f6bb3973c39ed1c24f3ddaf3/Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/pin_green@2x.png -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/pin_purple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JDongKhan/HsUber/caca464a76022133f6bb3973c39ed1c24f3ddaf3/Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/pin_purple.png -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/pin_purple@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JDongKhan/HsUber/caca464a76022133f6bb3973c39ed1c24f3ddaf3/Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/pin_purple@2x.png -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/pin_red.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JDongKhan/HsUber/caca464a76022133f6bb3973c39ed1c24f3ddaf3/Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/pin_red.png -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/pin_red@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JDongKhan/HsUber/caca464a76022133f6bb3973c39ed1c24f3ddaf3/Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Resources/mapapi.bundle/images/pin_red@2x.png -------------------------------------------------------------------------------- /Pods/BaiduMapAPI/Release-universal/BaiduMapAPI.framework/readme.txt: -------------------------------------------------------------------------------- 1 | 百度地图iOS SDK自v2.3.0起,采用可定制的形式为您提供开发包,当前开发包包含如下功能: 2 | -------------------------------------------------------------------------------------- 3 | 基础地图:包括基本矢量地图、卫星图、实时路况图和各种地图覆盖物,此外还包括各种与地图相关的操作和事件监听; 4 | 检索功能:包括POI检索,公交信息查询,路线规划,地理编码/反地理编码,在线建议查询,短串分享等; 5 | LBS云检索:包括LBS云检索(周边、区域、城市内、详情); 6 | 定位功能:获取当前位置信息; 7 | 计算工具:包括测距(两点之间距离)、坐标转换、调起百度地图等功能; 8 | 周边雷达:包含位置信息上传和检索周边相同应用的用户位置信息功能; 9 | 10 | 11 | -------------------------------------------------------------------------------------- 12 | 地图SDK功能介绍(全功能开发包): 13 | 14 | 地图:提供地图展示和地图操作功能; 15 | POI检索:支持周边检索、区域检索和城市内兴趣点检索; 16 | 地理编码:提供经纬度和地址信息相互转化的功能接口; 17 | 线路规划:支持公交、驾车、步行三种方式的线路规划; 18 | 覆盖物图层:支持在地图上添加覆盖物(标注、几何图形、热力图、地形图图层等),展示更丰富的LBS信息; 19 | 定位:获取当前位置信息,并在地图上展示(支持普通、跟随、罗盘三种模式); 20 | 离线地图:使用离线地图可节省用户流量,提供更好的地图展示效果; 21 | 调启百度地图:利用SDK接口,直接在本地打开百度地图客户端或WebApp,实现地图功能; 22 | 周边雷达:利用周边雷达功能,开发者可在App内低成本、快速实现查找周边使用相同App的用户位置的功能; 23 | LBS云检索:支持查询存储在LBS云内的自有数据; 24 | 特色功能:提供短串分享、Place详情检索、热力图等特色功能,帮助开发者搭建功能更加强大的应用; 25 | 26 | -------------------------------------------------------------------------------------- 27 | 较之v2.8.0,升级功能: 28 | 29 | 注:百度地图iOS SDK向广大开发者提供了配置更简单的 .framework形式的开发包,请开发者选择此种类型的开发包使用。自V2.8.1后,百度地图iOS SDK将不再提供 .a形式的开发包。 30 | 31 | 【修复】 32 | 33 | 修复了升级IOS 9 beta 3系统后闪退的问题 34 | 35 | 【提示】 36 | 1、由于iOS9改用更安全的https,为了能够在iOS9中正常使用地图SDK,请在"Info.plist"中进行如下配置,否则影响SDK的使用。 37 | NSAppTransportSecurity 38 | 39 | NSAllowsArbitraryLoads 40 | 41 | 42 | 2、如果在iOS9中使用了调起百度地图客户端功能,必须在"Info.plist"中进行如下配置,否则不能调起百度地图客户端。 43 | LSApplicationQueriesSchemes 44 | 45 | baidumap 46 | -------------------------------------------------------------------------------- /Pods/Headers/Private/SMTableView/SMBlockDescription.h: -------------------------------------------------------------------------------- 1 | ../../../SMTableView/Framework/TableView/SMBlockDescription.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SMTableView/SMCollectionViewSimplifyModel.h: -------------------------------------------------------------------------------- 1 | ../../../SMTableView/Framework/CollectionView/SMCollectionViewSimplifyModel.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SMTableView/SMRefreshManager.h: -------------------------------------------------------------------------------- 1 | ../../../SMTableView/Framework/ScrollView/SMRefreshManager.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SMTableView/SMScrollViewRefreshDataSource.h: -------------------------------------------------------------------------------- 1 | ../../../SMTableView/Framework/ScrollView/SMScrollViewRefreshDataSource.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SMTableView/SMTableViewSimplifyModel.h: -------------------------------------------------------------------------------- 1 | ../../../SMTableView/Framework/TableView/SMTableViewSimplifyModel.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SMTableView/UICollectionView+simplify.h: -------------------------------------------------------------------------------- 1 | ../../../SMTableView/Framework/CollectionView/UICollectionView+simplify.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SMTableView/UICollectionViewCell+simplify.h: -------------------------------------------------------------------------------- 1 | ../../../SMTableView/Framework/CollectionView/UICollectionViewCell+simplify.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SMTableView/UIScrollView+refreshable.h: -------------------------------------------------------------------------------- 1 | ../../../SMTableView/Framework/ScrollView/UIScrollView+refreshable.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SMTableView/UITableView+simplify.h: -------------------------------------------------------------------------------- 1 | ../../../SMTableView/Framework/TableView/UITableView+simplify.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SMTableView/UITableViewCell+simplify.h: -------------------------------------------------------------------------------- 1 | ../../../SMTableView/Framework/TableView/UITableViewCell+simplify.h -------------------------------------------------------------------------------- /Pods/Headers/Private/UITableView+FDTemplateLayoutCell/UITableView+FDIndexPathHeightCache.h: -------------------------------------------------------------------------------- 1 | ../../../UITableView+FDTemplateLayoutCell/Classes/UITableView+FDIndexPathHeightCache.h -------------------------------------------------------------------------------- /Pods/Headers/Private/UITableView+FDTemplateLayoutCell/UITableView+FDKeyedHeightCache.h: -------------------------------------------------------------------------------- 1 | ../../../UITableView+FDTemplateLayoutCell/Classes/UITableView+FDKeyedHeightCache.h -------------------------------------------------------------------------------- /Pods/Headers/Private/UITableView+FDTemplateLayoutCell/UITableView+FDTemplateLayoutCell.h: -------------------------------------------------------------------------------- 1 | ../../../UITableView+FDTemplateLayoutCell/Classes/UITableView+FDTemplateLayoutCell.h -------------------------------------------------------------------------------- /Pods/Headers/Private/UITableView+FDTemplateLayoutCell/UITableView+FDTemplateLayoutCellDebug.h: -------------------------------------------------------------------------------- 1 | ../../../UITableView+FDTemplateLayoutCell/Classes/UITableView+FDTemplateLayoutCellDebug.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKActionPaopaoView.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKActionPaopaoView.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKAnnotation.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKAnnotation.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKAnnotationView.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKAnnotationView.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKArcline.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKArcline.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKArclineView.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKArclineView.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKBaseComponent.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKBaseComponent.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKBusLineSearch.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKBusLineSearch.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKBusLineSearchOption.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKBusLineSearchOption.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKCircle.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKCircle.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKCircleView.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKCircleView.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKCloudPOIList.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKCloudPOIList.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKCloudSearch.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKCloudSearch.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKCloudSearchComponent.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKCloudSearchComponent.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKCloudSearchInfo.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKCloudSearchInfo.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKFavPoiInfo.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKFavPoiInfo.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKFavPoiManager.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKFavPoiManager.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKGeneralDelegate.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKGeneralDelegate.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKGeocodeSearch.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKGeocodeSearch.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKGeocodeSearchOption.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKGeocodeSearchOption.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKGeocodeType.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKGeocodeType.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKGeometry.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKGeometry.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKGradient.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKGradient.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKGroundOverlay.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKGroundOverlay.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKGroundOverlayView.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKGroundOverlayView.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKHeatMap.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKHeatMap.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKLocationComponent.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKLocationComponent.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKLocationService.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKLocationService.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKLocationViewDisplayParam.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKLocationViewDisplayParam.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKMapComponent.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKMapComponent.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKMapManager.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKMapManager.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKMapStatus.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKMapStatus.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKMapView.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKMapView.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKMultiPoint.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKMultiPoint.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKNavigation.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKNavigation.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKOfflineMap.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKOfflineMap.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKOfflineMapType.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKOfflineMapType.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKOpenOption.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKOpenOption.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKOpenPoi.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKOpenPoi.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKOpenPoiOption.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKOpenPoiOption.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKOpenRoute.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKOpenRoute.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKOpenRouteOption.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKOpenRouteOption.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKOverlay.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKOverlay.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKOverlayGLBasicView.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKOverlayGLBasicView.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKOverlayPathView.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKOverlayPathView.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKOverlayView.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKOverlayView.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKPinAnnotationView.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKPinAnnotationView.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKPoiSearch.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKPoiSearch.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKPoiSearchOption.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKPoiSearchOption.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKPoiSearchType.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKPoiSearchType.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKPointAnnotation.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKPointAnnotation.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKPolygon.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKPolygon.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKPolygonView.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKPolygonView.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKPolyline.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKPolyline.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKPolylineView.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKPolylineView.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKRadarComponent.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKRadarComponent.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKRadarManager.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKRadarManager.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKRadarOption.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKRadarOption.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKRadarResult.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKRadarResult.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKRouteSearch.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKRouteSearch.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKRouteSearchOption.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKRouteSearchOption.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKRouteSearchType.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKRouteSearchType.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKSearchComponent.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKSearchComponent.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKShape.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKShape.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKShareURLSearch.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKShareURLSearch.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKShareUrlSearchOption.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKShareUrlSearchOption.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKSuggestionSearch.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKSuggestionSearch.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKSuggestionSearchOption.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKSuggestionSearchOption.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKTypes.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKTypes.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKUserLocation.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKUserLocation.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKUtilsComponent.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKUtilsComponent.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMKVersion.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMKVersion.h -------------------------------------------------------------------------------- /Pods/Headers/Public/BaiduMapAPI/BaiduMapAPI/BMapKit.h: -------------------------------------------------------------------------------- 1 | ../../../../BaiduMapAPI/Release-universal/BaiduMapAPI.framework/Headers/BMapKit.h -------------------------------------------------------------------------------- /Pods/Headers/Public/SMTableView/SMBlockDescription.h: -------------------------------------------------------------------------------- 1 | ../../../SMTableView/Framework/TableView/SMBlockDescription.h -------------------------------------------------------------------------------- /Pods/Headers/Public/SMTableView/SMCollectionViewSimplifyModel.h: -------------------------------------------------------------------------------- 1 | ../../../SMTableView/Framework/CollectionView/SMCollectionViewSimplifyModel.h -------------------------------------------------------------------------------- /Pods/Headers/Public/SMTableView/SMRefreshManager.h: -------------------------------------------------------------------------------- 1 | ../../../SMTableView/Framework/ScrollView/SMRefreshManager.h -------------------------------------------------------------------------------- /Pods/Headers/Public/SMTableView/SMScrollViewRefreshDataSource.h: -------------------------------------------------------------------------------- 1 | ../../../SMTableView/Framework/ScrollView/SMScrollViewRefreshDataSource.h -------------------------------------------------------------------------------- /Pods/Headers/Public/SMTableView/SMTableViewSimplifyModel.h: -------------------------------------------------------------------------------- 1 | ../../../SMTableView/Framework/TableView/SMTableViewSimplifyModel.h -------------------------------------------------------------------------------- /Pods/Headers/Public/SMTableView/UICollectionView+simplify.h: -------------------------------------------------------------------------------- 1 | ../../../SMTableView/Framework/CollectionView/UICollectionView+simplify.h -------------------------------------------------------------------------------- /Pods/Headers/Public/SMTableView/UICollectionViewCell+simplify.h: -------------------------------------------------------------------------------- 1 | ../../../SMTableView/Framework/CollectionView/UICollectionViewCell+simplify.h -------------------------------------------------------------------------------- /Pods/Headers/Public/SMTableView/UIScrollView+refreshable.h: -------------------------------------------------------------------------------- 1 | ../../../SMTableView/Framework/ScrollView/UIScrollView+refreshable.h -------------------------------------------------------------------------------- /Pods/Headers/Public/SMTableView/UITableView+simplify.h: -------------------------------------------------------------------------------- 1 | ../../../SMTableView/Framework/TableView/UITableView+simplify.h -------------------------------------------------------------------------------- /Pods/Headers/Public/SMTableView/UITableViewCell+simplify.h: -------------------------------------------------------------------------------- 1 | ../../../SMTableView/Framework/TableView/UITableViewCell+simplify.h -------------------------------------------------------------------------------- /Pods/Headers/Public/UITableView+FDTemplateLayoutCell/UITableView+FDIndexPathHeightCache.h: -------------------------------------------------------------------------------- 1 | ../../../UITableView+FDTemplateLayoutCell/Classes/UITableView+FDIndexPathHeightCache.h -------------------------------------------------------------------------------- /Pods/Headers/Public/UITableView+FDTemplateLayoutCell/UITableView+FDKeyedHeightCache.h: -------------------------------------------------------------------------------- 1 | ../../../UITableView+FDTemplateLayoutCell/Classes/UITableView+FDKeyedHeightCache.h -------------------------------------------------------------------------------- /Pods/Headers/Public/UITableView+FDTemplateLayoutCell/UITableView+FDTemplateLayoutCell.h: -------------------------------------------------------------------------------- 1 | ../../../UITableView+FDTemplateLayoutCell/Classes/UITableView+FDTemplateLayoutCell.h -------------------------------------------------------------------------------- /Pods/Headers/Public/UITableView+FDTemplateLayoutCell/UITableView+FDTemplateLayoutCellDebug.h: -------------------------------------------------------------------------------- 1 | ../../../UITableView+FDTemplateLayoutCell/Classes/UITableView+FDTemplateLayoutCellDebug.h -------------------------------------------------------------------------------- /Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - BaiduMapAPI (2.8.1): 3 | - BaiduMapAPI/Default (= 2.8.1) 4 | - BaiduMapAPI/Default (2.8.1): 5 | - BaiduMapAPI/Universal 6 | - BaiduMapAPI/Universal (2.8.1) 7 | - SMTableView (2.3.4): 8 | - UITableView+FDTemplateLayoutCell (~> 1.3) 9 | - UITableView+FDTemplateLayoutCell (1.6) 10 | 11 | DEPENDENCIES: 12 | - BaiduMapAPI 13 | - SMTableView 14 | 15 | SPEC CHECKSUMS: 16 | BaiduMapAPI: 2d03e12a51d5c6c49ece555c6bdda8562635cc02 17 | SMTableView: 5add0d695ee5c49b6806152750b184b2fabe2e45 18 | UITableView+FDTemplateLayoutCell: 5c949b4a5059c404b442926c0e80f81d10a2d66f 19 | 20 | PODFILE CHECKSUM: 0bc74587147887443efe2d4e2d29276a4ca3f3cd 21 | 22 | COCOAPODS: 1.2.0.beta.3 23 | -------------------------------------------------------------------------------- /Pods/SMTableView/Framework/CollectionView/SMCollectionViewSimplifyModel.h: -------------------------------------------------------------------------------- 1 | // 2 | // SMCollectionViewSimplifyModel.h 3 | // SMCore 4 | // 5 | // Created by 王金东 on 16/1/22. 6 | // Copyright © 2016年 王金东. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | /** 13 | ** 因项目collectionView用的不多,也不复杂,所以该类功能比较简陋 14 | ** 15 | ** 16 | */ 17 | @interface SMCollectionViewSimplifyModel : NSObject 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /Pods/SMTableView/Framework/CollectionView/UICollectionView+simplify.h: -------------------------------------------------------------------------------- 1 | // 2 | // UICollectionView+simplify.h 3 | // SMCore 4 | // 5 | // Created by 王金东 on 15/12/18. 6 | // Copyright © 2015年 王金东. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "SMCollectionViewSimplifyModel.h" 11 | 12 | 13 | 14 | @interface UICollectionView (simplify) 15 | 16 | @property (nonatomic, assign) BOOL enableSimplify; 17 | 18 | /** 19 | *@brief controler 20 | **/ 21 | @property (nonatomic, weak) UIViewController *viewController; 22 | 23 | /** 24 | *@brief 是否分块 25 | **/ 26 | @property (nonatomic, assign) BOOL sectionable; 27 | 28 | /** 29 | * @brief 数据源 30 | */ 31 | @property (nonatomic, strong) NSMutableArray *itemsArray; 32 | 33 | 34 | /** 35 | * @brief cell的类名 36 | **/ 37 | @property (nonatomic, assign) id collectionViewCellClass; 38 | 39 | 40 | /** 41 | *@brief 如果itemsArray里面是NSDictionary 则第二级的数组按照keyOfItemArray来取 42 | * 默认是items 43 | **/ 44 | 45 | @property (nonatomic, copy) NSString *keyOfItemArray; 46 | 47 | 48 | @end 49 | 50 | -------------------------------------------------------------------------------- /Pods/SMTableView/Framework/CollectionView/UICollectionViewCell+simplify.h: -------------------------------------------------------------------------------- 1 | // 2 | // UICollectionViewCell+simplify.h 3 | // SMCore 4 | // 5 | // Created by 王金东 on 15/12/18. 6 | // Copyright © 2015年 王金东. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface UICollectionViewCell (simplify) 12 | 13 | /** 14 | *@brief 行数据 15 | **/ 16 | @property (nonatomic, strong) id dataInfo; 17 | 18 | //则开始调用此方法渲染 19 | - (void)render:(id)dataInfo; 20 | 21 | 22 | /** 23 | *@brief 上层的viewcontroller 24 | **/ 25 | @property (nonatomic, weak) UIViewController *viewController; 26 | 27 | @end 28 | -------------------------------------------------------------------------------- /Pods/SMTableView/Framework/CollectionView/UICollectionViewCell+simplify.m: -------------------------------------------------------------------------------- 1 | // 2 | // UICollectionViewCell+simplify.m 3 | // SMCore 4 | // 5 | // Created by 王金东 on 15/12/18. 6 | // Copyright © 2015年 王金东. All rights reserved. 7 | // 8 | 9 | #import "UICollectionViewCell+simplify.h" 10 | #import 11 | 12 | static const void *cViewCellKeyForViewController= &cViewCellKeyForViewController; 13 | static const void *cViewKeyForDataInfo = &cViewKeyForDataInfo; 14 | 15 | @implementation UICollectionViewCell (simplify) 16 | 17 | - (void)setDataInfo:(id)dataInfo { 18 | objc_setAssociatedObject(self, cViewKeyForDataInfo, dataInfo, OBJC_ASSOCIATION_RETAIN_NONATOMIC); 19 | } 20 | 21 | - (id)dataInfo { 22 | return objc_getAssociatedObject(self, cViewKeyForDataInfo); 23 | } 24 | 25 | - (void)render:(id)dataInfo { 26 | //不知道该咋处理,还是你自己来吧 27 | } 28 | 29 | 30 | - (void)setViewController:(UIViewController *)viewController { 31 | objc_setAssociatedObject(self, cViewCellKeyForViewController, viewController, OBJC_ASSOCIATION_ASSIGN); 32 | } 33 | - (UIViewController *)viewController { 34 | return objc_getAssociatedObject(self, cViewCellKeyForViewController); 35 | } 36 | 37 | @end 38 | -------------------------------------------------------------------------------- /Pods/SMTableView/Framework/ScrollView/SMRefreshManager.h: -------------------------------------------------------------------------------- 1 | // 2 | // SMBaseRefreshManager.h 3 | // tableivewSimplifyDemo 4 | // 5 | // Created by 王金东 on 14/12/15. 6 | // Copyright © 2015年 王金东. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "SMScrollViewRefreshDataSource.h" 11 | 12 | 13 | @interface SMRefreshManager : NSObject 14 | 15 | 16 | + (instancetype)shareInstance; 17 | //全局配置即可 18 | - (void)registerRefreshViewDataSource:(id)delegate ; 19 | - (void)registerRefreshViewDataSource:(id)delegate forKey:(NSString *)key; 20 | - (id)refreshViewDataSourceForKey:(NSString *)key; 21 | 22 | 23 | @end 24 | -------------------------------------------------------------------------------- /Pods/SMTableView/Framework/ScrollView/SMRefreshManager.m: -------------------------------------------------------------------------------- 1 | // 2 | // SMBaseRefreshManager.m 3 | // tableivewSimplifyDemo 4 | // 5 | // Created by 王金东 on 14/12/15. 6 | // Copyright © 2015年 王金东. All rights reserved. 7 | // 8 | 9 | #import "SMRefreshManager.h" 10 | 11 | #define defaultKey @"SMRefreshManager_global"; 12 | 13 | @implementation SMRefreshManager{ 14 | NSMutableDictionary *_refreshDelegate; 15 | } 16 | 17 | + (instancetype)shareInstance { 18 | static SMRefreshManager *sharedInstance = nil; 19 | static dispatch_once_t predicate; 20 | dispatch_once(&predicate, ^{ 21 | sharedInstance = [[self alloc] init]; 22 | }); 23 | return sharedInstance; 24 | } 25 | 26 | - (void)registerRefreshViewDataSource:(id)delegate { 27 | [self registerRefreshViewDataSource:delegate forKey:nil]; 28 | } 29 | - (void)registerRefreshViewDataSource:(id)delegate forKey:(NSString *)key{ 30 | static dispatch_once_t onceToken; 31 | dispatch_once(&onceToken, ^{ 32 | _refreshDelegate = [NSMutableDictionary dictionary]; 33 | }); 34 | if(key == nil){ 35 | key = defaultKey; 36 | } 37 | [_refreshDelegate setObject:delegate forKey:key]; 38 | } 39 | 40 | - (id)refreshViewDataSourceForKey:(NSString *)key { 41 | if(key == nil){ 42 | key = defaultKey; 43 | } 44 | return [_refreshDelegate objectForKey:key]; 45 | } 46 | 47 | 48 | @end 49 | -------------------------------------------------------------------------------- /Pods/SMTableView/Framework/ScrollView/SMScrollViewRefreshDataSource.h: -------------------------------------------------------------------------------- 1 | // 2 | // SMBaseTableViewRefreshDelegate.h 3 | // tableivewSimplifyDemo 4 | // 5 | // Created by 王金东 on 14/12/15. 6 | // Copyright © 2015年 王金东. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | @protocol SMScrollViewRefreshDataSource 13 | 14 | - (void)scrollView:(UIScrollView *)scrollView addHeaderWithTarget:(id)delegate action:(SEL)action; 15 | - (void)scrollView:(UIScrollView *)scrollView addFooterWithTarget:(id)delegate action:(SEL)action; 16 | 17 | - (void)removeHeaderFromScrollView:(UIScrollView *)scrollView ; 18 | - (void)removeFooterFromScrollView:(UIScrollView *)scrollView ; 19 | 20 | - (void)headerEndRefreshingFromScrollView:(UIScrollView *)scrollView ; 21 | - (void)footerEndRefreshingFromScrollView:(UIScrollView *)scrollView; 22 | 23 | 24 | @end 25 | -------------------------------------------------------------------------------- /Pods/SMTableView/Framework/ScrollView/UIScrollView+refreshable.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIScrollView+refreshable.h 3 | // SMTableView 4 | // 5 | // Created by 王金东 on 2017/7/12. 6 | // Copyright © 2017年 王金东. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | 12 | typedef NS_ENUM(NSInteger, SMRefreshScrollViewType) { 13 | SMRefreshScrollViewHeader,//head类型 14 | SMRefreshScrollViewFooter, 15 | }; 16 | 17 | typedef void(^HeaderRereshing) (UIScrollView *scrollView); 18 | typedef void(^FooterRereshing) (UIScrollView *scrollView); 19 | 20 | @interface UIScrollView (refreshable) 21 | 22 | @property (nonatomic, assign) BOOL refreshHeaderable; 23 | @property (nonatomic, assign) BOOL refreshFooterable; 24 | 25 | @property (nonatomic, copy) NSString *refreshKey; 26 | 27 | @property (nonatomic, copy) HeaderRereshing headerRereshing; 28 | @property (nonatomic, copy) FooterRereshing footerRereshing; 29 | 30 | /** 31 | *@brief 加载完毕后调用该方法结束加载状态 32 | **/ 33 | - (void)endRefresh:(SMRefreshScrollViewType)type; 34 | 35 | 36 | @end 37 | -------------------------------------------------------------------------------- /Pods/SMTableView/Framework/TableView/SMBlockDescription.h: -------------------------------------------------------------------------------- 1 | // 2 | // SMBaseRefreshManager.h 3 | // tableivewSimplifyDemo 4 | // 5 | // Created by 王金东 on 14/12/15. 6 | // Copyright © 2015年 王金东. All rights reserved. 7 | // 8 | 9 | 10 | enum { 11 | SMBlockFlagsHasCopyDispose = (1 << 25), 12 | SMBlockFlagsHasCtor = (1 << 26), // helpers have C++ code 13 | SMBlockFlagsIsGlobal = (1 << 28), 14 | SMBlockFlagsHasStret = (1 << 29), // IFF BLOCK_HAS_SIGNATURE 15 | SMBlockFlagsHasSignature = (1 << 30) 16 | }; 17 | typedef int CTBlockFlags; 18 | 19 | #import 20 | 21 | @interface SMBlockDescription : NSObject 22 | 23 | @property (nonatomic, readonly) CTBlockFlags flags; 24 | @property (nonatomic, readonly) NSMethodSignature *blockSignature; 25 | @property (nonatomic, readonly) unsigned long int size; 26 | @property (nonatomic, readonly) id block; 27 | 28 | - (id)initWithBlock:(id)block; 29 | 30 | - (BOOL)isCompatibleForBlockSwizzlingWithMethodSignature:(NSMethodSignature *)methodSignature; 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /Pods/SMTableView/Framework/TableView/SMBlockDescription.m: -------------------------------------------------------------------------------- 1 | // 2 | // SMBaseRefreshManager.h 3 | // tableivewSimplifyDemo 4 | // 5 | // Created by 王金东 on 14/12/15. 6 | // Copyright © 2015年 王金东. All rights reserved. 7 | // 8 | 9 | #import "SMBlockDescription.h" 10 | 11 | 12 | struct SMBlock { 13 | void *isa; // initialized to &_NSConcreteStackBlock or &_NSConcreteGlobalBlock 14 | int flags; 15 | int reserved; 16 | void (*invoke)(void *, ...); 17 | struct block_descriptor { 18 | unsigned long int reserved; // NULL 19 | unsigned long int size; // sizeof(struct Block_literal_1) 20 | // optional helper functions 21 | void (*copy_helper)(void *dst, void *src); // IFF (1<<25) 22 | void (*dispose_helper)(void *src); // IFF (1<<25) 23 | // required ABI.2010.3.16 24 | const char *signature; // IFF (1<<30) 25 | } *descriptor; 26 | // imported variables 27 | }; 28 | 29 | 30 | 31 | @implementation SMBlockDescription 32 | 33 | - (id)initWithBlock:(id)block { 34 | if (self = [super init]) { 35 | _block = block; 36 | 37 | struct SMBlock *blockRef = (__bridge struct SMBlock *)block; 38 | _flags = blockRef->flags; 39 | _size = blockRef->descriptor->size; 40 | 41 | if (_flags & SMBlockFlagsHasSignature) { 42 | void *signatureLocation = blockRef->descriptor; 43 | signatureLocation += sizeof(unsigned long int); 44 | signatureLocation += sizeof(unsigned long int); 45 | 46 | if (_flags & SMBlockFlagsHasCopyDispose) { 47 | signatureLocation += sizeof(void(*)(void *dst, void *src)); 48 | signatureLocation += sizeof(void (*)(void *src)); 49 | } 50 | 51 | const char *signature = (*(const char **)signatureLocation); 52 | _blockSignature = [NSMethodSignature signatureWithObjCTypes:signature]; 53 | } 54 | } 55 | return self; 56 | } 57 | 58 | - (BOOL)isCompatibleForBlockSwizzlingWithMethodSignature:(NSMethodSignature *)methodSignature { 59 | if (_blockSignature.numberOfArguments != methodSignature.numberOfArguments + 1) { 60 | return NO; 61 | } 62 | 63 | if (strcmp(_blockSignature.methodReturnType, methodSignature.methodReturnType) != 0) { 64 | return NO; 65 | } 66 | 67 | for (int i = 0; i < methodSignature.numberOfArguments; i++) { 68 | if (i == 1) { 69 | // SEL in method, IMP in block 70 | if (strcmp([methodSignature getArgumentTypeAtIndex:i], ":") != 0) { 71 | return NO; 72 | } 73 | 74 | if (strcmp([_blockSignature getArgumentTypeAtIndex:i + 1], "^?") != 0) { 75 | return NO; 76 | } 77 | } else { 78 | if (strcmp([methodSignature getArgumentTypeAtIndex:i], [_blockSignature getArgumentTypeAtIndex:i + 1]) != 0) { 79 | return NO; 80 | } 81 | } 82 | } 83 | 84 | return YES; 85 | } 86 | 87 | - (NSString *)description 88 | { 89 | return [NSString stringWithFormat:@"%@: %@", [super description], _blockSignature.description]; 90 | } 91 | 92 | @end 93 | -------------------------------------------------------------------------------- /Pods/SMTableView/Framework/TableView/SMTableViewSimplifyModel.h: -------------------------------------------------------------------------------- 1 | // 2 | // SMTableViewSimplifyModel.h 3 | // SMCore 4 | // 5 | // Created by 王金东 on 16/1/22. 6 | // Copyright © 2016年 王金东. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | 13 | @interface SMTableViewSimplifyModel : NSObject 14 | @end 15 | 16 | 17 | #pragma mark edit 18 | @interface SMTableViewSimplifyModel (editable) 19 | @end 20 | 21 | 22 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods-HsUber/Pods-HsUber-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## BaiduMapAPI 5 | 6 | LICENSE ©2013 Baidu, Inc. All rights reserved. 7 | 8 | ## UITableView+FDTemplateLayoutCell 9 | 10 | The MIT License (MIT) 11 | 12 | Copyright (c) 2015 13 | 14 | Permission is hereby granted, free of charge, to any person obtaining a copy 15 | of this software and associated documentation files (the "Software"), to deal 16 | in the Software without restriction, including without limitation the rights 17 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 18 | copies of the Software, and to permit persons to whom the Software is 19 | furnished to do so, subject to the following conditions: 20 | 21 | The above copyright notice and this permission notice shall be included in all 22 | copies or substantial portions of the Software. 23 | 24 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 25 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 26 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 27 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 28 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 29 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 30 | SOFTWARE. 31 | 32 | 33 | Generated by CocoaPods - https://cocoapods.org 34 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods-HsUber/Pods-HsUber-acknowledgements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreferenceSpecifiers 6 | 7 | 8 | FooterText 9 | This application makes use of the following third party libraries: 10 | Title 11 | Acknowledgements 12 | Type 13 | PSGroupSpecifier 14 | 15 | 16 | FooterText 17 | LICENSE ©2013 Baidu, Inc. All rights reserved. 18 | License 19 | Copyright 20 | Title 21 | BaiduMapAPI 22 | Type 23 | PSGroupSpecifier 24 | 25 | 26 | FooterText 27 | The MIT License (MIT) 28 | 29 | Copyright (c) 2015 30 | 31 | Permission is hereby granted, free of charge, to any person obtaining a copy 32 | of this software and associated documentation files (the "Software"), to deal 33 | in the Software without restriction, including without limitation the rights 34 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 35 | copies of the Software, and to permit persons to whom the Software is 36 | furnished to do so, subject to the following conditions: 37 | 38 | The above copyright notice and this permission notice shall be included in all 39 | copies or substantial portions of the Software. 40 | 41 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 42 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 43 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 44 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 45 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 46 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 47 | SOFTWARE. 48 | 49 | 50 | License 51 | MIT 52 | Title 53 | UITableView+FDTemplateLayoutCell 54 | Type 55 | PSGroupSpecifier 56 | 57 | 58 | FooterText 59 | Generated by CocoaPods - https://cocoapods.org 60 | Title 61 | 62 | Type 63 | PSGroupSpecifier 64 | 65 | 66 | StringsTable 67 | Acknowledgements 68 | Title 69 | Acknowledgements 70 | 71 | 72 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods-HsUber/Pods-HsUber-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_HsUber : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_HsUber 5 | @end 6 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods-HsUber/Pods-HsUber.debug.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/BaiduMapAPI/Release-universal" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/BaiduMapAPI" "${PODS_ROOT}/Headers/Public/SMTableView" "${PODS_ROOT}/Headers/Public/UITableView+FDTemplateLayoutCell" 4 | LIBRARY_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/SMTableView" "$PODS_CONFIGURATION_BUILD_DIR/UITableView+FDTemplateLayoutCell" 5 | OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/BaiduMapAPI" -isystem "${PODS_ROOT}/Headers/Public/SMTableView" -isystem "${PODS_ROOT}/Headers/Public/UITableView+FDTemplateLayoutCell" 6 | OTHER_LDFLAGS = $(inherited) -ObjC -l"SMTableView" -l"UITableView+FDTemplateLayoutCell" -l"stdc++" -l"stdc++.6" -framework "BaiduMapAPI" -framework "CoreGraphics" -framework "CoreLocation" -framework "Foundation" -framework "OpenGLES" -framework "QuartzCore" -framework "Security" -framework "SystemConfiguration" -framework "UIKit" 7 | PODS_BUILD_DIR = $BUILD_DIR 8 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 9 | PODS_ROOT = ${SRCROOT}/Pods 10 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods-HsUber/Pods-HsUber.release.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/BaiduMapAPI/Release-universal" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/BaiduMapAPI" "${PODS_ROOT}/Headers/Public/SMTableView" "${PODS_ROOT}/Headers/Public/UITableView+FDTemplateLayoutCell" 4 | LIBRARY_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/SMTableView" "$PODS_CONFIGURATION_BUILD_DIR/UITableView+FDTemplateLayoutCell" 5 | OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/BaiduMapAPI" -isystem "${PODS_ROOT}/Headers/Public/SMTableView" -isystem "${PODS_ROOT}/Headers/Public/UITableView+FDTemplateLayoutCell" 6 | OTHER_LDFLAGS = $(inherited) -ObjC -l"SMTableView" -l"UITableView+FDTemplateLayoutCell" -l"stdc++" -l"stdc++.6" -framework "BaiduMapAPI" -framework "CoreGraphics" -framework "CoreLocation" -framework "Foundation" -framework "OpenGLES" -framework "QuartzCore" -framework "Security" -framework "SystemConfiguration" -framework "UIKit" 7 | PODS_BUILD_DIR = $BUILD_DIR 8 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 9 | PODS_ROOT = ${SRCROOT}/Pods 10 | -------------------------------------------------------------------------------- /Pods/Target Support Files/SMTableView/SMTableView-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_SMTableView : NSObject 3 | @end 4 | @implementation PodsDummy_SMTableView 5 | @end 6 | -------------------------------------------------------------------------------- /Pods/Target Support Files/SMTableView/SMTableView-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /Pods/Target Support Files/SMTableView/SMTableView.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/SMTableView 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/SMTableView" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/BaiduMapAPI" "${PODS_ROOT}/Headers/Public/SMTableView" "${PODS_ROOT}/Headers/Public/UITableView+FDTemplateLayoutCell" 4 | LIBRARY_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/UITableView+FDTemplateLayoutCell" 5 | OTHER_LDFLAGS = -framework "CoreGraphics" -framework "Foundation" -framework "UIKit" 6 | PODS_BUILD_DIR = $BUILD_DIR 7 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_ROOT = ${SRCROOT} 9 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/SMTableView 10 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 11 | SKIP_INSTALL = YES 12 | -------------------------------------------------------------------------------- /Pods/Target Support Files/UITableView+FDTemplateLayoutCell/UITableView+FDTemplateLayoutCell-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_UITableView_FDTemplateLayoutCell : NSObject 3 | @end 4 | @implementation PodsDummy_UITableView_FDTemplateLayoutCell 5 | @end 6 | -------------------------------------------------------------------------------- /Pods/Target Support Files/UITableView+FDTemplateLayoutCell/UITableView+FDTemplateLayoutCell-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /Pods/Target Support Files/UITableView+FDTemplateLayoutCell/UITableView+FDTemplateLayoutCell.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/UITableView+FDTemplateLayoutCell 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/UITableView+FDTemplateLayoutCell" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/BaiduMapAPI" "${PODS_ROOT}/Headers/Public/SMTableView" "${PODS_ROOT}/Headers/Public/UITableView+FDTemplateLayoutCell" 4 | PODS_BUILD_DIR = $BUILD_DIR 5 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 6 | PODS_ROOT = ${SRCROOT} 7 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/UITableView+FDTemplateLayoutCell 8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | -------------------------------------------------------------------------------- /Pods/UITableView+FDTemplateLayoutCell/Classes/UITableView+FDIndexPathHeightCache.h: -------------------------------------------------------------------------------- 1 | // The MIT License (MIT) 2 | // 3 | // Copyright (c) 2015-2016 forkingdog ( https://github.com/forkingdog ) 4 | // 5 | // Permission is hereby granted, free of charge, to any person obtaining a copy 6 | // of this software and associated documentation files (the "Software"), to deal 7 | // in the Software without restriction, including without limitation the rights 8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | // copies of the Software, and to permit persons to whom the Software is 10 | // furnished to do so, subject to the following conditions: 11 | // 12 | // The above copyright notice and this permission notice shall be included in all 13 | // copies or substantial portions of the Software. 14 | // 15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | // SOFTWARE. 22 | 23 | #import 24 | 25 | @interface FDIndexPathHeightCache : NSObject 26 | 27 | // Enable automatically if you're using index path driven height cache 28 | @property (nonatomic, assign) BOOL automaticallyInvalidateEnabled; 29 | 30 | // Height cache 31 | - (BOOL)existsHeightAtIndexPath:(NSIndexPath *)indexPath; 32 | - (void)cacheHeight:(CGFloat)height byIndexPath:(NSIndexPath *)indexPath; 33 | - (CGFloat)heightForIndexPath:(NSIndexPath *)indexPath; 34 | - (void)invalidateHeightAtIndexPath:(NSIndexPath *)indexPath; 35 | - (void)invalidateAllHeightCache; 36 | 37 | @end 38 | 39 | @interface UITableView (FDIndexPathHeightCache) 40 | /// Height cache by index path. Generally, you don't need to use it directly. 41 | @property (nonatomic, strong, readonly) FDIndexPathHeightCache *fd_indexPathHeightCache; 42 | @end 43 | 44 | @interface UITableView (FDIndexPathHeightCacheInvalidation) 45 | /// Call this method when you want to reload data but don't want to invalidate 46 | /// all height cache by index path, for example, load more data at the bottom of 47 | /// table view. 48 | - (void)fd_reloadDataWithoutInvalidateIndexPathHeightCache; 49 | @end 50 | -------------------------------------------------------------------------------- /Pods/UITableView+FDTemplateLayoutCell/Classes/UITableView+FDKeyedHeightCache.h: -------------------------------------------------------------------------------- 1 | // The MIT License (MIT) 2 | // 3 | // Copyright (c) 2015-2016 forkingdog ( https://github.com/forkingdog ) 4 | // 5 | // Permission is hereby granted, free of charge, to any person obtaining a copy 6 | // of this software and associated documentation files (the "Software"), to deal 7 | // in the Software without restriction, including without limitation the rights 8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | // copies of the Software, and to permit persons to whom the Software is 10 | // furnished to do so, subject to the following conditions: 11 | // 12 | // The above copyright notice and this permission notice shall be included in all 13 | // copies or substantial portions of the Software. 14 | // 15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | // SOFTWARE. 22 | 23 | #import 24 | 25 | @interface FDKeyedHeightCache : NSObject 26 | 27 | - (BOOL)existsHeightForKey:(id)key; 28 | - (void)cacheHeight:(CGFloat)height byKey:(id)key; 29 | - (CGFloat)heightForKey:(id)key; 30 | 31 | // Invalidation 32 | - (void)invalidateHeightForKey:(id)key; 33 | - (void)invalidateAllHeightCache; 34 | @end 35 | 36 | @interface UITableView (FDKeyedHeightCache) 37 | 38 | /// Height cache by key. Generally, you don't need to use it directly. 39 | @property (nonatomic, strong, readonly) FDKeyedHeightCache *fd_keyedHeightCache; 40 | @end 41 | -------------------------------------------------------------------------------- /Pods/UITableView+FDTemplateLayoutCell/Classes/UITableView+FDKeyedHeightCache.m: -------------------------------------------------------------------------------- 1 | // The MIT License (MIT) 2 | // 3 | // Copyright (c) 2015-2016 forkingdog ( https://github.com/forkingdog ) 4 | // 5 | // Permission is hereby granted, free of charge, to any person obtaining a copy 6 | // of this software and associated documentation files (the "Software"), to deal 7 | // in the Software without restriction, including without limitation the rights 8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | // copies of the Software, and to permit persons to whom the Software is 10 | // furnished to do so, subject to the following conditions: 11 | // 12 | // The above copyright notice and this permission notice shall be included in all 13 | // copies or substantial portions of the Software. 14 | // 15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | // SOFTWARE. 22 | 23 | #import "UITableView+FDKeyedHeightCache.h" 24 | #import 25 | 26 | @interface FDKeyedHeightCache () 27 | @property (nonatomic, strong) NSMutableDictionary, NSNumber *> *mutableHeightsByKeyForPortrait; 28 | @property (nonatomic, strong) NSMutableDictionary, NSNumber *> *mutableHeightsByKeyForLandscape; 29 | @end 30 | 31 | @implementation FDKeyedHeightCache 32 | 33 | - (instancetype)init { 34 | self = [super init]; 35 | if (self) { 36 | _mutableHeightsByKeyForPortrait = [NSMutableDictionary dictionary]; 37 | _mutableHeightsByKeyForLandscape = [NSMutableDictionary dictionary]; 38 | } 39 | return self; 40 | } 41 | 42 | - (NSMutableDictionary, NSNumber *> *)mutableHeightsByKeyForCurrentOrientation { 43 | return UIDeviceOrientationIsPortrait([UIDevice currentDevice].orientation) ? self.mutableHeightsByKeyForPortrait: self.mutableHeightsByKeyForLandscape; 44 | } 45 | 46 | - (BOOL)existsHeightForKey:(id)key { 47 | NSNumber *number = self.mutableHeightsByKeyForCurrentOrientation[key]; 48 | return number && ![number isEqualToNumber:@-1]; 49 | } 50 | 51 | - (void)cacheHeight:(CGFloat)height byKey:(id)key { 52 | self.mutableHeightsByKeyForCurrentOrientation[key] = @(height); 53 | } 54 | 55 | - (CGFloat)heightForKey:(id)key { 56 | #if CGFLOAT_IS_DOUBLE 57 | return [self.mutableHeightsByKeyForCurrentOrientation[key] doubleValue]; 58 | #else 59 | return [self.mutableHeightsByKeyForCurrentOrientation[key] floatValue]; 60 | #endif 61 | } 62 | 63 | - (void)invalidateHeightForKey:(id)key { 64 | [self.mutableHeightsByKeyForPortrait removeObjectForKey:key]; 65 | [self.mutableHeightsByKeyForLandscape removeObjectForKey:key]; 66 | } 67 | 68 | - (void)invalidateAllHeightCache { 69 | [self.mutableHeightsByKeyForPortrait removeAllObjects]; 70 | [self.mutableHeightsByKeyForLandscape removeAllObjects]; 71 | } 72 | 73 | @end 74 | 75 | @implementation UITableView (FDKeyedHeightCache) 76 | 77 | - (FDKeyedHeightCache *)fd_keyedHeightCache { 78 | FDKeyedHeightCache *cache = objc_getAssociatedObject(self, _cmd); 79 | if (!cache) { 80 | cache = [FDKeyedHeightCache new]; 81 | objc_setAssociatedObject(self, _cmd, cache, OBJC_ASSOCIATION_RETAIN_NONATOMIC); 82 | } 83 | return cache; 84 | } 85 | 86 | @end 87 | -------------------------------------------------------------------------------- /Pods/UITableView+FDTemplateLayoutCell/Classes/UITableView+FDTemplateLayoutCellDebug.h: -------------------------------------------------------------------------------- 1 | // The MIT License (MIT) 2 | // 3 | // Copyright (c) 2015-2016 forkingdog ( https://github.com/forkingdog ) 4 | // 5 | // Permission is hereby granted, free of charge, to any person obtaining a copy 6 | // of this software and associated documentation files (the "Software"), to deal 7 | // in the Software without restriction, including without limitation the rights 8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | // copies of the Software, and to permit persons to whom the Software is 10 | // furnished to do so, subject to the following conditions: 11 | // 12 | // The above copyright notice and this permission notice shall be included in all 13 | // copies or substantial portions of the Software. 14 | // 15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | // SOFTWARE. 22 | 23 | #import 24 | 25 | @interface UITableView (FDTemplateLayoutCellDebug) 26 | 27 | /// Helps to debug or inspect what is this "FDTemplateLayoutCell" extention doing, 28 | /// turning on to print logs when "creating", "calculating", "precaching" or "hitting cache". 29 | /// 30 | /// Default to NO, log by NSLog. 31 | /// 32 | @property (nonatomic, assign) BOOL fd_debugLogEnabled; 33 | 34 | /// Debug log controlled by "fd_debugLogEnabled". 35 | - (void)fd_debugLog:(NSString *)message; 36 | 37 | @end 38 | -------------------------------------------------------------------------------- /Pods/UITableView+FDTemplateLayoutCell/Classes/UITableView+FDTemplateLayoutCellDebug.m: -------------------------------------------------------------------------------- 1 | // The MIT License (MIT) 2 | // 3 | // Copyright (c) 2015-2016 forkingdog ( https://github.com/forkingdog ) 4 | // 5 | // Permission is hereby granted, free of charge, to any person obtaining a copy 6 | // of this software and associated documentation files (the "Software"), to deal 7 | // in the Software without restriction, including without limitation the rights 8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | // copies of the Software, and to permit persons to whom the Software is 10 | // furnished to do so, subject to the following conditions: 11 | // 12 | // The above copyright notice and this permission notice shall be included in all 13 | // copies or substantial portions of the Software. 14 | // 15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | // SOFTWARE. 22 | 23 | #import "UITableView+FDTemplateLayoutCellDebug.h" 24 | #import 25 | 26 | @implementation UITableView (FDTemplateLayoutCellDebug) 27 | 28 | - (BOOL)fd_debugLogEnabled { 29 | return [objc_getAssociatedObject(self, _cmd) boolValue]; 30 | } 31 | 32 | - (void)setFd_debugLogEnabled:(BOOL)debugLogEnabled { 33 | objc_setAssociatedObject(self, @selector(fd_debugLogEnabled), @(debugLogEnabled), OBJC_ASSOCIATION_RETAIN); 34 | } 35 | 36 | - (void)fd_debugLog:(NSString *)message { 37 | if (self.fd_debugLogEnabled) { 38 | NSLog(@"** FDTemplateLayoutCell ** %@", message); 39 | } 40 | } 41 | 42 | @end 43 | -------------------------------------------------------------------------------- /Pods/UITableView+FDTemplateLayoutCell/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # init commit 2 | ![](https://github.com/wangjindong/HsUber/blob/master/uber.gif) 3 | 模仿优步首页 4 | 5 | 6 | 下面是滴滴的 7 | 8 | https://github.com/wangjindong/JDDIDIDemo 9 | -------------------------------------------------------------------------------- /uber.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JDongKhan/HsUber/caca464a76022133f6bb3973c39ed1c24f3ddaf3/uber.gif --------------------------------------------------------------------------------