UNCountry
@objcMembers
final class UNCountry : Object, ServiceProvider
extension UNCountry: PlaceInfo
                Realm representation of a UNCountry place
- 
                  
                  
UN country containing place
Declaration
Swift
dynamic var placeCountry: String - 
                  
                  
Place’s MTP ID
Declaration
Swift
dynamic var placeId: Int - 
                  
                  
UUID of main image to display for place
Declaration
Swift
dynamic var placeImage: String - 
                  
                  
MTP location containing place
Declaration
Swift
dynamic var placeLocation: Location? - 
                  
                  
Number of MTP visitors
Declaration
Swift
dynamic var placeVisitors: Int - 
                  
                  
Region containing the country
Declaration
Swift
dynamic var placeRegion: String - 
                  
                  
Constructor from MTP endpoint data
Declaration
Swift
convenience init?(from: LocationJSON) - 
                  
                  
Coordinate for plotting on map
Declaration
Swift
var placeCoordinate: CLLocationCoordinate2D { get } - 
                  
                  
Country’s MTP ID
Declaration
Swift
var placeCountryId: Int { get } - 
                  
                  
UUID of main image to display for place
Declaration
Swift
var placeImageUrl: URL? { get } - 
                  
                  
Title to display to user
Declaration
Swift
var placeTitle: String { get } - 
                  
                  
for non-MTP locations, page to load in More Info screen
Declaration
Swift
var placeWebUrl: URL? { get } 
            View on GitHub
          
      UNCountry Class Reference