- Do you have an Github account ? If not create one.
- Install required tools
- Latest Git Client
- gpg tools
# Ubuntu
sudo apt-get install gpa seahorse
# MacOS with https://brew.sh/
// | |
// Created by https://quickplan.app on 2020/11/8. | |
// | |
import SwiftUI | |
/// Control if allow to dismiss the sheet by the user actions | |
/// - Drag down on the sheet on iPhone and iPad | |
/// - Tap outside the sheet on iPad | |
/// No impact to dismiss programatically (by calling "presentationMode.wrappedValue.dismiss()") |
# GPG on Tower |
# Ubuntu
sudo apt-get install gpa seahorse
# MacOS with https://brew.sh/
#import "MyViewController.h" | |
#import <MapKit/MapKit.h> | |
@interface MyViewController () | |
@property (weak, nonatomic) IBOutlet UIImageView *mapImageView; | |
@end | |
//helper method to get the rect in the map for an array of points | |
MKMapRect MapRectBoundingMapPoints(MKMapPoint points[], NSUInteger pointCount){ | |
double minX = INFINITY, maxX = -INFINITY, minY = INFINITY, maxY = -INFINITY; |