There is a single file code:
// // Constants.swift // pixel-city // // Created by apple on 01.02.2018. // Copyright © 2018 apple. All rights reserved. // import Foundation let apiKey = "bca9713a70298e4376337d7a5876fb8b" func flickrUrl(forApiKey key: String, withAnnotation annotation: DroppablePin, andNumberOfPhotos number: Int) -> String { let url = "https://api.flickr.com/services/rest/? method=flickr.photos.search&api_key=\(apiKey)&lat=\. (annotation.coordinate.latitude)&lon=\. (annotation.coordinate.longitude)&radius=2&radius_units=km&per_page=\. (number)&format=json&nojsoncallback=1" print(url) return url } And a piece of code for the second file. I ask you to pay attention to the last line:
let touchPoint = sender.location(in: mapView) let touchCoordinate = mapView.convert(touchPoint, toCoordinateFrom: mapView) let annotation = DroppablePin(coordinate: touchCoordinate, identifier: "droppablePin") mapView.addAnnotation(annotation) print(flickrUrl(forApiKey: apiKey, withAnnotation: annotation, andNumberOfPhotos: 40)) So far, nothing is displayed in the Debug area field: 
Please tell me what the problem is!
