qcoding,
@qcoding@iosdev.space avatar

Just did a personal coaching session with an iOS dev:

• Discussed how to reduce conditionals in their view model with Strategy pattern
• Changed test from using oddly exposed property to testing behavior
• Extracted test helper to improve readability
• Xcode's automated refactoring is weak, but is still better than doing things by hand
• Simplified test code and removed clutter (code that had no effect)

I learned from them:

• Xcode has Editor > Structure > Format to Multiple Lines (^M)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • slotface
  • kavyap
  • thenastyranch
  • everett
  • tacticalgear
  • rosin
  • Durango
  • DreamBathrooms
  • mdbf
  • magazineikmin
  • InstantRegret
  • Youngstown
  • khanakhh
  • ethstaker
  • JUstTest
  • ngwrru68w68
  • cisconetworking
  • modclub
  • tester
  • osvaldo12
  • cubers
  • GTA5RPClips
  • normalnudes
  • Leos
  • provamag3
  • anitta
  • megavids
  • lostlight
  • All magazines