raulriera / bike-compass Goto Github PK
View Code? Open in Web Editor NEWiOS and Watch app to find city bicycles to rent in your city
Home Page: https://itunes.apple.com/us/app/bike-compass-find-city-bicycles/id734275452
License: MIT License
iOS and Watch app to find city bicycles to rent in your city
Home Page: https://itunes.apple.com/us/app/bike-compass-find-city-bicycles/id734275452
License: MIT License
Too much going on there, at the moment is broken with all the chances
It appears the initial message (when you open the app for the first time on the Watch but never on your phone) is confusing. It should be more clear than you need to open the iPhone app first and give the permissions in there
Your blog post about animations is pretty cool.
However I'm unable to compile using Xcode9.2. I also tried using Xcode9.0.1, but no luck.
Your code looks good.
It's faster
The watch app is only refreshing the count if the iPhone is opened
There should be a glance that just makes checking the app obsolete
Crash on StationsRepository.m line 41
-[StationsRepository stationsForNetwork:withCompletionBlock:]
0 CoreFoundation 0x22efefef __exceptionPreprocess + 126
1 libobjc.A.dylib 0x3144cc8b objc_exception_throw + 38
2 CoreFoundation 0x22efef35 -[NSException initWithCoder:]
3 Foundation 0x23b781a3 -[NSString stringByAppendingString:] + 90
4 CityBikesKit 0x00268ab9 -[StationsRepository stationsForNetwork:withCompletionBlock:] (StationsRepository.m:41)
5 BikeCompass 0x000deb3f -[CompassViewController displayStationInformation] (CompassViewController.m:87)
6 BikeCompass 0x000dfd31 -[CompassViewController locationManager:didChangeAuthorizationStatus:] (CompassViewController.m:238)
7 BikeCompass 0x000e31cb -[LocationManager locationManager:didChangeAuthorizationStatus:] (LocationManager.m:97)
8 CoreLocation 0x235c2359 (null) + 21892
9 CoreLocation 0x235be243 (null) + 5230
10 CoreLocation 0x235b7d79 (null) + 972
11 CoreFoundation 0x22ec4fd5 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
12 CoreFoundation 0x22ec4299 __CFRunLoopDoBlocks + 216
13 CoreFoundation 0x22ec2dd3 __CFRunLoopRun + 1714
14 CoreFoundation 0x22e0f201 CFRunLoopRunSpecific + 476
15 CoreFoundation 0x22e0f013 CFRunLoopRunInMode + 106
16 GraphicsServices 0x2a6ee201 GSEventRunModal + 136
17 UIKit 0x265b3a59 UIApplicationMain + 1440
18 BikeCompass 0x000e2157 main (main.m:14)
19 libdyld.dylib 0x319d8aaf start + 2
At the moment of this writing the http://citybik.es API is down, create a way to handle this more gracefully
Because it's awesome, and now I can use the new Xcode 7 features instead of the awful UI Automation javascript
func loadStations(forNetwork network: Network) {
CityBikes.stations(forNetwork: network) { response in
switch response {
case .Success(let stations):
self.stations = stations
// Request the current user location
self.locationManager.requestLocation()
case .Failure(let error):
print(error)
}
}
}
The requestLocation
is sooooo slow, like really slow. Fix it
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.