John O'Reilly
08/10/2023, 12:56 PMJohn O'Reilly
08/10/2023, 9:32 PMJohn O'Reilly
08/10/2023, 9:46 PMLSPrefs: could not find untranslocated node for <FSNode 0x600003edc160> { isDir = ?, path = '/private/var/folders/km/nnzy6qg173nf385_d4v23j780000gn/X/58C08EF1-887C-5E43-A821-C3CCF2FAB48E/d/Wrapper/Confetti.app' }, proceeding on the assumption it is not translocated: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"Arkadii Ivanov
08/10/2023, 10:00 PMJohn O'Reilly
08/11/2023, 7:58 AMJohn O'Reilly
08/11/2023, 8:06 AMArkadii Ivanov
08/11/2023, 8:08 AMJohn O'Reilly
08/11/2023, 8:16 AMArkadii Ivanov
08/11/2023, 8:24 AMJohn O'Reilly
08/11/2023, 9:46 AMmbonnin
08/11/2023, 9:47 AMmbonnin
08/11/2023, 9:47 AMmbonnin
08/11/2023, 9:48 AMJohn O'Reilly
08/11/2023, 12:33 PMSessionsCompont)
// get initial data
coroutineScope {
val bookmarksResponse = async {
repository.bookmarks(conference, user?.uid, user, fetchPolicy).first()
}
val sessionsResponse = async {
repository.conferenceData(conference, fetchPolicy)
}
ResponseData(bookmarksResponse.await(), sessionsResponse.await())
}.also {
emit(it)
}John O'Reilly
08/11/2023, 12:42 PMcoroutineScope is coming from DecomposeUtils btwJohn O'Reilly
08/11/2023, 12:47 PMprivate val coroutineScope = coroutineScope() in the class earlierArkadii Ivanov
08/11/2023, 12:54 PMArkadii Ivanov
08/11/2023, 12:55 PMJohn O'Reilly
08/11/2023, 1:04 PMdidBecomeActiveNotification when running in ios simulator but not when running on "My Mac"John O'Reilly
08/11/2023, 1:16 PMLifecycleRegistryExtKt.resume(appDelegate.lifecycle) then I see dataArkadii Ivanov
08/11/2023, 1:18 PMArkadii Ivanov
08/11/2023, 1:18 PMJohn O'Reilly
08/11/2023, 1:39 PMJohn O'Reilly
08/11/2023, 2:00 PMJohn O'Reilly
08/20/2023, 5:03 PMJohn O'Reilly
08/20/2023, 5:04 PMArkadii Ivanov
08/20/2023, 5:04 PMArkadii Ivanov
08/20/2023, 5:11 PMArkadii Ivanov
08/20/2023, 5:14 PMArkadii Ivanov
08/20/2023, 5:15 PMArkadii Ivanov
08/20/2023, 5:17 PMJohn O'Reilly
08/20/2023, 5:19 PMArkadii Ivanov
08/20/2023, 5:21 PMJohn O'Reilly
08/20/2023, 5:56 PMLifecycleRegistryExtKt.create is called in RootHolder but LifecycleRegistryExtKt.resume isn't getting invoked then in App classJohn O'Reilly
08/20/2023, 5:57 PMresume in RootHolder then it worksArkadii Ivanov
08/20/2023, 5:58 PMArkadii Ivanov
08/20/2023, 5:58 PMJohn O'Reilly
08/20/2023, 6:01 PMSceneDelegate class?Arkadii Ivanov
08/20/2023, 6:01 PMArkadii Ivanov
08/20/2023, 6:11 PMArkadii Ivanov
08/20/2023, 6:12 PMJohn O'Reilly
08/20/2023, 10:12 PMTabView again....seems like something like following is working....but might be other issues
VStack {
let child = stack.active.instance
TabView(selection: $selectedTab) {
ChildView(child: child).tabItem {
Label("Schedule", systemImage: "calendar")
}.tag(1)
ChildView(child: child).tabItem {
Label("Speakers", systemImage: "person")
}.tag(2)
}
.onChange(of: selectedTab) { selectedTab in
switch selectedTab {
case 1: component.onSessionsTabClicked()
case 2: component.onSpeakersTabClicked()
default: print("unhandled selection")
}
}
}Arkadii Ivanov
08/20/2023, 10:28 PMArkadii Ivanov
08/20/2023, 10:41 PMArkadii Ivanov
08/20/2023, 10:47 PMselection Binding argument, seems like this is what you are doing in the snippet above. But I'm not sure how is it better than the current approach. It should look and feel the same.John O'Reilly
08/21/2023, 3:33 PMArkadii Ivanov
08/21/2023, 4:05 PMArkadii Ivanov
08/21/2023, 4:06 PMJohn O'Reilly
08/21/2023, 6:46 PMNavigationStack etc so would get automatic list/detail split on MyMac/iiPad layout but no luck so far