I am still new to xcode. but where is Canvas? For now I only depended on the keystroke.
Post
Replies
Boosts
Views
Activity
This works!
Is there any way to have the left and right spacing be removed or adjusted? The gap is just too big.
LOL. That quick? I just recently installed this like a month ago. I am on 13.4.1. I didnt get any notification about updates though. Thank you, will upgrade.
By the way, just letting you know what I did. The View need not be supplied with the variable as long as I set it to nil upon declaration e.g. let someClass: SomeClass? = nil
I think I got a working prototype that is simple to get me started. My remaining issue is that content closure seems to accept only a view and nothing else. I cannot declare a variable. Is there a way for that? Something like
FetchUrlContentView(url: "https://www.test.com/", loading: true) { data in
let test = String(data.count)
MyView(test)
}
I see. Any idea how to do this? Seems pretty hassle to have to convert a date object to a string and use DateFormatter to convert string back to date (Since you can set the timezone here).
I saw this. But I was wondering if there is a way to reuse my existing strings where placeholders are based on curly braces with index number as the order. e.g. "Hi, {0} {1}", "First", "Second" which results in "Hi, First Second". I guess this is not supported then.
Thanks! This works! Never really found this one. I have a question, URLSession.shared, is there no way to change its configuration? if I instantiate a new URLSession every request, is it resource heavy compared to using URLSession.shared? unless there is no choice.
It's sad that there is no easy way to do this. Even for just a simple title/subtitle. It should have been integrated into MapMarker and MapPin
Doesnt work in Swift 5
Hi. I found the culprit. I keep calling .htmlString which returns a plain string. I also opted to use markdown instead since in html it uses a diff font helvetica and reduces font size to 12
Hi thanks. Seems mutating has to be used here. I was trying to avoid using it but it seems since it is a struct then this is a necessity. The code sample for that is to place that inside a struct View and have that variable and method. But your sample code already gave an explanation. Thank you.
Hi @robnotyou this works! Thank you.
I wish to ask regarding a different topic, on what to use (if you have an idea). I am also trying to create an MKCoordinateRegion from an array of coordinates. Which classes are involved?
Its alright, i got the array part
Thank you! I still have a lot to learn :D