Can Demir

26 posts

Can Demir

Can Demir

@canTheBot404

Katılım Ağustos 2024
15 Takip Edilen3 Takipçiler
Ali Taha
Ali Taha@AliTahaSubfly·
Zen -> I hate firefox Arc -> Abondoned. Don’t care what they say Chrome-> Should I even need to talk about this? Safari -> Best engine with worst UI Best engine with worst UI gives me the absolute hope.
The Browser Company@browsercompany

Today, The Browser Company of New York is entering into an agreement to be acquired by Atlassian for $610M in an all-cash transaction. We will operate independently, with Dia as our focus. Our objective is to bring Dia to the masses. 🔗 More details from our team below

English
1
0
1
186
Can Demir
Can Demir@canTheBot404·
@drawsgood You are using ForEach to loop but your loop does not return a View. ForEach designed for views, and it returns a view. Replace ForEach(myArray) with regular loop like "myArray.forEach" or "for item in myArray"
English
0
0
1
8
Drawsgood
Drawsgood@drawsgood·
closer maybe?
Drawsgood tweet media
English
2
0
1
395
Drawsgood
Drawsgood@drawsgood·
halp, any ideas on this SwiftUI error?
Drawsgood tweet media
English
2
0
1
827
Can Demir
Can Demir@canTheBot404·
@corneliusmark @krzyzanowskim It seems you've run swift example on debug mode. I got decent result on release. (3e-05 vs 7e-05) To maximize speed, you can use ContiguousArray in Swift and C array in ObjC (for contiguous memory). Keep in mind, swift also has overflow check for array.
Can Demir tweet mediaCan Demir tweet media
English
1
0
2
94
Can Demir
Can Demir@canTheBot404·
@GroovinChip You need to split List into List(selection: _) + ForEach(items) and add Section around ForEach. That way, Section will treat ForEach as a single group and add spacing between SearchTextField and Items.
English
1
0
0
78
Can Demir
Can Demir@canTheBot404·
@GroovinChip Assuming you just want a small space, separate List and ForEach, then wrap ForEach with with section. For a bigger one, you can just add a Spacer along side with first element. Personally I would use a custom search TextField because searchable offers no customization
Can Demir tweet mediaCan Demir tweet media
English
1
0
1
90
Can Demir
Can Demir@canTheBot404·
@To_Me_Digital You probably made the purchase previously, hence you don't get the purchase sheet again. You can remove transactions by going Debug->StoreKit->Manage Transactions.
English
2
0
1
21
ToMe_84
ToMe_84@To_Me_Digital·
Hello community, I’m facing a problem with Storekit. I created buttons to trigger purchase of an auto renewable sub, but when the “yearly sub button is pushed, modal view doesn’t pop up and purchase is conducted immediately. Monthly sub works as expected. ⬇️#iosdev #SwiftUI ⬇️
English
1
2
0
81
Can Demir
Can Demir@canTheBot404·
@AndroidDev_News @androiddevnotes It's a dessert made from layers of paper thin dough and nuts (pistachios walnuts almonds) cooked with sweet syrup. Crispy and sweet. Also, Baklava fits the Android version naming convention.
English
0
0
0
66
Can Demir
Can Demir@canTheBot404·
@androiddevnotes In such cases where return/done button does not exist, we may add a button above keyboard as toolbar or make any interaction outside of keyboard auto-dismiss keyboard. Sometimes we auto dismiss keyboard when field is filled like 2FA code fields.
English
1
0
1
48
Android Dev Notes
Android Dev Notes@androiddevnotes·
why dont iphone keyboards have this: ▼ ? how do you even close this keyboard?
Android Dev Notes tweet media
English
1
0
5
703
Android Dev Notes
Android Dev Notes@androiddevnotes·
for flutter which IDE do you prefer?
Android Dev Notes tweet media
English
19
0
29
5.3K
Can Demir
Can Demir@canTheBot404·
@androiddevnotes 600 is good enough. After you reach the limit, you disable the linter rule on that file and continue to add anyway.
English
1
0
1
86
Android Dev Notes
Android Dev Notes@androiddevnotes·
ideal lines in a file (excluding imports): 600 ?
English
3
0
6
1.8K
Can Demir
Can Demir@canTheBot404·
@Bartozo_ TextField does not put the prompt inside input field but instead a Text view overlay. Text by default handles url schemes. To handle your case, use TextField with prompt like this
Can Demir tweet media
English
1
0
4
87
Can Demir
Can Demir@canTheBot404·
@GroovinChip @TahaTesser @ChristianSelig There is. I usually recommend default as it just works but... If you want something custom, keep icon size relative to text. Maybe utilize "sidebarRowSize" env value. Also going over Apple's HIG at least once is nice. Just to have some familiarity. #macOS" target="_blank" rel="nofollow noopener">developer.apple.com/design/human-i…
English
4
0
1
110
GroovinChip 💙 🧡
GroovinChip 💙 🧡@GroovinChip·
@canTheBot404 @TahaTesser @ChristianSelig Wow, thanks! I’m AFK but I will definitely try that. As long as I have you, here’s another question: are there any guidelines for icon size for these icons? I couldn’t find any documentation about it.
English
1
0
0
48
Can Demir
Can Demir@canTheBot404·
@Tabingtons Track your feature major update in AppStorage, then do a version comparison with your current version at app launch. Nil ->Fresh install Current is bigger ->Already seen it Current is smaller ->Show whats new Always set/update current version, even after reset
English
3
0
2
37
Harry Brown
Harry Brown@Tabingtons·
Hi #iOSDev . Looking to implement a ‘what’s new’ sheet in my app. Have a question I can’t find an answer for online. How can I reset @/AppStorage to false on already installed apps, say when there’s a major update. #BuildInPublic #SwiftUI
English
2
1
6
369
Can Demir
Can Demir@canTheBot404·
@androiddevnotes I heard you wanna decrease number of imports. You don't have to explicitly import Foundation if you already have SwiftUI imported. SwiftUI already imports that in backstage.
English
3
1
1
818
Can Demir
Can Demir@canTheBot404·
@GroovinChip @TahaTesser @ChristianSelig You are trying to set label of NavLink twice with that. Try something like this. FYI you are not limited to Label, and use pretty much any view. Or since you have access to binding, using a button is also an option.
Can Demir tweet media
English
2
0
2
56
Can Demir
Can Demir@canTheBot404·
@xdevnotes Looks like your gitignore isn’t configured properly. That user interface state file is about Xcode, gui state, opened tabs etc. check your gitignore file. You can check out GitHub/gitignore/Swift.gitignore
English
1
0
1
41
X Dev Notes
X Dev Notes@xdevnotes·
how do i handle this xcodeproj changing every 2 seconds in git?
X Dev Notes tweet media
English
1
0
1
314
X Dev Notes
X Dev Notes@xdevnotes·
in like 5 mins
English
1
2
21
2.8K
Can Demir
Can Demir@canTheBot404·
@indiana_sloan @ivcanet @the_AndroidDev @androiddevnotes I don't see how it could go out of hand. How many DZRequest imp do you need? On the second imp, I would start questioning why do we need a new imp. In code review, I shouldn't scroll to top to see which 1 of the 10 imp is used. Naming must be concise
English
0
0
0
13
Android Dev Notes
Android Dev Notes@androiddevnotes·
how about grouped import syntax:
Android Dev Notes tweet media
English
5
0
6
1.7K