Post

Replies

Boosts

Views

Activity

Reply to iPhone 14 strange landscape size classes
I think you have found a typo. It should be: iPhone 14 Portrait: Compact width, regular height Landscape: Compact width, compact height iPhone 14 Pro Portrait: Compact width, regular height Landscape: Compact width, compact height For more details, see https://useyourloaf.com/blog/iphone-14-screen-sizes/
Sep ’22
Reply to error when uploading to App Store ... Type 'MenuItem' has no member 'example'
MenuItem.example is only defined for a DEBUG build. Uploading to the App Store uses a Release build, so MenuItem.example does not exist. Try replacing: #if DEBUG static let example = MenuItem(id: UUID(), name: "Maple French Toast", recipe: "Breakfast Icecream", ingredient: "Sweet, fluffy, and served piping hot, our French toast is flown in fresh every day from Maple City, Canada, which is where all maple syrup in the world comes from. And if you believe that, we have some land to sell you…", instruction: "Cook it", emTipTitle: "Energy management", emTip: "Practice 5 minute rule") #endif with: static let example = MenuItem(id: UUID(), name: "Maple French Toast", recipe: "Breakfast Icecream", ingredient: "Sweet, fluffy, and served piping hot, our French toast is flown in fresh every day from Maple City, Canada, which is where all maple syrup in the world comes from. And if you believe that, we have some land to sell you…", instruction: "Cook it", emTipTitle: "Energy management", emTip: "Practice 5 minute rule")
Sep ’22