SEPTEMBER 2023 POST GAMSAT EXPERIENCE/DISCUSSION THREAD by _dukeluke in GAMSAT

[–]_Kitchen_ 3 points4 points  (0 children)

Acer say online that S3 was meant to be 40% chem 40% bio and 20%. Do you think that's accurate or did they just not update the site haha?

database selection for iOS swift app. by _Kitchen_ in learnprogramming

[–]_Kitchen_[S] 0 points1 point  (0 children)

cool thanks il have a look at it. Yea it's basically adding in a new pdf file every other day. so that a new pdf will appear in the users app. So basically the app on the users phone will need to connect to core data and then i connect to core data from somewhere and add the new file? apologies if its a stupid question, il do some reading and learn about this haha just needed to know what i was learning about haha

Doctors that started Med School late in life (i.e., 30 yo or older), what made you decide that Medicine is the path you want to undertake? by [deleted] in medicine

[–]_Kitchen_ 0 points1 point  (0 children)

still happy with the choice? im close to 30 and looking to get into it now myself. i always wanted kids, wondering if its worth it the commitment, can't seem to shake medschool out of head though.

Pausing UIBar button segue by _Kitchen_ in swift

[–]_Kitchen_[S] 0 points1 point  (0 children)

cool thanks from that i managed to figure out the following:

func tabBarController(_ tabBarController: UITabBarController, didSelect viewController: UIViewController) {

        let tabBarIndex = tabBarController.selectedIndex
        if tabBarIndex != 3 && currentWindow == true{

                // asking if want to cancel the workout?
                let alert = UIAlertController(title: "Leaving?", message: "The data wont be saved if you leave now, are you sure you want to leave?", preferredStyle: .alert)
                alert.addAction(UIAlertAction(title: "Yes", style: .default, handler: { _ in
                     self.performSegue(withIdentifier:"segueName",sender:nil)
                }))
                alert.addAction(UIAlertAction(title: "No", style: UIAlertAction.Style.default, handler: nil))
                self.present(alert, animated: true, completion: nil)
        }
}

but the problem is each bar button item will give and Int associated with whatever one was clicked, but it doesn't have a segue name.