Episode 321: Generate Memberwise Initializer

More Than Just Code podcast - iOS and Swift development, news and advice - A podcast by Tim Mitra, Jaime Lopez Jr, Mark Rubin

Categories:

We fact check M1 RAM, and Photoshop on Rosetta2. AskMTJC brings us Story of third Apple founder, Maple spirits, and CloudKit on NSPersistentCloudKitContainer. Use Amazon EC2 Mac Instances to Build & Test macOS, iOS, ipadOS, tvOS, and watchOS Apps. Apple Fitness Plus will launch on December 14th. Family Setup on Apple Watch is coming to Canada. Xcode 12.3 RC available. iPhone zero-click Wi-Fi exploit is one of the most breathtaking hacks ever. Apple announces $549 AirPods Max noise-canceling headphones, coming December 15th. No U1 chip in AirPods Max. More Apple Silicon leaks. Picks: Fastlane for App Screenshots, James Dempsey made Swift Version for quick reference, 9 Xcode Tips by Paul Hudson, Quick Tip: Enable Touch ID for sudo, Elago Classic Mac Apple Watch charging stands. After Show: App development as Lego.Support More Than Just Code podcast - iOS and Swift development, news and adviceLinks:Learn about compatibility between Photoshop, Apple Silicon, and Big Sur | macOS 11Paul Johnson on Twitter: "@mtjc_podcast The Incredible story of the forgotten THIRD of Apple in this uplifting new doc. film: https://t.co/esLFQyPUiJ" / TwitterMaple SpiritJeff ⚡️👨🏻‍💻 on Twitter: "If any #iosdev folks could point me to a tutorial or example of how to implement #CloudKit sharing on top of NSPersistentCloudKitContainer I would really appreciate it! #CoreData #askMTJC" / TwitterNew – Use Amazon EC2 Mac Instances to Build & Test macOS, iOS, iPadOS, tvOS, and watchOS Apps | AWS News BlogApple Fitness Plus will launch on December 14th - The VergeFamily Setup on Apple Watch is coming to Canada - Apple (CA)iPhone zero-click Wi-Fi exploit is one of the most breathtaking hacks ever | Ars TechnicaApple announces $549 AirPods Max noise-canceling headphones, coming December 15th - The VergeThere's no U1 ultra wideband chip in Apple's AirPods Max16-Core MacBook, 32-Core iMac, 128-Core Mac Pro?! — Reacting to MASSIVE Leak Bombs! - YouTubeApple preps next Mac chips with aim to outclass highest-end PCssnapshot - fastlane docsframeit - fastlane docsSwift VersionPaul Hudson on Twitter: "Xcode tip #9: Xcode has great code completion built right in, but sometimes as you scroll through the options you might find the names are too long to fit. Fortunately, you can just grab the edge of the autocomplete popup and drag it as wide as you want! https://t.co/Xu93RhcYlJ" / TwitterPaul Hudson on Twitter: "Xcode tip #8: If you frequently move from Xcode to the simulator, tile them side by side. With the simulator active, go to the Window menu and choose Tile Window To Right Of Screen, then select Xcode on the left. You can adjust the split so the simulator sits snugly on the right. https://t.co/GK9TzBvj4N" / TwitterPaul Hudson on Twitter: "Xcode tip #7: This is the simplest tip I know, but it will save you time if you don’t already know it. Whenever you see Automatic Preview Updating Paused in your SwiftUI canvas, press Opt+Cmd+P to resume previewing. Alternatively, use Opt+Cmd+Return to hide the canvas completely. https://t.co/TpIQekU66W" / TwitterPaul Hudson on Twitter: "Xcode tip #6: When you search using Xcode’s find navigator, you can click to view individual results and make any changes you want. But when you’re done, I recommend you hit Backspace to remove the search item from the results, so you can see which results you have left to check. https://t.co/FNapVw8MLY" / TwitterPaul Hudson on Twitter: "Xcode tip #5: If you have a Swift file with many errors, you can use Xcode’s fix-its to try to correct them one by one. But a faster way is to go to the Editor menu and choose Fix All Issues to apply fix-its all at once. (Make sure and double-check which changes were made!) https://t.co/YZhp0Spj2Z" / Twitter Spelling and Grammar > Check Spelling While Typing, and Xcode will check your code for typos. https://t.co/wwbCT9hN8R" / Twitter" rel="nofollow">Paul Hudson on Twitter: "Xcode tip #4: Xcode can check if your spelling is correct, and it even understands that camelCaseNames should be treated as separate words. Go to the Edit menu and choose Format > Spelling and Grammar > Check Spelling While Typing, and Xcode will check your code for typos. https://t.co/wwbCT9hN8R" / TwitterPaul Hudson on Twitter: "Xcode tip #3: You probably already know that you can click after any open { or close } brace to have Xcode highlight its matching brace, but another useful tip is that you can double click a brace to select the entire block of code it contains. https://t.co/3UqCWehxRl" / TwitterPaul Hudson on Twitter: "Xcode tip #2: When building software, it’s important to make sure your app works for *everyone*. One great way to do that is with Xcode’s environment overrides panel, which lets you adjust Dynamic Type size, accessibility options, and appearance all in one place. https://t.co/FGkQrpCu85" / Twitter Generate Memberwise Initializer. Done! https://t.co/fI3rhA2Uei" / Twitter" rel="nofollow">Paul Hudson on Twitter: "Xcode tip #1: Swift can synthesize memberwise initializers for structs, but not for classes. Fortunately, Xcode can generate the code for us: select your class name, then go to the Editor menu and choose Refactor > Generate Memberwise Initializer. Done! https://t.co/fI3rhA2Uei" / TwitterQuick Tip: Enable Touch ID for sudo – Six ColorsAmazon.com: elago W3 Apple Watch Stand Compatible with Apple Watch Series 6/SE/5/4/3/2/1 (44mm, 42mm, 40mm, 38mm) (Classic White)Amazon.com: elago W4 Apple Watch Stand Compatible with iWatch Series 6, Series SE, Series 5, Series 4, Series 3, Series 2, Series 1 / 44mm, 42mm, 40mm, 38mm, Support Night Stand Mode [Aqua Blue]: ElectronicsAmazon.com: elago R4 Retro Apple TV Remote Case Compatible with Apple TV Siri Remote 4K 5th / 4th Generation - Classic Controller Design [Non-Functional], Extra Protection, Lanyard Included (Light Grey): Home Audio & TheaterApple TV+ Plus Guide: Here's all the Apple TV shows and movies available now Become a member at https://plus.acast.com/s/mtjc. Hosted on Acast. See acast.com/privacy for more information.