Jason Gaylord · @jasongaylord
22 followers · 65 posts · Server techhub.social
MartianCraft · @MartianCraft
72 followers · 96 posts · Server iosdev.space

Adopt delegates for connection state updates: Use CMHeadphoneMotionManagerDelegate to receive connection state updates for headphone motion data. Listen for events like disconnect and connect, triggered by changes in device connectivity.

#devtip #appdevelopment

Last updated 1 year ago

Jason Gaylord · @jasongaylord
15 followers · 42 posts · Server techhub.social
Amadeus Maximilian · @amxmln
116 followers · 671 posts · Server mastodon.design

Quickly need to slugify / make an international string safe for URLs or file names?

Run `npx slugify-cli` followed by the string you’d like to slugify to use @sindresorhus’s excellent slugify without having to install an npm package globally. 🥳

(Requires node and npm to be installed)

#devtip

Last updated 1 year ago

Michael Doise · @mikedoise
218 followers · 721 posts · Server techopolis.social

: thinking of starting a new cross platform app with Apache Cordova? Do yourself a favor and don't. This platform does have several advantages, but there are huge disadvantages as well.

#devtip

Last updated 1 year ago

Dan Clarke 🎙:verified: · @danclarke
139 followers · 42 posts · Server mstdn.social

I tweaked the 'key repeat' keyboard settings in Windows yesterday, and am finding it's made a big difference to the speed I can move around the IDE/editor when coding! Removes that short delay when holding down the cursor (or HJKL) keys

#devtip

Last updated 2 years ago

Dan Clarke 🎙:verified: · @danclarke
221 followers · 70 posts · Server mstdn.social

I tweaked the 'key repeat' keyboard settings in Windows yesterday, and am finding it's made a big difference to the speed I can move around the IDE/editor when coding! Removes that short delay when holding down the cursor (or HJKL) keys

#devtip

Last updated 2 years ago

Nóva :nova: · @nova
5702 followers · 822 posts · Server hachyderm.io

of the day

Command line configuration options are ultimately for humans. Having a large amount of unusual logic around them to initiate a runtime program is a sign you are doing it right. Expect a lot of weird if, else statements of unrelated options.

For example: If verbose, enable the logger and run single threaded.

#devtip #development #tips

Last updated 2 years ago