Skip to content

Instantly share code, notes, and snippets.

View gscalzo's full-sized avatar
👨‍🍳
Cooking...

Giordano Scalzo gscalzo

👨‍🍳
Cooking...
View GitHub Profile
- (MKAnnotationView *)mapView:(MKMapView *)mapView viewForAnnotation:(id <MKAnnotation>)annotation {
static NSString *identifier = @"PPSpot";
if ([annotation isKindOfClass:[PPSpot class]]) {
PPAnnotationView *annotationView = (PPAnnotationView *) [mapView dequeueReusableAnnotationViewWithIdentifier:identifier];
annotationView = [[PPAnnotationView alloc] initWithAnnotation:annotation reuseIdentifier:identifier];
annotationView.parent = self;
NSString *text = @"";
<?php
class Weather extends Common
{
function __construct()
{
}
public function deviceHistoryAggregate($deviceId,$type,$time=null){