Useful debugging techniques :)

Kiana Khansmith
š
Jules of Nature
PUT YOUR BEARD IN MY MOUTH

gracie abrams
tumblr dot com

Aqua Utopiaļ½ęµ·ć®åŗć§čØę¶ćē“”ć
sheepfilms
Monterey Bay Aquarium
Today's Document
TVSTRANGERTHINGS
Sade Olutola


izzy's playlists!
Noah Kahan

Origami Around

if i look back, i am lost
Stranger Things

pixel skylines

seen from Germany

seen from Malaysia
seen from Bangladesh
seen from United Arab Emirates
seen from Türkiye
seen from Pakistan
seen from Guernsey
seen from United States
seen from Bangladesh
seen from Türkiye
seen from United States
seen from United States
seen from Thailand

seen from Costa Rica

seen from United States
seen from Brazil

seen from Singapore

seen from France
seen from Italy
seen from Canada
@dchakarov
Useful debugging techniques :)

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch ⢠No registration required ⢠HD streaming
How to get IDFA?
@import AdSupport;
if ([[ASIdentifierManager sharedManager] isAdvertisingTrackingEnabled]) { NSUUID *IDFA = [[ASIdentifierManager sharedManager] advertisingIdentifier]; NSLog(@"IDFA: %@", [IDFA UUIDString]); }
The New iOS10 Lock Screen
I installed the new iOS10 yesterday to my iPad and at first glance, it looks more or less the same. Then I locked the iPad and I saw one of the major changes - the lock screen was different. The clock was not in the centre of the screen but rather on the left side. And then the familiar messageĀ āslide to unlockā was nowhere to be found. After a second or two, a new message appeared -Ā āpress home to unlockā. Wait, what? I ignored it and tried to unlock it the old-fashioned way. It didnāt work. Instead, I was greeted by a new notification screen, most of it empty. I swiped back and then swiped to the other direction only to find the new home for the camera. Neat. But the iPad was still locked so I swiped right again to exit the camera screen... which didnāt work. I had to press the home button to close it.
Okay, so back where I started. As I was wondering what was the new way to unlock the iPad the hint reappearedĀ āpress home to unlockā. What if I didnāt know which button (or switch) wasĀ āhomeā? Guess itās more or less intuitive since there is only one button on the iPad anyway. I pressed it and - voila - the passcode prompt appeared. I will just have to live with it.
P.S. As I was writing this it came to me that most of the current devices have Touch ID and people are quite accustomed to using it as a preferred way to unlock them. So I am guessing removing theĀ āslide to unlockā option is not that big of a deal after all.
Regaining access to lost or corrupted Apple Mail is a common task for admins. From simple rebuilds to complex recovery operations, here are five levels of fixes you may be called on to make.
When my Internet Accounts suddenly disappeared I managed to recover them using this guide. And more particularly -Ā DEFCON IV: Restoring preferences.
I didn't believe this line will fix my crash, but guess what - It did.
let bugfix = ""

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch ⢠No registration required ⢠HD streaming
Earlier today, I wrote about all the unconventional ways I use extensions in Swift to make my code more readable. This somehow triggered an interesting discussion on Twitter around Swift naming conā¦
When Swift debuted, we said goodbye to using #pragma pre-processor definitions to organize our code. Don't worry, Xcode still has our backs. We can use a few different "special" comments in our code and Xcode will pick up on them and display them in its jump bar:
I knew most of it but the handy run script at the end is pure gold! I quickly pasted it into all my appsā settings. Thanks guys, you rock!
#6: Debugging Tips
Exception Breakpoint
This oneās pretty obvious but make sure you always add an exception breakpoint to every project you create. Xcode will pause anytime an exception is thrown and let you poke around.
Conditional Breakpoints
Break exactly when you want to.
Evaluate an Expression
With expression or e you can even modify values in your app, and then continue running.
Property Breakpoints
Hereās one that is not as widely known as it should be:
If you set a breakpoint on the line of code containing a property definition, your application will pause anytime that propertyās value is changing and display a stack trace of the function calls that ultimately caused the change.
I am eternally curious. A big motivation for writing the FLEX debugging tool was to explore other apps and discover how ā¦

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch ⢠No registration required ⢠HD streaming
Kennedy Cooke-Garza
A gorgeous app with poor UX isnāt a gorgeous app ā itās an invitation to frustration. Your users deserve better than thaā¦
I am guilty of overlooking some of these... I am taking notes.
The file āInfo.plistā couldnāt be opened because there is no such file.
After spending insane amount of time trying to debug this dreaded error and trying every suggestion out there - from deleting the Info.plist file and replacing it with an old copy, through copying over some other project's Info.plist file, to the boring deleting and reinstalling Xcode and my Storyboard file - I stumbled on the solution by accident.
Look closely and tell me if you can spot the difference between these two screenshots.
Why on Earth would you allow the user to edit this field by hand and not validate it after? And how is this error message supposed to guide you to solve the issue?
Anyway, now I can finally move on with my life and begin experimenting with iOS9. Staring happily at this:

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch ⢠No registration required ⢠HD streaming
We just went through this process of canceling almost every recurring meeting that we had to see which ones we really needed. We probably do need some of the ones we canceled, and theyāll come back ā but weāll wait until we actually need them again.
Stewart Butterfield
Quite often we find ourselves marking our code with TODOs, FIXMEs, and ERRORs only to find some of them forgotten about and left by the wayside. In Objective-C, it was easy to mark these tags and have them show up in the Issue Navigator but since the introduction of Swift, we haven't gotten an equivalent to compiler directives that can do the equivalent. Until now.