dev-resources.site
for different kinds of informations.
What's new in PreviewDevice 0.8.0
Published at
9/18/2021
Categories
ios
swift
swiftui
preview
Author
toni777772
Author
10 person written this
toni777772
open
PreviewDevice is a library with type-safe syntax sugar for preview device on SwiftUI.
If you don't know what is the library, I recomment read this article.
What's new in 0.8.0? Go-go-go
Added support new Apple devices:
iPhones:
- iPhone 13 mini (
Device.iphone13Mini
) - iPhone 13 (
Device.iphone13
) - iPhone 13 Pro (
Device.iphone13Pro
) - iPhone 13 Pro Max (
Device.iphone13ProMax
)
Apple Watch:
- Apple Watch Series 7 - 41mm (
Device.watchSeries7_41mm
) - Apple Watch Series 7 - 45mm (
Device.watchSeries7_45mm
)
iPads:
- iPad 9th generation (
Device.ipad_9Gen
) - iPad mini 6th generation (
Device.ipadMini6
)
Preview on device with orientation and color schemes.
Available iOS 15+ OSX 12+, macCatalyst 15+, tvOS 15+, watchOS 8.0+
struct ContentView_Previews: PreviewProvider {
static var previews: some View {
ContentView()
.previewDevice(device: .iphone13,
orientation: .portrait,
colorSchemes: [.light, .dark])
}
}
Do you like the library? Click the star on GitHub.
Thanks for reading! See you soon. ๐
preview Article's
23 articles in total
How To Solve The Problem of the Vanishing PDF Form Data
read article
Fileman - SFTP File Manager
read article
Unity 6 Preview: The Future of Game Development ๐ฎ
read article
How to Quickly Combine PDF Files on Your Mac
read article
How to deploy and remove Vercel Preview Deployment from GitHub Actions
read article
Unleash Your Frontend Superpowers with Vercel
read article
Code brushes for GitHub Copilot
read article
How To Image Upload With Preview In Laravel 9
read article
How to Preview localhost Website on Mobile Phone
read article
๐Quick-win : Fix erreur NETSDK1045 avec .net 7 preview
read article
Preview environments with Gitea, Drone and Netlify
read article
What's new in PreviewDevice 0.8.0
currently reading
The C# Source Generators revolution
read article
Preview environments per Pull Request using AWS CDK and Github Actions
read article
๐ Hackathon progress
read article
New feature in Visual Studio 16.6.0 Preview 2, a better integration with Git and GitHub
read article
Preview replace results in Neovim
read article
WhatsApp link preview is weird
read article
๐ข #1 Visual Studio Code Data Preview ๐ธ
read article
Checking In
read article
Making Customer's Lives Easier with Microsoft Office Preview
read article
VSCode Data Preview ๐ธ ๐ for devs around the ๐
read article
๐ข VSCode Data Preview ๐ธ November 2019 Update
read article
Featured ones: