[阅读全文]
Summary of previous 3 steps:
Step 1: created chess app from scratch
Step 2: added a view for our chess board
Step 3: drew 8x8 chess board
We need 12 piece images, 6 white and 6 black, to represent 32 pieces on board. Try to search whatever images you like and download them into, e.g. “Downloads” folder.
Go back to Xcode and click “Assets.xcassets” on the left navigation panel. We’ll drag and drop all 12 piece images onto the big white area under “AppIcon”.
...
[阅读全文]