What are the dimensions for the apple dock icons?
An app's Dock Tile Icon should be 1024 × 1024.

For more information about customising your Dock Tile, see the documentation:


Mac Developer Library: Dock Tile Programming Guide


Keep in mind that implementation (software development) is off-topic here.