Thursday, October 31, 2013

MobyPlanner now is a



Friday, October 4, 2013

Startup Focus Program

MobyPlanner vince lo Startup Focus Program by PoliHub & SAP in ambito Big Data, Real Time e Predictive Analysis



Friday, September 6, 2013

TechCrunch Italy


MobyPlanner semifinalist at TechCrunch Italy Startup Competition!

Sunday, July 7, 2013

Write a label on image

UIImageView *imagePinViewA = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"PIN_green"]];
UILabel *pinLabelA = [[UILabel alloc] initWithFrame:CGRectMake(8.6, 9, 26, 26)];
pinLabelA.backgroundColor = [UIColor clearColor];
pinLabelA.textColor = [UIColor blackColor];
pinLabelA.text = @"TEXT";
[imagePinViewA addSubview:pinLabelA];

UIGraphicsBeginImageContext(imagePinViewA.bounds.size);
[imagePinViewA.layer renderInContext:UIGraphicsGetCurrentContext()];
UIImage *finalImagePinA = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();

Saturday, June 29, 2013

MobyPlanner


               new App Icon

Monday, June 17, 2013

Someone Somewhere in Summertime

Saturday, May 11, 2013

MobyPlanner

 

Work in progress…

Sunday, February 3, 2013

Zoom out and fit all annotations in iOS MapKit


- (void)zoomToFitMapAnnotations:(MKMapView *)mapView2 {
    if ([mapView.annotations count] == 0) return;
    
    CLLocationCoordinate2D topLeftCoord;
    topLeftCoord.latitude = -90;
    topLeftCoord.longitude = 180;
    
    CLLocationCoordinate2D bottomRightCoord;
    bottomRightCoord.latitude = 90;
    bottomRightCoord.longitude = -180;
    
    for(id<MKAnnotation> annotation in mapView.annotations) {
        topLeftCoord.longitude = fmin(topLeftCoord.longitude, annotation.coordinate.longitude);
        topLeftCoord.latitude = fmax(topLeftCoord.latitude, annotation.coordinate.latitude);
        bottomRightCoord.longitude = fmax(bottomRightCoord.longitude, annotation.coordinate.longitude);
        bottomRightCoord.latitude = fmin(bottomRightCoord.latitude, annotation.coordinate.latitude);
    }
    
    MKCoordinateRegion region;
        //MKCoordinateRegion region;
    region.center.latitude = topLeftCoord.latitude - (topLeftCoord.latitude - bottomRightCoord.latitude) * 0.5;
    region.center.longitude = topLeftCoord.longitude + (bottomRightCoord.longitude - topLeftCoord.longitude) * 0.5;
    
        // Adding edge map
    region.span.latitudeDelta = fabs(topLeftCoord.latitude - bottomRightCoord.latitude) * 1.1;
    region.span.longitudeDelta = fabs(bottomRightCoord.longitude - topLeftCoord.longitude) * 1.1;
    
        region = [mapView regionThatFits:region];
        [mapView setRegion:region animated:YES];
    
}

snipped from Mulawski's post