Blog
Dangerous Objective C to Swift Conversions
March 26, 2023 - 619 words - 4 mins
      
        I have a pretty high confidence converting Java to Kotlin. One of the reasons is because Android Studio has a tool to
show the resulting bytecode (which then can be decompiled back to Java).
But not so much when converting Objective C file to Swift. There were some unexpected behaviors that I try t…
      read more
    
  Debug iOS Crashlytics
July 03, 2022 - 323 words - 2 mins
      
        I was recently made confused by the famous unclear EXC_BREAKPOINT error on Crashlytics for an iOS project. The code
SomeAPI below was converted from Objective C to Swift. The error log was
Crashed: com.apple.main-thread
EXC_BREAKPOINT 0x000000010457c8f4
Crashed: com.apple.main-thread
0  ExampleApp …
      read more
    
  Save memory with Android Fragment
January 01, 2019 - 226 words - 2 mins
      
        This is not actually written on 2019. I just wish I did write this sooner.
I had an Android project where the navigation stack could hold a lot of Activitys. A user might open a post from 
another post infinitely. I observed some OutOfMemory errors because the market was dominated by low-end devices…
      read more