Post

Replies

Boosts

Views

Activity

Degrees of Gray on iOS APPS
Hi so based on Apple UIG I should use degrees of transparency to get degrees of gray ? So to apply that on a label for example or text I make them black color then apply transparency on the control element it self ? kindest Regards
1
0
972
Jan ’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
Getting the Locale of the System in iOS
Hi, I use the elbow code to toggle between English and Arabic locale, but the alert message always shows en_QA which is English I guess even when locale changed to Arabic ? why is that ? struct arview: View { @Environment(\.locale) private var locale @State private var showingAlert = false @State private var isLTR: Bool = false @State private var txtValue = "" var body: some View { VStack{ Text("Note Title") TextField("Place Holder", text: $txtValue) Button("Change Locale") { isLTR.toggle() } Button("Show Alert") { showingAlert = true } .alert("Current Locale: \(locale.identifier)", isPresented: $showingAlert) { Button("OK", role: .cancel) { } } } .padding() .environment (\.locale, isLTR ? Locale.init(identifier: "en" ) : Locale.init(identifier: "ar" )) } }
0
0
386
Jan ’24
Installing font system wide
Hi can my App now install fonts system wide in iOS and iPadOS ? Is there any helpful links ? Kindest Regards
Replies
1
Boosts
0
Views
549
Activity
Jan ’22
Degrees of Gray on iOS APPS
Hi so based on Apple UIG I should use degrees of transparency to get degrees of gray ? So to apply that on a label for example or text I make them black color then apply transparency on the control element it self ? kindest Regards
Replies
1
Boosts
0
Views
972
Activity
Jan ’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
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
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
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
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
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
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
Apple Car Kit & carOS
Hi, The Car Kit Apple introduced recently is it a separate OS or what ? I mean how can I develop and deploy a whole new designed Car Info System and dashboards same as the designs Apple published last year ? Kindest Regards
Replies
0
Boosts
0
Views
775
Activity
Dec ’23
Xcode Local Source Control Merging Branches
Hi, When I use local Xcode source control and not connect to a cloud git I don't have the ability to merge branches ? if possible can you show hw please ? Also other features such as push, pull, cherry Pick isn't supported ? Kindest Regards
Replies
0
Boosts
0
Views
422
Activity
Dec ’23
Catching the keyboard language changing in iOS and getting the language
Hi, How to catch the keyboard language changing in iOS when use select a different language from keyboard, and how to know what language he selected and if its right to left ? in SwiftUI App. Kindest Regards
Replies
0
Boosts
0
Views
426
Activity
Jan ’24
Getting the Locale of the System in iOS
Hi, I use the elbow code to toggle between English and Arabic locale, but the alert message always shows en_QA which is English I guess even when locale changed to Arabic ? why is that ? struct arview: View { @Environment(\.locale) private var locale @State private var showingAlert = false @State private var isLTR: Bool = false @State private var txtValue = "" var body: some View { VStack{ Text("Note Title") TextField("Place Holder", text: $txtValue) Button("Change Locale") { isLTR.toggle() } Button("Show Alert") { showingAlert = true } .alert("Current Locale: \(locale.identifier)", isPresented: $showingAlert) { Button("OK", role: .cancel) { } } } .padding() .environment (\.locale, isLTR ? Locale.init(identifier: "en" ) : Locale.init(identifier: "ar" )) } }
Replies
0
Boosts
0
Views
386
Activity
Jan ’24
Reducing default space between tool bar items
Hi, How to reducing default space between tool bar items, it seems little to much. Kindest Regards
Replies
1
Boosts
0
Views
463
Activity
Jan ’24
Plain Segmented Control
Hi, How to remove a background color from segmented control ? in SwiftUI. Kindest Regards
Replies
3
Boosts
0
Views
590
Activity
Feb ’24