id: 11694    nodeId: 11694    type: General    point: 146.0    linkPoint: 16.0    maker: cella    permission: linkable    made at: 2013.01.24 01:26    edited at: 2013.08.12 07:01
iOS App Programming study by cella
Start Developing iOS Apps Today
https://developer.apple.com/library/ios/#referencelibrary/GettingStarted/RoadMapiOS/chapters/Introduction.html
Your First iOS App
https://developer.apple.com/library/ios/#referencelibrary/GettingStarted/RoadMapiOS/chapters/RM_YourFirstApp_iOS/Articles/00_Introduction.html
Your Second iOS App
https://developer.apple.com/library/ios/#documentation/iPhone/Conceptual/SecondiOSAppTutorial/Introduction/Introduction.html#//apple_ref/doc/uid/TP40011318
Core Data Tutorial for iOS
http://developer.apple.com/library/ios/documentation/DataManagement/Conceptual/iPhoneCoreData01/Introduction/Introduction.html#/
Core Data Programming Guide
http://developer.apple.com/library/mac/documentation/cocoa/Conceptual/CoreData/cdProgrammingGuide.html
Adding Core Data to Existing iPhone Projects
(Note that there may be some parts for the old versions of Xcode or IOS.)
http://wiresareobsolete.com/wordpress/2009/12/adding-core-data-existing-iphone-projects/
You can see the inside of the DB of Core Data by sqlite3 as follows:
shellPrompt> sqlite3 dbname

For example, you can find the DB of iphone simulator in
/Users/syoh/Library/Application Support/iPhone Simulator/6.1/Applications/4B933F7B-D31F-48C0-8B10-516B5078DD48/Documents

And
shellPrompt> sqlite3 dogWatch.sqlite

<Deleting>
In the tutorial, the NSManagedObject class is the same with the element of the array viewed in the table.
For the case for me, this method is not applicable to me. (I am not sure if the method is correct or not.)
Maybe there is something wrong in the process of initializing the instance of the NSManagedObject(or its subclass) to be deleted.
Anyway, the stable method is: (1) fetch the objects to be deleted (2) delete these objects.
Xcode Unit Testing Guide

There are somewhat old part in the guide.
For the Xcode 4.X or later (maybe), the project files are not locally saved in one directory.
The derived data directory is changed to, for example,
/Users/syoh/Library/Developer/Xcode/DerivedData/dogWatch-ehwjswkmxdursgbmhpvknwgzyoab/Build/Products/
Hence, I have to enter the above absolute path for the Bundle Loader and Test Host parameters in Build Settings.
https://developer.apple.com/library/ios/#documentation/DeveloperTools/Conceptual/UnitTesting/00-About_Unit_Testing/about.html#//apple_ref/doc/uid/TP40002143
Beginning Storyboards in iOS 5
http://www.raywenderlich.com/5138/beginning-storyboards-in-ios-5-part-1
Navigation Controllers and View Controller Hierarchies
http://mobile.tutsplus.com/tutorials/iphone/navigation-controllers-and-view-controller-hierarchies/
Displaying an image


Playing a video file with Media Player framework


AVFoundation Programming
http://developer.apple.com/library/ios/#DOCUMENTATION/AudioVideo/Conceptual/AVFoundationPG/Articles/00_Introduction.html
Before the above AVFoundation Programming
Key-Value Coding (KVC) and Key-Value Observing (KVO) must be understood.

Playing a video file using AVFoundation

http://developer.apple.com/library/ios/#DOCUMENTATION/AudioVideo/Conceptual/AVFoundationPG/Articles/02_Playback.html
http://mobiliture.com/ios/tutorials/av-foundation-playing-videos/
Capturing video frames from a video file with AVFoundation
http://stackoverflow.com/questions/8595363/in-ios-how-to-capture-frames-from-a-video-file-as-stream-of-uiimages
http://developer.apple.com/library/ios/#DOCUMENTATION/AudioVideo/Conceptual/AVFoundationPG/Articles/05_MediaRepresentations.html#//apple_ref/doc/uid/TP40010188-CH2-SW4
"Create an AVAssetReader with the video track of the file. With an AVAssetReaderTrackOutput, you can send it the copyNextSampleBuffer message to receive a CMSampleBuffer. Each call will produce another frame from the video.

Inside the AVFoundation Programming Guide there is sample code showing how to set up an AVAssetReader as well as a method for making the conversion from CMSampleBuffer to UIImage."

Return to iOS App Programming study by cella