CocoaPods trunk is moving to be read-only. Read more on the blog, there are 18 months to go.
TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Dec 2014 |
Maintained by Luka Penger.
LPLjubljanaCarParksFunctions is an iOS library that provides easy access to car parks in Ljubljana.
Created by Luka Penger http://lukapenger.eu
If you'd like to include this component as a pod using CocoaPods, just add the following line to your Podfile:
pod "LPLjubljanaCarParksFunctions"
LPLjubljanaCarParksFunctions uses ARC (Automatic Reference Counting).
If you are using LPLjubljanaCarParksFunctions in your non-arc project, you will need to set a -fobjc-arc
compiler flag on all of the LPLjubljanaCarParksFunctions source files.
To set a compiler flag in Xcode, go to your active target and select the "Build Phases" tab. Now select all LPLjubljanaCarParksFunctions source files, press Enter, insert -fobjc-arc
and then "Done" to disable ARC for LPLjubljanaCarParksFunctions.
LPLjubljanaCarParksFunctions uses AFNetworking library for networking. https://github.com/AFNetworking/AFNetworking
- (void)ljubljanaCarParksFunctionsWillLoadParks:(LPLjubljanaCarParksFunctions *)ljubljanaCarParksFunctions;
- (void)ljubljanaCarParksFunctions:(LPLjubljanaCarParksFunctions *)ljubljanaCarParksFunctions didLoadParks:(NSMutableArray *)parksList parkingMachines:(NSMutableArray *)parkingMachinesList;
- (void)ljubljanaCarParksFunctions:(LPLjubljanaCarParksFunctions *)ljubljanaCarParksFunctions errorLoadingCarParks:(NSError *)error;
- (void)ljubljanaCarParksFunctions:(LPLjubljanaCarParksFunctions *)ljubljanaCarParksFunctions didLoadOccupancyToCarParks:(NSMutableArray *)parksList;
- (void)ljubljanaCarParksFunctions:(LPLjubljanaCarParksFunctions *)ljubljanaCarParksFunctions errorLoadingOccupancyToCarParks:(NSError *)error;
#pragma mark - LPLjubljanaCarParksFunctions Delegate
- (void)ljubljanaCarParksFunctionsWillLoadParks:(LPLjubljanaCarParksFunctions *)ljubljanaCarParksFunctions
{
NSLog(@"ljubljanaCarParksFunctions - WillLoadParks");
}
- (void)ljubljanaCarParksFunctions:(LPLjubljanaCarParksFunctions *)ljubljanaCarParksFunctions didLoadParks:(NSMutableArray *)parksList parkingMachines:(NSMutableArray *)parkingMachinesList
{
NSLog(@"%d parks, %d parking machines", parksList.count, parkingMachinesList.count);
}
- (void)ljubljanaCarParksFunctions:(LPLjubljanaCarParksFunctions *)ljubljanaCarParksFunctions errorLoadingCarParks:(NSError *)error
{
NSLog(@"ljubljanaCarParksFunctions - errorLoadingCarParks: %@",error);
}
- (void)ljubljanaCarParksFunctions:(LPLjubljanaCarParksFunctions *)ljubljanaCarParksFunctions didLoadOccupancyToCarParks:(NSMutableArray *)parksList
{
NSLog(@"ljubljanaCarParksFunctions - didLoadOccupancyToCarParks");
}
- (void)ljubljanaCarParksFunctions:(LPLjubljanaCarParksFunctions *)ljubljanaCarParksFunctions errorLoadingOccupancyToCarParks:(NSError *)error
{
NSLog(@"ljubljanaCarParksFunctions - errorLoadingOccupancyToCarParks: %@", error);
}
This code is distributed under the terms and conditions of the MIT license.
A brief summary of each LPLjubljanaCarParksFunctions release can be found on the wiki.