nice its worked to install 13.6 for me
Post
Replies
Boosts
Views
Activity
its a local json data driven app where I have 47 facilities bool under each item and there are 373 items and I wanna filter the 47 facility Bool under each on the 373 items and the way I have set it up is like the Landmark tutorial List as shown in the code posted...
but its only the first 10 of the 47 filters that work
and yaa I have hit the 10 view limit a few places
but here it just escalate further in the code now and that's where im stuck
soo your more elegant solution is welcome :)
noo not sure how to do that..
yea but not sure how to do that
where..??
i have a filter list of Toggles
it works fine now but I can't see how you want me to do what you say
the Toggle filters are already divided in 10 filters of each view to show them all in a list
cluster the map annotations
here you can make your two diffrent views on iPhone and iPad just put your code under each and edit accordingly
no im still facing the issues..??
the code complies fine and run but the 37 bool still don't work...
I can't se how you wanna do what you say
`
var filteredHavneplaner: [Havneplan] {
userData.havneplaner.filter { havneplan in
(!showFavoritesOnly || havneplan.isFavorite)
&& (filters.minlaengde < havneplan.laengde)
&& (filters.minbredde < havneplan.bredde)
&& (filters.mindybgang < havneplan.dybgang)
&& (filter == .all || filter.rawValue == havneplan.category.rawValue)
&& (filtertwo == .all || filtertwo.rawValue == havneplan.typehavn.rawValue)
}
}
`
Im stuck here where the 47 bool get stack up
as I understand it you just suggests another way to choose the bool and not and solution to my problem where im unable to divide the bool op in the "filteredHavneplaner" function soo all of them work
no but with MapView you can