The latest tips, tutorials, and stories from our community.
Our blog
Resources, insights, and stories
Chris C • May 01 2024
SwiftUI CoreLocation: How to display a map and show the users current location
The CoreLocation framework is utilized to provide services that determine a device’s geographic location (Latitude, Longitude), altitude, and orientation. It can also determine its position relative to a nearby iBeacon device. We can use CoreLocation to center on the users specific location on a map! Basic Code Sample Setting up a map is pretty easy, the basic code is… View Article
Chris C • May 01 2024
SwiftUI MapKit: How to display a map and show a location
The MapKit framework is utilized to display a map or satellite imagery from your app’s very own interface. It can also be used to call out points of interest, and determine placemark information for coordinates on the map. We can use MapKit to load a map and center on a location! Basic Code Sample Setting up a… View Article
J.C. Yee • May 01 2024
SwiftUI Color
Color in SwiftUI can be used in various ways to enhance the appearance of your app. Color can be used in modifiers to change the background or foreground colors of views, or color can be used as a view itself. Basic Code Sample In this example, the text “Hello” will be in red. Note that… View Article
Chris C • May 01 2024
SwiftUI Stacks
Stacks are essential views that control the layout of elements in an app. This includes the HStack, VStack, and ZStack, as well as Lazy Stacks. Basic Code Examples There are three main types of Stacks shown above. The HStack in line 1 creates a layout for the child views/elements to appear next to one another… View Article
[ajax_load_more loading_style="infinite classic" transition_container_classes="row" container_type="div" post_type="post" posts_per_page="6"]