Post

Replies

Boosts

Views

Activity

Comment on how can i make my async func wait
between my print it pass throught i have also that : 2022-12-23 15:36:19.966449+0100 App[2115:36149] [Client] {"msg":"#NullIsland Received a latitude or longitude from getLocationForBundleID that was exactly zero", "latIsZero":0, "lonIsZero":0, "location":'80 76 DD 0D 03 00 00 00'}
Topic: Programming Languages SubTopic: Swift Tags:
Dec ’22
Comment on how can i make my async func wait
I managed to put the task on my button and change my function to async but when I call it : ""'async' call in a function that does not support concurrency"" i try to fix it and i put a task when i call task { await getLatLongFromAddress(withAddress : address1) { (lat,long) in } it didn't work and another to fix it was to put my verif asynchronous so i did that but is still didn't work
Topic: Programming Languages SubTopic: Swift Tags:
Dec ’22
Comment on cancel the async and make it run normally
to be more precise I need to getlat (and getLong) to be able to compare the distance between 2 cities and if the distance is more than a certain number of kilometers I have to return false. what is the most optimal choice to do this? because even if i do all my stuff in need to return my bool at the end. and if do a async wait its my function getLat becoming a async wait or is the other function
Topic: Programming Languages SubTopic: Swift Tags:
Dec ’22
Comment on can't complete my collection View
okay thx you i fix my problem but still got another one : ` The imageSliderHomeClient outlet from the HomeClient to the UIImageView is invalid. Outlets cannot be connected to repeating content.' i search on different post but everytime they talk about this problem is about a tablayout
Topic: Programming Languages SubTopic: Swift Tags:
Nov ’22
Comment on how can i make my async func wait
you can remove textblanc it change just my label into white
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jan ’23
Comment on how can i make my async func wait
its all my output but i don't know why it said latiszero because when i call it i got a good response but is still asynchrone
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jan ’23
Comment on how can i make my async func wait
it won't work ...
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jan ’23
Comment on how can i make my async func wait
between my print it pass throught i have also that : 2022-12-23 15:36:19.966449+0100 App[2115:36149] [Client] {"msg":"#NullIsland Received a latitude or longitude from getLocationForBundleID that was exactly zero", "latIsZero":0, "lonIsZero":0, "location":'80 76 DD 0D 03 00 00 00'}
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Dec ’22
Comment on how can i make my async func wait
here is the code if my verif is also async func verif() async -> Bool { }   @IBAction func ValidButon(_ sender: Any) {     Task { @MainActor in       if await verif() { }
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Dec ’22
Comment on how can i make my async func wait
I managed to put the task on my button and change my function to async but when I call it : ""'async' call in a function that does not support concurrency"" i try to fix it and i put a task when i call task { await getLatLongFromAddress(withAddress : address1) { (lat,long) in } it didn't work and another to fix it was to put my verif asynchronous so i did that but is still didn't work
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Dec ’22
Comment on cancel the async and make it run normally
to be more precise I need to getlat (and getLong) to be able to compare the distance between 2 cities and if the distance is more than a certain number of kilometers I have to return false. what is the most optimal choice to do this? because even if i do all my stuff in need to return my bool at the end. and if do a async wait its my function getLat becoming a async wait or is the other function
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Dec ’22
Comment on cancel the async and make it run normally
i have try to create another func call getLatFromAddress but the result still the same my bad
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Dec ’22
Comment on Arm64 in excluded architectures - how to use?
hi i want to ask it happen to me after i download pod "GooglePlaces" after delete the pod my app work but i need autocomplete so how should i do ?
Replies
Boosts
Views
Activity
Dec ’22
Comment on can't complete my collection View
My UIImageView is already inside my SliderCollectionViewCellHomeClient so im a little lost
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Nov ’22
Comment on can't complete my collection View
okay thx you i fix my problem but still got another one : ` The imageSliderHomeClient outlet from the HomeClient to the UIImageView is invalid. Outlets cannot be connected to repeating content.' i search on different post but everytime they talk about this problem is about a tablayout
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Nov ’22
Comment on Error Domain=NSCocoaErrorDomain Code=3840 AND
yes 1 bytes is the print(data) . on my android studio application met page php sends data in utf8 should i change the encode ?
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Nov ’22
Comment on Error Domain=NSCocoaErrorDomain Code=3840 AND
yeah 1 bytes is the print(data)  echo utf8_encode($resultArray); is the data i send to my swift. on my android studio application met page php sends data in utf8.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Nov ’22