-
Show and describe Endangered animals in Korea
-
Support multiplatform design in iPhone, iPad and Mac
-
Advanced motion animation
-
Only dark appearance
-
Create map with annotations in SwiftUI
-
Play video files in SwiftUI
Google-Mobile-Ads-SDK - https://cocoapods.org/pods/Google-Mobile-Ads-SDK
pod init
pod 'Google-Mobile-Ads-SDK'
pod install
// AnimalModel.swift
struct Animal: Codable, Identifiable {
let id: String
let name: String
let headline: String
let description: String
let link: String
let image: String
let gallery: [String]
let fact: [String]
let copyright: String
}
// CoverImageMode.swift
struct CoverImage: Codable, Identifiable {
let id: Int
let name: String
}
// VideoModel.swift
struct Video: Codable, Identifiable {
let id: String
let name: String
let headline: String
let videoid: String
}
// LocationModel.swift
import MapKit
struct AnimalLocation: Codable, Identifiable {
var id: String
var image: String
var name: String
var latitude: Double
var longitude: Double
// Computed Property
var location: CLLocationCoordinate2D {
CLLocationCoordinate2D(latitude: latitude, longitude: longitude)
}
}
Learn how to create a grid layout with SwiftUI 2 in credo - https://credo.academy/swiftui-app-07.html
멸종위기 야생생물 포털 - https://www.nie.re.kr/endangered_species/home/enspc/enspc02001i.do#spclist