Post

Replies

Boosts

Views

Activity

Comment on how to make custom font to align in center of the frame
Thank you very much. ".custom("Founders Grotesk Light", size: 30)" in your answer gives me a new insight. I thought there was an alignment problem with all custom fonts, but it seems to be with only a few fonts including my case "Arial Hebrew". How "lucky" I am! It seems that only one approximate value can be given by "scaledPadding" approach. Maybe I should change to another font if an exact value cannot be evaluated.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Mar ’23
Comment on how to display loop times in playground
Sorry for my poor English. I actually want to know how to switch the "5\n" to "(5 times)". I remember it used to display like that in the past. However, I can only switch in between "latest value" and "value history" for now. Is it changed because of the Xcode version. Or I'm looking in the wrong place
Replies
Boosts
Views
Activity
Feb ’24
Comment on legal font used in iOS app
I'm writing a new iOS app. I want to use some fonts(included in the system font list) except SF serial. I'm curious about whether it's legal for me to use the font without paying for the license.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Mar ’23
Comment on how to make custom font to align in center of the frame
Thank you for your reply! Is there any formula calculation method to evaluate the exact offset scale? -0.25 or -1/3 both seem to be ok by eye-measurement.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’23
Comment on how to make custom font to align in center of the frame
Thank you very much. ".custom("Founders Grotesk Light", size: 30)" in your answer gives me a new insight. I thought there was an alignment problem with all custom fonts, but it seems to be with only a few fonts including my case "Arial Hebrew". How "lucky" I am! It seems that only one approximate value can be given by "scaledPadding" approach. Maybe I should change to another font if an exact value cannot be evaluated.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’23
Comment on how to detect major color in an image in iOS
This has provided me great insights. Thank you for your detailed reply!
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Feb ’23
Comment on Reload images from PHPickerViewController
Thank you for your exhaustive reply :-)
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Dec ’22
Comment on How to auto adjust the height of list row in edit mode?
The long text will be loaded dynamically and each row may need different height. The height is undetermined.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’22
Comment on How to auto adjust the height of list row in edit mode?
I'm afraid I can't indicate the exact height of the long text needed.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’22
Comment on keyboard can't be popped up in live preview mode
I give up. Maybe the simulator is a better way for this case. :-)
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jan ’22
Comment on keyboard can't be popped up in live preview mode
Thank you so much for your exhaustive answer.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jan ’22
Comment on keyboard can't be popped up in live preview mode
@jeremy-dev Thanks for your answer. :-) Is there any workaround for "Live Preview" in the Canvas in Xcode?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Dec ’21
Comment on "onTapGesture" interferes with segmented picker
The kind of "gesture" modifiers seems to have a higher priority than the action code within the picker. If we can decrease the priority, the problem should be solved.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’21
Comment on What's the difference between InlinePickerStyle and WheelPickerStyle
Thanks a lot :-)
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’21
Comment on some symbols in sf symbol 3 can't be displayed
Thanks a lot
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’21
Comment on onTapGesture conflicts with button
I’m afraid the flag only works when "the button action block" executes before "the onTapGesture block". However, as far as I know, the execution order seems to be random.:-( Your first answer is important to me. Thanks a lot.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’21