How fantasticlbp/hotels works
住哪儿 is an iOS hotel discovery and booking app. Its principal journey is to search or browse hotels, inspect a hotel and room, submit a booking, then review orders; payment is explicitly unavailable. The README also describes themed and featured recommendations, shake-based recommendations, location and map navigation, sharing, and persisted user information. Relationships below follow that documented workflow; source excerpts are mostly framework headers, so detailed controller-to-controller calls cannot be verified.
Main entry points: HotelDetailVC.h Hotel details · HomeViewController.h Home search · SearchHotelVC.h Hotel search · TopicHotelListVCViewController.h Featured hotels
Components 19
Hotel discovery
- Home search
住哪儿/Class/Main/首页/Viewcontroller/HomeViewController.h - Hotel search
住哪儿/Class/Main/首页/Viewcontroller/SearchHotelVC.h - City selection
住哪儿/Class/Main/酒店/JFCityViewController/JFCityViewController.h - Featured hotels
住哪儿/Class/Main/发现/ViewController/TopicHotelListVCViewController.h - Shake recommendation
住哪儿/Class/Main/摇一摇/controller/ShakeViewController.h - Hotel details
住哪儿/Class/Main/酒店/Controller/HotelDetailVC.h - Room availability
住哪儿/Class/Main/酒店/Controller/HotelRoomPriceVC.h - Location services
住哪儿/Class/Others/utils/LocationManager.h - Map navigation
- Hotel sharing
住哪儿/Class/Main/酒店/View/ShareView.h
Booking and orders
- Booking details
住哪儿/Class/Main/酒店/Controller/HotelOrderFillVC.h - Payment screen
住哪儿/Class/Main/酒店/Controller/PayOrderViewController.h - Order history
住哪儿/Class/Main/订单/OrderViewController.h - Booking result
住哪儿/Class/Main/订单/ViewController/OrderResultViewController.h
Account and app shell
- User profile
住哪儿/Class/Main/我的/ViewController/PersonInfoViewController.h - User persistence
住哪儿/Class/Others/utils/UserManager.h - App navigation
住哪儿/Class/Others/Main/MainViewController.h
Shared platform
- Network access
住哪儿/Class/Others/utils/AFNetPackage.h
Other components
- Traveler
Connections 19
- Traveler → Home search: starts search
- Home search → Hotel search: searches hotels
- Hotel search → City selection: sets city
- Traveler → Featured hotels: browses themes
- Traveler → Shake recommendation: shakes for picks
- Home search → Hotel details: opens hotel
- Featured hotels → Hotel details: opens hotel
- Shake recommendation → Hotel details: recommends hotel
- Hotel details → Room availability: views rooms
- Room availability → Booking details: starts booking
- Booking details → Payment screen: continues booking
- Payment screen → Booking result: shows result
- Traveler → Order history: checks orders
- Traveler → Location services: uses location
- Location services → Map navigation: supports navigation
- Hotel details → Hotel sharing: shares hotel
- User profile → User persistence: persists information
- App navigation → Home search: hosts app screens
- Hotel search → Network access: fetches results