Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
iPhone Apps II 
iDrummer Development 
EungShik Kim 
Feb 21, 2009 
UANGEL Corporation 
"##$%!"&!"#'!()' !
iDrummer 
Instroduction 
"##$%!"&!"#'!()' "
iDrummer 
Features 
• Fast startup with ‘Default.png’ image file 
• Scaled transform while loading first view 
• Changing ...
iDrummer 
Using Components 
• UIViewController, UIView, UIImageView, ... 
• UITableView, UITableViewCell, ... 
• UIAcceler...
iDrummer 
Development Log 
1/2 1/5 2/2 2/4 2/5 2/6 2/8 2/16 
• Making first draft (Without design) 
• Making second draft ...
iDrummer 
Development 
"##$%!"&!"#'!()' -
iDrummer 
Application Launching 
"##$%!"&!"#'!()' .
iDrummer 
Application Launching Mechanism 
Framework: UIKit 
UIApplicationMain() 
Other Sources/main.m 
Inherit: UIRespond...
iDrummer 
UIViewController 
& UIView 
"##$%!"&!"#'!()' $
iDrummer 
Create UIViewController class 
!N > Cocoa Touch Classes 
> UIViewController subclass Insert filename 
"##$%!"&!"...
UIViewController class 
Code Review 
"##$%!"&!"#'!()' !!
iDrummer 
Create UIView class 
!N > Cocoa Touch Classes 
> UIView subclass Insert filename 
"##$%!"&!"#'!()' !"
UIView class 
Code Review 
"##$%!"&!"#'!()' !*
iDrummer 
Create XIB file 1 
Right click on ‘Resources’ User Interfaces > View XIB 
Insert filename 
"##$%!"&!"#'!()' !+
iDrummer 
Create XIB file 2 
"##$%!"&!"#'!()' !,
iDrummer 
Create XIB file 3 
"##$%!"&!"#'!()' !-
iDrummer 
Create XIB file 4 
"##$%!"&!"#'!()' !.
Connect to RootViewController 
"##$%!"&!"#'!()' !/
iDrummer 
Class Hierarchy 
& NSUserDefaults 
"##$%!"&!"#'!()' !$
iDrummer 
NSUserDefaults - Register 
"##$%!"&!"#'!()' "#
iDrummer 
NSUserDefaults - Restore 
"##$%!"&!"#'!()' "!
iDrummer 
NSUserDefaults - Remember 
"##$%!"&!"#'!()' ""
iDrummer 
UITableViewCell 
& Override UISlider 
"##$%!"&!"#'!()' "*
iDrummer 
Create UITableViewCell class 
!N > Cocoa Touch Classes 
> UITableViewCell subclass Insert filename 
"##$%!"&!"#'...
UITableViewCell class 
Code Review 
"##$%!"&!"#'!()' ",
iDrummer 
Override UISlider 
"##$%!"&!"#'!()' "-
iDrummer 
UIAccelerometer 
"##$%!"&!"#'!()' ".
iDrummer 
UIAccelerometerDelegate Protocol 
"##$%!"&!"#'!()' "/
UIAccelerometer 
Code Review 
"##$%!"&!"#'!()' "$
iDrummer 
OpenAL Service 
"##$%!"&!"#'!()' *#
iDrummer 
Core Audio in iPhone OS 
iPhone OS Core Audio architecture 
Mac OS X Core Audio architecture 
"##$%!"&!"#'!()' *...
SoundEngine.cpp 
Code Review 
"##$%!"&!"#'!()' *"
iDrummer 
And so force... 
"##$%!"&!"#'!()' **
iDrummer 
Enabling Multiple Touch 
"##$%!"&!"#'!()' *+
iDrummer 
Fast Startup with Default.png 
320px 
480px 
"##$%!"&!"#'!()' *,
iDrummer 
Scaled transform loading first view 
"##$%!"&!"#'!()' *-
iDrummer 
Change view with UIPageControl 
"##$%!"&!"#'!()' *.
iDrummer 
Flipping view with ‘i’ button 
"##$%!"&!"#'!()' */
iDrummer 
Effect images and sound by UITouch 
"##$%!"&!"#'!()' *$
iDrummer 
Hide the status bar of iPhone 
Create ‘UIStatusBarHidden’ key and checked value 
"##$%!"&!"#'!()' +#
Thanks. 
"##$%!"&!"#'!()' +!
Upcoming SlideShare
Loading in …5
×

How to Develop iDrummer for the 1st time

244 views

Published on

Describe how to make the iDrummer(uDrummer after all) for the first time with Objective-C and Xcode 3 maybe.

Published in: Software
  • Be the first to comment

  • Be the first to like this

