Download - How to Develop iDrummer for the 1st time
![Page 1: How to Develop iDrummer for the 1st time](https://reader034.vdocuments.mx/reader034/viewer/2022052623/5598802c1a28abf57d8b4862/html5/thumbnails/1.jpg)
iPhone Apps II
EungShik KimFeb 21, 2009
UANGEL Corporation
iDrummer Development
!"##$%!"&!"#'!()'
![Page 2: How to Develop iDrummer for the 1st time](https://reader034.vdocuments.mx/reader034/viewer/2022052623/5598802c1a28abf57d8b4862/html5/thumbnails/2.jpg)
iDrummerInstroduction
""##$%!"&!"#'!()'
![Page 3: How to Develop iDrummer for the 1st time](https://reader034.vdocuments.mx/reader034/viewer/2022052623/5598802c1a28abf57d8b4862/html5/thumbnails/3.jpg)
iDrummerFeatures
• 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
*"##$%!"&!"#'!()'
![Page 4: How to Develop iDrummer for the 1st time](https://reader034.vdocuments.mx/reader034/viewer/2022052623/5598802c1a28abf57d8b4862/html5/thumbnails/4.jpg)
iDrummerUsing Components
• UIViewController, UIView, UIImageView, ...
• UITableView, UITableViewCell, ...
• UIAccelerometer (not included in v1.0)
• Control OpenAL Audio (OpenAL/al.h)
• UISlider(Overrided), UISwitch, UILabel, ...
• NSThread, NSUserDefaults
+"##$%!"&!"#'!()'
![Page 5: How to Develop iDrummer for the 1st time](https://reader034.vdocuments.mx/reader034/viewer/2022052623/5598802c1a28abf57d8b4862/html5/thumbnails/5.jpg)
iDrummerDevelopment Log
• 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
2/21/51/2 2/4 2/82/5 2/6 2/16
,"##$%!"&!"#'!()'
![Page 6: How to Develop iDrummer for the 1st time](https://reader034.vdocuments.mx/reader034/viewer/2022052623/5598802c1a28abf57d8b4862/html5/thumbnails/6.jpg)
iDrummerDevelopment
-"##$%!"&!"#'!()'
![Page 7: How to Develop iDrummer for the 1st time](https://reader034.vdocuments.mx/reader034/viewer/2022052623/5598802c1a28abf57d8b4862/html5/thumbnails/7.jpg)
iDrummerApplication Launching
."##$%!"&!"#'!()'
![Page 8: How to Develop iDrummer for the 1st time](https://reader034.vdocuments.mx/reader034/viewer/2022052623/5598802c1a28abf57d8b4862/html5/thumbnails/8.jpg)
iDrummerApplication Launching Mechanism
UIApplicationMain()
Other Sources/main.m
Framework: UIKit
UIApplication
Resources/MainWindow.xib
Inherit: UIResponder: NSObject
<UIApplicationDelegate>
Application Cotroller/iDrummerAppDelegate.h
Framework: UIKit
[applicationDidFinishLaunching]
Application Cotroller/iDrummerAppDelegate.m
Class: UIApplicationDelegate
[RootViewController viewDidLoad]
Application Cotroller/RootViewController.m
Class: UIViewController
AcousticDrumView
ElectronicDrumView
MiniDrumView
ThumbDrumView
/"##$%!"&!"#'!()'
![Page 9: How to Develop iDrummer for the 1st time](https://reader034.vdocuments.mx/reader034/viewer/2022052623/5598802c1a28abf57d8b4862/html5/thumbnails/9.jpg)
iDrummerUIViewController
& UIView
$"##$%!"&!"#'!()'
![Page 10: How to Develop iDrummer for the 1st time](https://reader034.vdocuments.mx/reader034/viewer/2022052623/5598802c1a28abf57d8b4862/html5/thumbnails/10.jpg)
!N > Cocoa Touch Classes > UIViewController subclass Insert filename
iDrummerCreate UIViewController class
!#"##$%!"&!"#'!()'
![Page 11: How to Develop iDrummer for the 1st time](https://reader034.vdocuments.mx/reader034/viewer/2022052623/5598802c1a28abf57d8b4862/html5/thumbnails/11.jpg)
UIViewController class
Code Review
!!"##$%!"&!"#'!()'
![Page 12: How to Develop iDrummer for the 1st time](https://reader034.vdocuments.mx/reader034/viewer/2022052623/5598802c1a28abf57d8b4862/html5/thumbnails/12.jpg)
!N > Cocoa Touch Classes > UIView subclass Insert filename
iDrummerCreate UIView class
!""##$%!"&!"#'!()'
![Page 13: How to Develop iDrummer for the 1st time](https://reader034.vdocuments.mx/reader034/viewer/2022052623/5598802c1a28abf57d8b4862/html5/thumbnails/13.jpg)
UIView class
Code Review
!*"##$%!"&!"#'!()'
![Page 14: How to Develop iDrummer for the 1st time](https://reader034.vdocuments.mx/reader034/viewer/2022052623/5598802c1a28abf57d8b4862/html5/thumbnails/14.jpg)
iDrummerCreate XIB file 1
Right click on ‘Resources’ User Interfaces > View XIB
Insert filename
!+"##$%!"&!"#'!()'
![Page 15: How to Develop iDrummer for the 1st time](https://reader034.vdocuments.mx/reader034/viewer/2022052623/5598802c1a28abf57d8b4862/html5/thumbnails/15.jpg)
iDrummerCreate XIB file 2
!,"##$%!"&!"#'!()'
![Page 16: How to Develop iDrummer for the 1st time](https://reader034.vdocuments.mx/reader034/viewer/2022052623/5598802c1a28abf57d8b4862/html5/thumbnails/16.jpg)
iDrummerCreate XIB file 3
!-"##$%!"&!"#'!()'
![Page 17: How to Develop iDrummer for the 1st time](https://reader034.vdocuments.mx/reader034/viewer/2022052623/5598802c1a28abf57d8b4862/html5/thumbnails/17.jpg)
iDrummerCreate XIB file 4
!."##$%!"&!"#'!()'
![Page 18: How to Develop iDrummer for the 1st time](https://reader034.vdocuments.mx/reader034/viewer/2022052623/5598802c1a28abf57d8b4862/html5/thumbnails/18.jpg)
Connect to RootViewController
!/"##$%!"&!"#'!()'
![Page 19: How to Develop iDrummer for the 1st time](https://reader034.vdocuments.mx/reader034/viewer/2022052623/5598802c1a28abf57d8b4862/html5/thumbnails/19.jpg)
iDrummerClass Hierarchy
& NSUserDefaults
!$"##$%!"&!"#'!()'
![Page 20: How to Develop iDrummer for the 1st time](https://reader034.vdocuments.mx/reader034/viewer/2022052623/5598802c1a28abf57d8b4862/html5/thumbnails/20.jpg)
iDrummerNSUserDefaults - Register
"#"##$%!"&!"#'!()'
![Page 21: How to Develop iDrummer for the 1st time](https://reader034.vdocuments.mx/reader034/viewer/2022052623/5598802c1a28abf57d8b4862/html5/thumbnails/21.jpg)
iDrummerNSUserDefaults - Restore
"!"##$%!"&!"#'!()'
![Page 22: How to Develop iDrummer for the 1st time](https://reader034.vdocuments.mx/reader034/viewer/2022052623/5598802c1a28abf57d8b4862/html5/thumbnails/22.jpg)
iDrummerNSUserDefaults - Remember
"""##$%!"&!"#'!()'
![Page 23: How to Develop iDrummer for the 1st time](https://reader034.vdocuments.mx/reader034/viewer/2022052623/5598802c1a28abf57d8b4862/html5/thumbnails/23.jpg)
iDrummerUITableViewCell
& Override UISlider
"*"##$%!"&!"#'!()'
![Page 24: How to Develop iDrummer for the 1st time](https://reader034.vdocuments.mx/reader034/viewer/2022052623/5598802c1a28abf57d8b4862/html5/thumbnails/24.jpg)
!N > Cocoa Touch Classes > UITableViewCell subclass Insert filename
iDrummerCreate UITableViewCell class
"+"##$%!"&!"#'!()'
![Page 25: How to Develop iDrummer for the 1st time](https://reader034.vdocuments.mx/reader034/viewer/2022052623/5598802c1a28abf57d8b4862/html5/thumbnails/25.jpg)
UITableViewCell class
Code Review
","##$%!"&!"#'!()'
![Page 26: How to Develop iDrummer for the 1st time](https://reader034.vdocuments.mx/reader034/viewer/2022052623/5598802c1a28abf57d8b4862/html5/thumbnails/26.jpg)
iDrummerOverride UISlider
"-"##$%!"&!"#'!()'
![Page 27: How to Develop iDrummer for the 1st time](https://reader034.vdocuments.mx/reader034/viewer/2022052623/5598802c1a28abf57d8b4862/html5/thumbnails/27.jpg)
iDrummerUIAccelerometer
"."##$%!"&!"#'!()'
![Page 28: How to Develop iDrummer for the 1st time](https://reader034.vdocuments.mx/reader034/viewer/2022052623/5598802c1a28abf57d8b4862/html5/thumbnails/28.jpg)
iDrummerUIAccelerometerDelegate Protocol
"/"##$%!"&!"#'!()'
![Page 29: How to Develop iDrummer for the 1st time](https://reader034.vdocuments.mx/reader034/viewer/2022052623/5598802c1a28abf57d8b4862/html5/thumbnails/29.jpg)
UIAccelerometer
Code Review
"$"##$%!"&!"#'!()'
![Page 30: How to Develop iDrummer for the 1st time](https://reader034.vdocuments.mx/reader034/viewer/2022052623/5598802c1a28abf57d8b4862/html5/thumbnails/30.jpg)
iDrummerOpenAL Service
*#"##$%!"&!"#'!()'
![Page 31: How to Develop iDrummer for the 1st time](https://reader034.vdocuments.mx/reader034/viewer/2022052623/5598802c1a28abf57d8b4862/html5/thumbnails/31.jpg)
iDrummerCore Audio in iPhone OS
iPhone OS Core Audio architectureMac OS X Core Audio architecture
*!"##$%!"&!"#'!()'
![Page 32: How to Develop iDrummer for the 1st time](https://reader034.vdocuments.mx/reader034/viewer/2022052623/5598802c1a28abf57d8b4862/html5/thumbnails/32.jpg)
SoundEngine.cpp
Code Review
*""##$%!"&!"#'!()'
![Page 33: How to Develop iDrummer for the 1st time](https://reader034.vdocuments.mx/reader034/viewer/2022052623/5598802c1a28abf57d8b4862/html5/thumbnails/33.jpg)
iDrummerAnd so force...
**"##$%!"&!"#'!()'
![Page 34: How to Develop iDrummer for the 1st time](https://reader034.vdocuments.mx/reader034/viewer/2022052623/5598802c1a28abf57d8b4862/html5/thumbnails/34.jpg)
iDrummerEnabling Multiple Touch
*+"##$%!"&!"#'!()'
![Page 35: How to Develop iDrummer for the 1st time](https://reader034.vdocuments.mx/reader034/viewer/2022052623/5598802c1a28abf57d8b4862/html5/thumbnails/35.jpg)
iDrummerFast Startup with Default.png
320px
480px
Default.png
*,"##$%!"&!"#'!()'
![Page 36: How to Develop iDrummer for the 1st time](https://reader034.vdocuments.mx/reader034/viewer/2022052623/5598802c1a28abf57d8b4862/html5/thumbnails/36.jpg)
iDrummerScaled transform loading first view
*-"##$%!"&!"#'!()'
![Page 37: How to Develop iDrummer for the 1st time](https://reader034.vdocuments.mx/reader034/viewer/2022052623/5598802c1a28abf57d8b4862/html5/thumbnails/37.jpg)
iDrummerChange view with UIPageControl
*."##$%!"&!"#'!()'
![Page 38: How to Develop iDrummer for the 1st time](https://reader034.vdocuments.mx/reader034/viewer/2022052623/5598802c1a28abf57d8b4862/html5/thumbnails/38.jpg)
iDrummerFlipping view with ‘i’ button
*/"##$%!"&!"#'!()'
![Page 39: How to Develop iDrummer for the 1st time](https://reader034.vdocuments.mx/reader034/viewer/2022052623/5598802c1a28abf57d8b4862/html5/thumbnails/39.jpg)
iDrummerEffect images and sound by UITouch
*$"##$%!"&!"#'!()'
![Page 40: How to Develop iDrummer for the 1st time](https://reader034.vdocuments.mx/reader034/viewer/2022052623/5598802c1a28abf57d8b4862/html5/thumbnails/40.jpg)
iDrummerHide the status bar of iPhone
Create ‘UIStatusBarHidden’ key and checked value
+#"##$%!"&!"#'!()'
![Page 41: How to Develop iDrummer for the 1st time](https://reader034.vdocuments.mx/reader034/viewer/2022052623/5598802c1a28abf57d8b4862/html5/thumbnails/41.jpg)
Thanks.
+!"##$%!"&!"#'!()'