Highlights of SwiftUI Release 3
This year, Apple focused on supporting deeper adoption of the framework for our apps.
All the blog posts on this website.
This year, Apple focused on supporting deeper adoption of the framework for our apps.
This post explores working with parallel tasks with enumerations while maintaining their positions.
Understanding the meaning of the transient item, errors related to it and using it correctly
An introduction to working with SpriteKit, beginning with SpriteView of SwiftUI and SKScene
Creating a custom `LibraryPlaylist` structure to edit user's playlists
Fetching the data from activity summary like calories burned, and exercise minutes with async/await alternative
Explore the new, exciting sheet modifiers that the SwiftUI team released for us.
Provide explicit spacing to inner views inside your VStack and HStack by creating zero spacing stacks.
A step-by-step approach to adding custom fonts easily to your app
Understanding the fundamental music item that is present in almost every other music item.
Provide explicit spacing to inner views inside your VStack and HStack by creating zero spacing stacks.
Defining all the fonts in one place for consistency and easily modifying them in the future
A simple screen onboarding is important for your users to understand what your app is about, and what unique feature values their time.
Creating a custom property wrapper for managing orientation for single window on iPad
Looking at a peculiar case of showing the large title in the navigation bar conditionally
You might be aware of the fact that SwiftUI only supports a List, but nothing like a `collectionView` natively. I have been learning about Combine and thought of trying to implement something similar.
Make your text and views accessible for different font sizes
Creating dynamic TabItem in SwiftUI
Adding a swipe down to dismiss on a full screen cover
If you're not satisfied with the modal on iPad, time to create a custom one!
I switched to custom colors for the branding, which is inspired by the systemIndigo color from UIColor.
Create a color system in SwiftUI to define all the colors in one place and easily modify them in the future.
Adjust the text or image vertically according to the needs
Searching the library resources using Apple Music API and MusicKit
Implementing the RepeatMode button in your Apple Music client app
Observing the playback status in your Apple Music client app
Using PlayParameters and MPMusicPlayerPlayParameters
MusicKit for Swift makes it easy to add Apple Music in our app.
An attempt to add an animated gradient background similar to Apple Music
Get the genres of the current top charts or fetch it by its identifier
Exploring the audio variants and how to show them in the app using MusicKit
A view that displays an image for an instance of Artwork.
Get the artist artwork from iTunes website using Open Graph meta tags
Use Postman to experiment and explore Apple Music APIs by generating the developer and user token for the headers.
Apple announced widgets for iOS 14 that you can have on your home screen alongside your existing apps. Widgets help you to personalize the screen with glanceable relevant data upfront.
Applying a motion effect to the button when it is in focus
SwiftUI doesn’t provide any initializer for `Image` to have the label as a parameter or something to ignore for accessibility purposes. So let’s create one!
Adding the required key for accessing Apple Music and asking the user to give access.
Exploring the many new structures added in MusicKit 2.0
Generalising error handling across view models and views in SwiftUI
Creating a carousel header view using TabView and ScrollView
The difference between Navigation in iOS and tvOS
Applying a motion effect to the button when it is in focus
Creating a great app experience on the biggest screen.
Get the Open Graph meta tags and display it in your app
Frameworks are great for modularizing your code, breaking down reusable components into a separate bundle of code.
Learn how to use for-in loops with examples in using arrays, range operators, dictionaries, and enums.
This overview with examples shows how you can use extensions in Swift.
Writing unit tests after a blunder of a release.
Looking at a peculiar case of showing the large title in the navigation bar conditionally
Alternative methods to use the latest async-await syntax̱̱in a framework or Swift Package
Disabling the animations while running UI tests to ensure no flakiness
I wasn’t aware that you could display live photos until recently. The first thought was to search for some documentation, and surprisingly, it is documented ...
Creating a new playlist in Apple Music and adding Shazamed songs to it using ShazamKit and MPMediaLibrary
MusicKit for Swift makes it far easier to authenticate. No hassle of generating a JWT.
ShazamKit lets developers take advantage of Shazam's exact audio matching capabilities within their apps
Creating a generic view to use in the main screen of RGB, HSB, CMYK and history screen.
Refactoring the code of my apps
Enum and extensions for strongly code string identifiers
WKInterfaceInlineMovie that displays a video’s poster image and supports inline playing of the video.
I wanted to play around with RevenueCat, and I figured creating a tip jar would be the perfect start.