iOS

Misc commands




xip -x Xcode_12.1_GM_seed.xip - skip validation when unzipping xcode

Remove trailing white space
$ defaults write com.apple.dt.Xcode DVTTextEditorTrimTrailingWhitespace 1
$ defaults write com.apple.dt.Xcode DVTTextEditorTrimWhitespaceOnlyLines 1
...
How to keep xcode console from constantly opening

- Preferences > Behaviors > Running > Generates Output > Hide debugger

https://agilewarrior.files.wordpress.com/2022/09/debug.png

How to limit 80 chars

- Preferences > Text Editing > Page guide at column

How to focus on one app running on macOS

Option + Command + H

How to collapse code

Option + Command + Left/Right arrow


How to setup new iOS workflow

Tools

Icon set creator

Image compression
Network latency
Monodraw
Giphy Capture
Mac Down
Vill Q
Screen Brush

Disk Inventory

Shortcuts

Shift + Command + T Open new tab duplicate work space

5 Comments (+add yours?)

  1. Jody
    Oct 10, 2012 @ 23:26:44

    Something that always bothered me about Apple’s APIs, or at least examples of their usage, is the messyness of implementation. Is it lack of OO design?

    i.e. The table view delegate from above implements the cellForRowAtIndex, and this one method is responsible for dequeueing or creating a cell (factory) as well as populating it (builder/strategy?)

    Reply

    • JR
      Oct 11, 2012 @ 19:12:48

      I’ve heard arguments both ways.

      Some people I know love the API. They think it’s one of the most mature, stable platforms they’ve ever worked on.

      Others have thoughts similar to you. They think certain abstractions leak responsibility and are messy from an OO point-of-view.

      I personally like the API. But I would be the first to agree it isn’t perfect (the ALAssetLibrary I find particularly cumbersom).

      Thanks for the comment Jody.

      Reply

  2. rob v
    Jan 03, 2013 @ 02:24:51

    some of your examples would be great to add into the code snippets library in the XCode inspector panel as user snippet, even if temporarily, until they become familiar. thanks for posting

    Reply

  3. chandresh maurya
    Jun 11, 2014 @ 17:24:17

    how to use nsmutablearray to add multiple images in a single use of cell

    Reply

  4. chandresh maurya
    Jun 11, 2014 @ 17:25:26

    how to use Ns mutable array to add multiple images in a single row of cell for ios

    Reply

Leave a comment