How to Develop iDrummer for the 1st time

  1. 1. iPhone Apps II iDrummer Development EungShik Kim Feb 21, 2009 UANGEL Corporation "##$%!"&!"#'!()' !
  2. 2. iDrummer Instroduction "##$%!"&!"#'!()' "
  3. 3. iDrummer Features • Fast startup with ‘Default.png’ image file • Scaled transform while loading first view • Changing view with UIPageControl • Flipping view by preference setting • Effect images and sound by UITouch • Playing sound effect automatically • Remember user default settings "##$%!"&!"#'!()' *
  4. 4. iDrummer Using Components • UIViewController, UIView, UIImageView, ... • UITableView, UITableViewCell, ... • UIAccelerometer (not included in v1.0) • Control OpenAL Audio (OpenAL/al.h) • UISlider(Overrided), UISwitch, UILabel, ... • NSThread, NSUserDefaults "##$%!"&!"#'!()' +
  5. 5. iDrummer Development Log 1/2 1/5 2/2 2/4 2/5 2/6 2/8 2/16 • Making first draft (Without design) • Making second draft (With design) • Add ‘page slide’ with accelerometer • Add ‘Timer Thread’ and ‘8, 16, 32 beat’ • iDrummer alpha open • Changing sound to ambient audio session • Distribute on iTunes AppStore "##$%!"&!"#'!()' ,
  6. 6. iDrummer Development "##$%!"&!"#'!()' -
  7. 7. iDrummer Application Launching "##$%!"&!"#'!()' .
  8. 8. iDrummer Application Launching Mechanism Framework: UIKit UIApplicationMain() Other Sources/main.m Inherit: UIResponder: NSObject UIApplication Resources/MainWindow.xib Framework: UIKit <UIApplicationDelegate> Application Cotroller/iDrummerAppDelegate.h Class: UIApplicationDelegate [applicationDidFinishLaunching] Application Cotroller/iDrummerAppDelegate.m Class: UIViewController [RootViewController viewDidLoad] Application Cotroller/RootViewController.m AcousticDrumView ElectronicDrumView MiniDrumView ThumbDrumView "##$%!"&!"#'!()' /
  9. 9. iDrummer UIViewController & UIView "##$%!"&!"#'!()' $
  10. 10. iDrummer Create UIViewController class !N > Cocoa Touch Classes > UIViewController subclass Insert filename "##$%!"&!"#'!()' !#
  11. 11. UIViewController class Code Review "##$%!"&!"#'!()' !!
  12. 12. iDrummer Create UIView class !N > Cocoa Touch Classes > UIView subclass Insert filename "##$%!"&!"#'!()' !"
  13. 13. UIView class Code Review "##$%!"&!"#'!()' !*
  14. 14. iDrummer Create XIB file 1 Right click on ‘Resources’ User Interfaces > View XIB Insert filename "##$%!"&!"#'!()' !+
  15. 15. iDrummer Create XIB file 2 "##$%!"&!"#'!()' !,
  16. 16. iDrummer Create XIB file 3 "##$%!"&!"#'!()' !-
  17. 17. iDrummer Create XIB file 4 "##$%!"&!"#'!()' !.
  18. 18. Connect to RootViewController "##$%!"&!"#'!()' !/
  19. 19. iDrummer Class Hierarchy & NSUserDefaults "##$%!"&!"#'!()' !$
  20. 20. iDrummer NSUserDefaults - Register "##$%!"&!"#'!()' "#
  21. 21. iDrummer NSUserDefaults - Restore "##$%!"&!"#'!()' "!
  22. 22. iDrummer NSUserDefaults - Remember "##$%!"&!"#'!()' ""
  23. 23. iDrummer UITableViewCell & Override UISlider "##$%!"&!"#'!()' "*
  24. 24. iDrummer Create UITableViewCell class !N > Cocoa Touch Classes > UITableViewCell subclass Insert filename "##$%!"&!"#'!()' "+
  25. 25. UITableViewCell class Code Review "##$%!"&!"#'!()' ",
  26. 26. iDrummer Override UISlider "##$%!"&!"#'!()' "-
  27. 27. iDrummer UIAccelerometer "##$%!"&!"#'!()' ".
  28. 28. iDrummer UIAccelerometerDelegate Protocol "##$%!"&!"#'!()' "/
  29. 29. UIAccelerometer Code Review "##$%!"&!"#'!()' "$
  30. 30. iDrummer OpenAL Service "##$%!"&!"#'!()' *#
  31. 31. iDrummer Core Audio in iPhone OS iPhone OS Core Audio architecture Mac OS X Core Audio architecture "##$%!"&!"#'!()' *!
  32. 32. SoundEngine.cpp Code Review "##$%!"&!"#'!()' *"
  33. 33. iDrummer And so force... "##$%!"&!"#'!()' **
  34. 34. iDrummer Enabling Multiple Touch "##$%!"&!"#'!()' *+
  35. 35. iDrummer Fast Startup with Default.png 320px 480px "##$%!"&!"#'!()' *,
  36. 36. iDrummer Scaled transform loading first view "##$%!"&!"#'!()' *-
  37. 37. iDrummer Change view with UIPageControl "##$%!"&!"#'!()' *.
  38. 38. iDrummer Flipping view with ‘i’ button "##$%!"&!"#'!()' */
  39. 39. iDrummer Effect images and sound by UITouch "##$%!"&!"#'!()' *$
  40. 40. iDrummer Hide the status bar of iPhone Create ‘UIStatusBarHidden’ key and checked value "##$%!"&!"#'!()' +#
  41. 41. Thanks. "##$%!"&!"#'!()' +!

×