Post

Replies

Boosts

Views

Activity

NavigationSplitView Collapse Button
Hi, When creating a 3 columns Split View in SwiftUI the second view that resemble the mails list in Apple Mails App have a blue icon at top left corner where when tapped shows the column of Mail boxes such as Inbox, Sent etc. This icon by default when creating the Split View disappears after tapping, it shows the third column and disappear , I would like it to stay so I can show and collapse the first column sam as Apple Mail App. how to do that ? its called back also how to rename it and add icon to it ?
3
0
1.1k
Dec ’23
placeholderText Color
Hi Theres colors to use in SwiftUI when developing iOS App such as first line, but when I try to use the other system color placeholderText I get the error "Type Color? has no member placeholderText" why ? Text("Hello, World!").foregroundColor(.quaternaryLabel)
3
0
692
Jun ’22
Changing Modifiers by Code
Hi suppose I have 2 buttons button1 and button2 and when button2 is tapped I want to change button1 colors and it’s text, how to do that ? How to reference to button1 and change its modifiers ? now also suppose button one was a text such as Text(“Some Text”), how to change text shown between brackets when button2 is tapped ? Kindest Regards
1
0
427
Feb ’22
Are Fitness features exists in HealthKit ?
Hi, The fitness features such as distance moved, steps, calories burned is it in HealthKit or in a different kit ? couldn't find any API in HealthKit ? Also for example how can Apple Watch distinguish that this amount of steps was walked and not moved by a slow car or a scoter for example ? Kindest Regards
Replies
0
Boosts
0
Views
598
Activity
Dec ’23
Customizing Back Button in Column 2 "Content" in SplitView
Hi, How can I customize the Back Button in Column 2 "Content" in SplitView, like changing its color, label, icon ? Also is it possible to keep it visible even when Column 1 is shown and make it work like toggling showing and hiding Column 1 ? Kindest Regards
Replies
2
Boosts
0
Views
525
Activity
Dec ’23
Access Control SwiftUI Structs
Hi, when declaring variables or constants inside a Struct in SwiftUI projects is it by default private or internal ? seems little confusing cause I see some using the private word explicitly sometimes. Kindest Regards
Replies
2
Boosts
0
Views
1.5k
Activity
Dec ’23
Using Data or View in NavigationStack
Hi, Is it recommended to use data and SwiftUI controls inside the NavigationStack or to use views as before ? I think views is easier to maintain or Im missing something ? cause I hear that the new way is to use data directly ? Kindest Regards
Replies
0
Boosts
0
Views
284
Activity
Dec ’23
NavigationSplitView Collapse Button
Hi, When creating a 3 columns Split View in SwiftUI the second view that resemble the mails list in Apple Mails App have a blue icon at top left corner where when tapped shows the column of Mail boxes such as Inbox, Sent etc. This icon by default when creating the Split View disappears after tapping, it shows the third column and disappear , I would like it to stay so I can show and collapse the first column sam as Apple Mail App. how to do that ? its called back also how to rename it and add icon to it ?
Replies
3
Boosts
0
Views
1.1k
Activity
Dec ’23
What's the # symbol in swift documentation
Hi. I see a # symbol allot in swift documentation, as in definition below what it means ? Kindest Regards import <#module#>
Replies
3
Boosts
0
Views
618
Activity
Dec ’23
Math Functions in Swift
Hi, Is there math functions in Swift built in, such as Sin, Cos, Log etc ? Kindest Regards
Replies
4
Boosts
0
Views
843
Activity
Dec ’23
Initializing NavigationStack
Hi, NavigationStack is a struct so to initialize it we need to use var or let so how come we use it without this keywords ? Kindest Regards
Replies
1
Boosts
0
Views
399
Activity
Nov ’23
Command - Click on Canvas
Hi, In Xcode 15 is command click on an item in the preview canvas feature removed ? it doesn't work for me ? Kindest Regards
Replies
0
Boosts
0
Views
492
Activity
Sep ’23
Xcode Compatibility Error Message
Hi Im trying to run my Xcode App on physical iPad but getting the attached screen message, this happened recently before few months I didn't get it. My iPad is 9.7" Pro with iPadOS 15.6. Mac is NBP 2015 with macOS 11.5.1 and Xcode Version 13.2.1. is there a fix ?
Replies
0
Boosts
0
Views
410
Activity
Aug ’22
Recent Features in SwiftUI on Big Sur
Hi my MacBook Pro stopped updating at Big Sur although it’s not old it’s 2015. So to use the new SwiftUI features isn’t enough to upgrade to Xcode 14 or it won’t install on my machine ? Kindest Regards
Replies
3
Boosts
0
Views
667
Activity
Jul ’22
placeholderText Color
Hi Theres colors to use in SwiftUI when developing iOS App such as first line, but when I try to use the other system color placeholderText I get the error "Type Color? has no member placeholderText" why ? Text("Hello, World!").foregroundColor(.quaternaryLabel)
Replies
3
Boosts
0
Views
692
Activity
Jun ’22
SwiftUI Updates
Hi SwiftUI updates such as Charts are available to use now or till the new OS launches in coming fall ? Kindest Regards
Replies
2
Boosts
0
Views
894
Activity
Jun ’22
Installing fonts systemwide in iOS & iPadOS
Hi what kit I should use to install a font system wide in iOS & iPadOS ! Anybody have an idea how ? Adobe Creative App have such feature. Kindest Regards
Replies
2
Boosts
0
Views
871
Activity
Mar ’22
Changing Modifiers by Code
Hi suppose I have 2 buttons button1 and button2 and when button2 is tapped I want to change button1 colors and it’s text, how to do that ? How to reference to button1 and change its modifiers ? now also suppose button one was a text such as Text(“Some Text”), how to change text shown between brackets when button2 is tapped ? Kindest Regards
Replies
1
Boosts
0
Views
427
Activity
Feb ’22