Post

Replies

Boosts

Views

Activity

Reply to SwiftUI full cycle training
Stanford course go much into those details. This is a link to iOS 10 course (a bit old but that could let you locate the most recent material). https://itunes.apple.com/fr/course/developing-ios-10-apps-with-swift/id1198467120
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jun ’21
Reply to AVSpeechUtterance with Dutch AVSpeechSynthesisVoice glitches on some words
I experienced the same problem (in english) when words are uppercase. I filed a bug-report: Mar 9, 2021 at 1:44 PM – FB9036694, which is still open. Here is a summary of bug report AVSpeechSynthesizer does not utter correctly some uppercased words Please describe the issue: Using AVSpeechSynthesizer, I noticed that some words in UPPERCASE are not correctly spoken. SMALL is pronounced small but WIDTH is pronounced by spelling W-I-D-T-H Version 12.4 (12D4e) MacOS 10.15.7 (19H524) Please list the steps you took to reproduce the issue: I reproduced the problem in playground: var sentence = "Hello everyone. WIDTH. Now the width and height." // the sentence to be told" let synthesizer = AVSpeechSynthesizer() let utterance = AVSpeechUtterance(string: sentence) utterance.voice = AVSpeechSynthesisVoice( language: "en-GB" ) utterance.rate = AVSpeechUtteranceDefaultSpeechRate synthesizer.speak(utterance) What did you expect to happen? I expect WIDTH to be uttered as width. What actually happened? WIDTH is spelled W-I-D-T-H
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’21
Reply to What does it mean by "Automatic Inflection" and "Detail Scenes" in SwiftUI part of Platform state of the Union?
I think Automatic Inflection deals with AttributedString https://developer.apple.com/documentation/foundation/attributedstring As defined in wiki: https://en.wikipedia.org/wiki/Inflection In linguistic morphology, inflection (or inflexion) is a process of word formation, in which a word is modified to express different grammatical categories such as tense, case, voice, aspect, person, number, gender, mood, animacy, and definiteness
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jun ’21
Reply to The iOS 15 update
You will find Apple's instructions here. https://beta.apple.com/sp/betaprogram/unenroll#ios With more details here: https://beta.apple.com/sp/betaprogram/restore?locale=en#ios Remember that beta are just … beta. With its share of risk. IMHO, you should not install on your main device, but use one that has no critical use or data.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’21
Reply to How to code image recognition
You ask many questions here. Xcode or Visual Studio Code  I do recommend Xcode. Anyway, you will need it to publish on the AppStore. As for language, if you are fluent in C++, you may select Objective C instead of Swift. I thought maybe I need some kind of database with example pictures? Image recognition is now better done with Machine Learning. Here is a tutorial: https : / / w w w .raywenderlich .com/7960296-core-ml-and-vision-tutorial-on-device-training-on-ios how do I program the app to access the camera? There are many tutorial about it. First read Apple's doc: https://developer.apple.com/documentation/avfoundation/cameras_and_media_capture/avcam_building_a_camera_app
Jun ’21
Reply to Test
I may test how long it takes for the verification process. Which may range between a minutes up to 10 minutes . Note: that makes use of the forum really awkward, as you cannot edit your own post in the meanwhile.
Jun ’21
Reply to Index out of range, SwiftUI
For sure the problem is not on tapGesture or animation but the access to the array element. Focus is on valori[x] So, everywhere you want to access valori[i], make the test: if i < valori.count { valori[i] += 100 }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’21
Reply to SwiftUI full cycle training
Stanford course go much into those details. This is a link to iOS 10 course (a bit old but that could let you locate the most recent material). https://itunes.apple.com/fr/course/developing-ios-10-apps-with-swift/id1198467120
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’21
Reply to AVSpeechUtterance with Dutch AVSpeechSynthesisVoice glitches on some words
I experienced the same problem (in english) when words are uppercase. I filed a bug-report: Mar 9, 2021 at 1:44 PM – FB9036694, which is still open. Here is a summary of bug report AVSpeechSynthesizer does not utter correctly some uppercased words Please describe the issue: Using AVSpeechSynthesizer, I noticed that some words in UPPERCASE are not correctly spoken. SMALL is pronounced small but WIDTH is pronounced by spelling W-I-D-T-H Version 12.4 (12D4e) MacOS 10.15.7 (19H524) Please list the steps you took to reproduce the issue: I reproduced the problem in playground: var sentence = "Hello everyone. WIDTH. Now the width and height." // the sentence to be told" let synthesizer = AVSpeechSynthesizer() let utterance = AVSpeechUtterance(string: sentence) utterance.voice = AVSpeechSynthesisVoice( language: "en-GB" ) utterance.rate = AVSpeechUtteranceDefaultSpeechRate synthesizer.speak(utterance) What did you expect to happen? I expect WIDTH to be uttered as width. What actually happened? WIDTH is spelled W-I-D-T-H
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jun ’21
Reply to What does it mean by "Automatic Inflection" and "Detail Scenes" in SwiftUI part of Platform state of the Union?
I think Automatic Inflection deals with AttributedString https://developer.apple.com/documentation/foundation/attributedstring As defined in wiki: https://en.wikipedia.org/wiki/Inflection In linguistic morphology, inflection (or inflexion) is a process of word formation, in which a word is modified to express different grammatical categories such as tense, case, voice, aspect, person, number, gender, mood, animacy, and definiteness
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’21
Reply to Don't understand Copy Code
Where do you see the code ? In the video ? Do you get the code download from the session ? Please clarify, your question is hard to understand.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’21
Reply to The iOS 15 update
You will find Apple's instructions here. https://beta.apple.com/sp/betaprogram/unenroll#ios With more details here: https://beta.apple.com/sp/betaprogram/restore?locale=en#ios Remember that beta are just … beta. With its share of risk. IMHO, you should not install on your main device, but use one that has no critical use or data.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’21
Reply to SwiftUI: Assign the height of the screen safe area in pixels to a constant
To convert points to pixels, use: UIScreen.main.scale See details here: https://stackoverflow.com/questions/48737789/how-do-i-figure-out-pixel-to-point-conversion-on-specific-iphone Note: when you write your post, please edit it so that it is more readable. 12 packed lines is pretty hard to read.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’21
Reply to How to code image recognition
You ask many questions here. Xcode or Visual Studio Code  I do recommend Xcode. Anyway, you will need it to publish on the AppStore. As for language, if you are fluent in C++, you may select Objective C instead of Swift. I thought maybe I need some kind of database with example pictures? Image recognition is now better done with Machine Learning. Here is a tutorial: https : / / w w w .raywenderlich .com/7960296-core-ml-and-vision-tutorial-on-device-training-on-ios how do I program the app to access the camera? There are many tutorial about it. First read Apple's doc: https://developer.apple.com/documentation/avfoundation/cameras_and_media_capture/avcam_building_a_camera_app
Replies
Boosts
Views
Activity
Jun ’21
Reply to Test
I may test how long it takes for the verification process. Which may range between a minutes up to 10 minutes . Note: that makes use of the forum really awkward, as you cannot edit your own post in the meanwhile.
Replies
Boosts
Views
Activity
Jun ’21
Reply to Firebase Auth
If I remember well, API call is now: FIRAuth.auth() and no more Auth.auth()
Replies
Boosts
Views
Activity
Jun ’21
Reply to iOS Tutorial Error
Replace with: ProgressView(value: 5.0, total: 15) Doing so, value is a Float, which pleases the compiler.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’21
Reply to How to indicate app is dark mode only in Xcode 13?
You should add it in the info.plist. In your Info.plist, UIUserInterfaceStyle set it to Dark. You could also do it programmatically, on a VC by VC basis. have a look here on all possible options: https : / / w w w .avanderlee. com/swift/dark-mode-support-ios/
Replies
Boosts
Views
Activity
Jun ’21
Reply to Enum cases with associated values cannot be marked potentially unavailable
Could you show the complete code of enum declaration ? And test this: enum SomeContent { case cas1(val : Int) @available(iOS 11.0, *) case cas2(val : Int) }
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’21
Reply to cannot find type 'apirequests' in scope , Cannot find type 'RequestType' in scope and Cannot find 'ServiceStatusCode' in scope Showing error on Xcode 12.4 with M1 Chip
Where did you find that APIRequests is a defined type in Almofire ? Did you get a model for this func somewhere ? func sendRequestWithJson()
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jun ’21
Reply to cannot find type 'apirequests' in scope , Cannot find type 'RequestType' in scope and Cannot find 'ServiceStatusCode' in scope Showing error on Xcode 12.4 with M1 Chip
So you may have to update the pod to the last version.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jun ’21