Post

Replies

Boosts

Views

Activity

Reply to Icon Composer questions...
When I went back to this - it doesn't seem like the .icon ever never worked at all. For now exporting the 3 files and putting them in the 3 spots in Xcode works for me. When I go to customize in the simulator (I don't have a device on iOS26!) it does pick up the right icons. Looks like my attempt above to match up file names failed, trying again. Icon Composer button = IC file name = Xcode name Default =*-iOS-Default-1024x1024(at)1x.png = Any Appearance Dark =*-iOS-Dark-1024x1024(at)1x.png =Dark Mono=*-iOS-ClearLight-1024x1024(at)1x.png=Tinted
Jun ’25
Reply to Icon Composer questions...
OK I found out how to do it - but it doesn't fully work. When you save the file in Icon Composer - THAT is the .icon file! 😲seems obvious after you know that. Don't drag it into the Asset Catalog - like you have for years and years. Just drag it into where your other files are. It will turn into an .icon. Unfortunately, All I see is the main icon. The Dark one is definitely NOT what I saved.
Jun ’25
Reply to Icon Composer questions...
They said Xcode will just read the .icon file so I assume this is only on macOS 26. I'd love to hear a confirmation of that - I'm not going to load Beta macOS. Beta Xcode was a big enough step for me. Someone asked in the group lab if the .icon files were back portable. The answer was "Yes" but I think what they meant was you can use the output of the Icon Composer back in older Xcode because they are just PNG or SVG files. (whatever you imported) I seem to remember never coming back from deleting the AppIcon asset. It's in the back of my mind as a "Bad Idea"! I think I created a new project and copied all my files back in. Probably I didn't have a recent enough commit. Xcode 26 Icon Composer Any Appearance Default Dark Dark Tinted Mono
Jun ’25
Reply to Icon Composer questions...
I figured it out: click on the document icon at the top of the right sidebar, then under platforms turn on iOS only. ( I turned off watchOS too) Then in the Export (⌘⇧E) pick iOS and change the Scale from 2x to 1x (and hit return - or it won't take effect) Then hit Export and pick your name & location. Do this again for the other 2 icons. Drag them individually into Xcode. Still doesn't answer why I don't get a .icon file. Maybe this only works on macOS 26. I'm still on macOS 15. You can store individual art and setting in each of the icons which is great. I don't see how to get the simulator to show tinted icons but I do see it switching to my Dark one.
Jun ’25
Reply to dual predicate search using CoreData
I guess my original question was answered by @deeje - I'd accept that answer but NSCompoundPredicate was spelled wrong🤓 https://stackoverflow.com/questions/31708540/swift-combining-predicates is useful reading on the topic. My follow-on question of how exactly to do that is mostly answered by "the data you compare must have the same type". My desire to add this functionality is now lower than my desire to figure out how to get SwiftUI to do this in the spot I need it. The basic Int(dateVariable) was met with some compiler error I didn't dig into.
Mar ’25
Reply to dual predicate search using CoreData
Thanks for the quick answer! Is "dateFromText" some sort of function somewhere? The compiler says it's out of scope and I don't find it in searches. I don't want to type the entire date in the search so the == seems not in the direction I want to go. I likely need to read more up on predicates before I'm ready to create this feature. I was thinking that I could type any character or word in my list and it would find that. Like if any of the dates were 2022 - I could type 22 and it would find that. It seems like I'd have to convert the date back to text to do that. Then there's the problematic issue with date formatting where a search of 22 might find the 22nd of a month in addition to the year and then there's numeric months vs. spelled out in long format...
Mar ’25
Reply to dual predicate search using CoreData
Thanks for the quick answer! But my question evolved since I wrote this: While the predicate I created (quoted above) for searching a String works great. My other attribute is a Date, but when I try to search on the date field nothing works: .searchable(text: $searchText) .onChange(of: searchText) { _, text in evnts.nsPredicate = text.isEmpty ? nil : NSPredicate(format: "eventDate CONTAINS %i " , text ) also %@ doesn't work either I did read up on CompoundPredicates here: https://stackoverflow.com/questions/31708540/swift-combining-predicates But since one of my predicates doesn't work on it's own, I don't see how combining them will magically work.
Mar ’25
Reply to How to Change Picker Text Color In SwiftUI
I can see that both .tint & .accentColor works for the default picker. But is there any way to change the color of a .pickerStyle(.wheel)? I've tried a lot of scenarios. It only seems to work with .automatic. Picker ("", selection: $countDowns) { ForEach(countDowns, id: \.self) { countDown in Text(" \(countDown)") // .accentColor(.blue) } } .accentColor(.blue) // .tint(.blue) // .pickerStyle(.wheel) .font(.largeTitle) .scaleEffect(2.0)
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Sep ’24
Reply to landscape support
I asked about this in a WWDC24 lab. I didn't get any real recognition that this is a big accessibility problem. They did recommend NOT creating 2 layouts that shift completely when going from portrait to landscape as that would be very disorienting. SwiftUI by design is meant to flow naturally when shifting orientation. Essentially the answer was: work on constraining and spacing things to fit as best as you can. The impression I get is: If you have to lock your app to one orientation or the other that's probably fine. There are some very highly regarded apps that do that.
Topic: Design SubTopic: General Tags:
Jun ’24
Reply to I can't log-in to the forums from the forums page!
I just went round and round trying to log in where it would tell me to create an account and when I tried type the user name that I know had worked it said that user name was taken. Then I realized the screen it's popping up is always defaulting to another apple ID - not my dev account one. So you have to click on the little "Log in with another Apple ID". That got me logged in. Maybe this will help you?
Jun ’24
Reply to Face ID on the next Mac coming
I just got a M1 iMac and something unexpected happened with the touchID key on the keyboard. I think it is a GREAT way to lock the computer quickly. You just tap it on the edge or with an unmapped finger and bang it's locked and it goes to sleep instantly. I think I'd miss this a lot of they went to faceID!
Topic: App & System Services SubTopic: Hardware Tags:
Jun ’21
Reply to Xcode update problems
Yes - downloading Xcode can be tough. I've had it "stall" many times and when I try again and it will finish - eventually. One theory is the MacAppStore is messing up: If you are not running macOS Big Sur then you can only download up to Xcode 12.4 - but since you mentioned a blue ring, that suggests you are trying to download via the MAS which I don't think will easily offer you anything but the latest. A great site to keep track of this is on https://xcodereleases.com. Older releases of Xcode can be found here: https://developer.apple.com/download/more/?=xcode I think this requires a paid dev account. Another theory is that the space left number is approximated by temporary usage and you really did run out of space for some stage of the download. Offline TM backups and things can take away space temporarily. I think there are stages of the download where it expands the download file and authenticates the release. I've seen interrupted internet access stall Xcode downloads. Really this is a constant battle - I'd love to hear more discussion of how others deal with this.
Jun ’21