The overwhelmingly popular library to do this is just https://github.com/groue/GRDB.swift - everyone uses it
It's the library used in the native apps of every large corp we work for. It's dead easy to use and is indeed in combo with mysql the very best on-phone database system.
Post
Replies
Boosts
Views
Activity
Set fetch limit to one
lazy var maxId = {
var d = FetchDescriptor<MyThing>(sortBy: [SortDescriptor(\.id, order: .reverse)])
d.fetchLimit = 1
return d
}()
then the line of code is
highestId = (try? context.fetch(maxId))?.first?.id ?? -1
Thanks for posting the great tip
NOTE, another important tip,
prefs -> navigation - >
take care for the four options "navigation style", "navigation" etc.
The different combinations used there drastically affect file-change time, in conjunction with what OP said.
fantastic tip thanks
It does seem to be utterly useless for anything more than toy amounts of data.
Remembering that CoreData, is, utterly useless for anything more than toy amounts of data. this makes sense I guess.
@RyanTCB did you gather any more experience on this one?
@eskimo thanks for pointing out it's just log noise
its super annoying because its lets say "hard noise" suggesting a bad problem, missing library
nothing seems to have changed for a year or two - do you reckon it's worth filing a bug report or ?
its almost that someone needs to write a "known noise filter" for the logs :) it can make it so hard to work on projects
TOTAL explanation for 2023 ... https://stackoverflow.com/a/75093081/294884
FOR 2023. Here is a full, total explanation of the current situation: https://stackoverflow.com/a/75093081/294884
guys why are you sending in four verts for a triangle ?
One thing, regarding interactions, you'd have to handle that completely manually in a custom way yourself. There is no meaningful relationship between the 3D world and UX interactions. Youi'd have to program it by hand on a case-by-case basis.
If you're familiart with the typical touch handling in 3D engines where you cast through the screen to see what you're touching, that would be the way to begin the process.
https://stackoverflow.com/a/55123253/294884
It's hard to believe this is still a problem six years later ?!?!?? Can't be real ?
If it helps anyone ... one factor is, you really need a good router. Consider just rolling to bestbuy and getting a new top of line router, it's a cost of business :/
Certainly, there can be cert problems etc. But it is really much smoother with the newest possible router.
It may even sound silly but be sure to have proper modern cat8 ethernet cables for your jumpers (eg, from fiber modem or whatever to router to switch and to your appleTVs)
I've really found that pairing only works solidly if you have a really new router and everything in ideal condition. Routers are constantly slightly changing in subtleties of the specification and versions.
A huge problem. It's amazing nobody else has mentioned it!Nobody found a solution?