Skip to content

Instantly share code, notes, and snippets.

View charvoa's full-sized avatar
🦧
〰️

Nicolas Charvoz charvoa

🦧
〰️
View GitHub Profile
FR:
Quand tu gères un produit IA, tu jongles déjà entre le produit, la tech et la croissance.
Puis arrive le marketing d'influence—et te voilà enseveli sous :
→ Des spreadsheets pour suivre 50+ conversations avec des créateurs
→ Des négociations de prix interminables
→ Des relances manuelles pour les deadlines de contenu
→ Des données éparpillées sur 10 plateformes différentes
J'ai récemment découvert Aha—une plateforme de marketing d'influence où des employés IA gèrent toute la partie exécution.
Ce qui m'a marqué :
func mapView(_ mapView: MKMapView, regionDidChangeAnimated animated: Bool) {
let center = mapView.region.center
let latitudeDelta = mapView.region.span.latitudeDelta
let topPin = CLLocation(latitude: center.latitude - (latitudeDelta / 2),
longitude: center.longitude)
let bottomPin = CLLocation(latitude: center.latitude + (latitudeDelta / 2),
longitude: center.longitude)
let centerLocation = CLLocation(latitude: center.latitude,
longitude: center.longitude)
@charvoa
charvoa / LessonService.swift
Created December 4, 2018 21:07
fetchMapLessons after Geo-pagination re-work
func fetchMapLessons(around: CLLocation,
within: Double,
_ completionHandler: @escaping ([Any]?) -> Void) {
let query = PFQuery(className: "ObjectClass")
.addAscendingOrder("date")
.whereKey("location",
nearGeoPoint: PFGeoPoint(location: around),
withinKilometers: within)
@charvoa
charvoa / LessonService.swift
Created December 4, 2018 21:03
fetchLessons function before geo-pagination
func fetchMapLessons(_ completionHandler: @escaping ([ObjectModel]?) -> Void) {
let query = PFQuery(className: "ObjectClass")
.addAscendingOrder("date")
query.findObjectsInBackground { (objects, error) in
guard let obj = objects else {
completionHandler(nil)
return
}