dimillian,
@dimillian@mastodon.social avatar

I took great care of iPad support. @IceCubesApp uses the iOS (TabBar) layout when the size class changes to a compact width. On regular width size classes, the app uses a custom sidebar layout. All that with SwiftUI, without reloading any root view so state is kept.

video/mp4

thai_d_v,
@thai_d_v@mastodon.social avatar

@dimillian @IceCubesApp looks great

amyworrall,
@amyworrall@mastodon.social avatar

@dimillian @IceCubesApp Does it map selected tab between the two modes? If so, how did you do it?

Mecid,
@Mecid@mastodon.social avatar

@amyworrall @dimillian @IceCubesApp you can use the same binding for tabs in different layouts.

dimillian,
@dimillian@mastodon.social avatar

@Mecid @amyworrall @IceCubesApp it’s even better then that, the sidebar layout still use a TabView container with the tab bar set to hidden. So there is not root view swapping when switching layout. The sidebar is just another view representation of the TabView state.

Mecid,
@Mecid@mastodon.social avatar
Craktok,
@Craktok@mas.to avatar

@dimillian @IceCubesApp the widgets look really cool on my Mac desktop 👏🏾👏🏾

dimillian,
@dimillian@mastodon.social avatar
  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • magazineikmin
  • rosin
  • mdbf
  • Youngstown
  • love
  • slotface
  • khanakhh
  • ngwrru68w68
  • kavyap
  • Durango
  • thenastyranch
  • DreamBathrooms
  • cubers
  • cisconetworking
  • megavids
  • GTA5RPClips
  • osvaldo12
  • InstantRegret
  • tacticalgear
  • ethstaker
  • everett
  • modclub
  • anitta
  • tester
  • Leos
  • normalnudes
  • provamag3
  • JUstTest
  • All magazines