Skip to main content

Posts

Showing posts from September, 2018

Advanced Debugging with Xcode and LLDB - WWDC 2018

Advanced Debugging Tips and Tricks: Injecting Code at runtime We can change values of variables at runtime while debugging (here variable_name is a Bool) expression variable_name = false  Here we are injecting value at runtime, so no need to run again to see the effect. (Other eg.,  expression animator.delegate = self) Under Xcode > Preferences > Behaviours > Running > Pauses > Check Show Tab Named, In order to show new tab while a breakpoint is hit. We can set other behaviours as well. We can add symbolic breakpoints on methods in frameworks. like This is in objective c because UIKit is in objective c. In order to find the values/parameter of a function inside framework, we can use For expression -[UILabel setText:] po $arg1 <UILabel ****> po (SEL)$arg2   "setText:" po $arg3 "0 ft" We can set symbolic breakpoints in 2 ways 1. By clicking plus in bottom left and choosing symbolic (Cons: Sets BP in all places) 2. By adding a breakpoi...

Apple Special Event 12 Sep 2018 Updates

Apple introduced the following devices in todays event. Apple watch series 4 Ability to take an ECG using the watch. ECG data will be available in health app. It is FDA approved. Will be available in US on September 17th It also has fall detection and sends location update to emergency contacts. Larger screen size (30% larger) iPhone Xs and Xs Max (iOS 12) Water proof upto 2 meters for 30 mins Available in 5.8 inch super retina and 6.5 inch super retina display It has A12 Bionic Chip, first 7 nanometer chip, with 6.9 billion transistors, 6-Core CPU, which means it is 50% energy efficient and faster than previous A11 bionic. Use cases of Core ML, We can measure the leg angle and projectile path other metrics using HomeCourt App Ability to adjust the depth effect of already taken photos is another important feature. Dual Sim Capability. (Single physical sim and another eSim) Made with recyclable plastic and tin (for logic board)   iPhone Xr Ava...