swiftui – AlbeBaubles https://albebaubles.com Mobile & IoT Development Sat, 24 Feb 2024 14:38:48 +0000 en hourly 1 https://wordpress.org/?v=6.8.1 https://albebaubles.com/wp-content/uploads/2019/10/cropped-247306-3-32x32.png swiftui – AlbeBaubles https://albebaubles.com 32 32 Milracks – AlbeBaubles https://albebaubles.com/swift/milracks-albebaubles/ https://albebaubles.com/swift/milracks-albebaubles/#respond Sat, 24 Feb 2024 14:38:48 +0000 https://albebaubles.com/?p=930 Check out our newest app on the App Store! 100% SwiftUI.

Milracks – AlbeBaubles:

]]>
https://albebaubles.com/swift/milracks-albebaubles/feed/ 0
Too easy https://albebaubles.com/swift/too-easy/ https://albebaubles.com/swift/too-easy/#respond Sat, 19 Feb 2022 04:10:07 +0000 https://albebaubles.com/?p=554 A great example of how simple it is to construct a user interface in swiftUI

UntitledImage UntitledImage

]]>
https://albebaubles.com/swift/too-easy/feed/ 0
SwiftUI, ready for primetime? https://albebaubles.com/swiftui/swiftui-ready-for-primetime/ https://albebaubles.com/swiftui/swiftui-ready-for-primetime/#respond Thu, 20 Aug 2020 22:38:45 +0000 https://albebaubles.com/?p=227 Continue reading SwiftUI, ready for primetime?]]> Things have been slow at AlbeBaubles lately so I thought I’d tackle an old client app that hasn’t been updated in ages and rewrite in 100% SwiftUI.

Look art how little code is needed to show a grid of vowels glyphs in a grid with the ability to play them.  Simple.

 

Yes, SwiftUI is becoming ready for primetime.  It takes a little time for it to become second nature but once it does your productivity will skyrocket.

 

 

Screen Shot 2020 08 20 at 2 32 23 PMScreen Shot 2020 08 20 at 4 01 19 PM

]]>
https://albebaubles.com/swiftui/swiftui-ready-for-primetime/feed/ 0
SwiftUI – NSAttributedString https://albebaubles.com/swift/swiftui-nsattributedstring/ https://albebaubles.com/swift/swiftui-nsattributedstring/#respond Sun, 20 Oct 2019 05:18:59 +0000 http://10.0.1.200/wordpress/?p=33 While it’s true SwiftUI doesn’t currently provide easy access to NSAttributedString, you can concatenate string literals assigning attributes to each literal individually:

Text("Regular, ") + 
Text("Italic, ").italic() + 
Text("Bold, ").bold() + 
Text("Blue").foreground(.blue)

Not pretty, but it works

]]>
https://albebaubles.com/swift/swiftui-nsattributedstring/feed/ 0