Cocoa sprite/canvas/key input help


hey, i'm new forum , cocoa, have gotten it. can things, need few ns commands.

(1) i'm creating canvas in sprite able move around , have animation. best, nsview or nsimageview?

(2) ns commands sticking sprite resources onto canvas, , make color of transparent? if there other pict commands.

(3) how xcode listen key down, , if so, activate code?

(4) lastly, string commands? like, string count, mid, nthfield, or that.

thanks,
-matt
 

1) don't know, abstain.
2) don't know, abstain.
3) mean how xcode replacement or in code? sort of macro? or mean how listen keypress event in cocoa application?
4) http://developer.apple.com/document...lasses/nsstring_class/reference/nsstring.html
there message
code:
-length
. don't know mid means. there message
code:
-characteratindex
character @ particular position. not sure if mean nthfield, maybe it. if want tokenize string there
code:
-componentsseparatedbycharactersinset:(nscharacterset *)separator
hopefully others can rest.

-lee
 


Forums Macs Mac Programming


  • iPhone
  • Mac OS & System Software
  • iPad
  • Apple Watch
  • Notebooks
  • iTunes
  • Apple ID
  • iCloud
  • Desktop Computers
  • Apple Music
  • Professional Applications
  • iPod
  • iWork
  • Apple TV
  • iLife
  • Wireless

Comments

Popular posts from this blog

Upgrade Eligibility?

need help with itunes 7.7

How to change Apple IDs on iPhones