All e-course data contained in the 'data' folder of XCode project. You can see demo project files in the picture.
1. Add course content and assets
First, you should replace app icons and splash screens with your own files. Demo project contains these files from an actual e-course for reference purposes.
Copy your video and audio files into the appropriate subfolders (named
Audio). If your e-course doesn't have any audio or video files then leave these folders empty - it is not necessary to have any in the course.
You textual content is added as regular HTML files, so you can add images, tables, text decorations and what ever you want. Drop these into the
Note: The e-Course help file is also a regular HTML file, but it should be place in the
data folder, not in any subfolder. So make your help file and any graphics for it and copy files into
2. Making quizzes
In the screenshot above you see an example quiz. Quiz is an array with questions and answers. Each array item contains a string 'question', one string 'answer' (it's the right answer) and one to three wrong answers (strings 'a1' to 'a3').
The right answer and the wrong answers will be placed in random positions each time when user have started the quiz.
Quizes can contain unlimited number of questions.
3. Creating to-do lists
In the screenshot you see an example of a to-do list. The list can contain unlimited number of tasks. Each task is a string with description - what user should to do after studying this chapter.
To-do lists are very useful if your e-course contains practical steps to achieve a goal. You can combine all practical things into the one list, so user won't forget about them.
User can mark each task with one of 4 states:
- New task
- Task has started
- Task complete
- I have trouble with this task
4. Preparing the e-Course
Now you are ready for the last step - combining all content into the e-course.
All the information about your files is contained in the
infoproduct.plist file, a plain plist XML file which looks like this:
Enter your e-course title and subtitle into the appropriate fields. In the 'Content' dictionary you can make unlimited number of chapters. Each chapter has a 'title' and a 'name' (which means subtitle).
You should make a number 'progress' with value 0. The 'order' field defines the order of chapters. Put order = 1 for chapter1, order = 2 for chapter2 and so on.
Each chapter entry contains the descriptions of e-course files. Each file block ('video', 'audio', 'text', 'quiz' and 'todo') has two values: type and file name. Type can have the following values:
- 0 for video files
- 1 for audio files
- 2 for text files
- 3 for quiz
- 4 for to-do list
File names don't contain any path parts - enter only the file name. The app will look up for file in the folder according to the file type.
After saving 'infoproduct.plist' you can run your project.
5. Change the color scheme of the course
You can pick a color scheme for the course. In the screenshot below you can see 9 prepared color schemes.
To change the color scheme, uncomment the relevant line in the
//self.colorSwitcher = [[ColorSwitcher alloc] initWithScheme:@"blue"];
//self.colorSwitcher = [[ColorSwitcher alloc] initWithScheme:@"magenta"];
//self.colorSwitcher = [[ColorSwitcher alloc] initWithScheme:@"pink"];
//self.colorSwitcher = [[ColorSwitcher alloc] initWithScheme:@"red"];
//self.colorSwitcher = [[ColorSwitcher alloc] initWithScheme:@"yellow"];
//self.colorSwitcher = [[ColorSwitcher alloc] initWithScheme:@"brown"];
//self.colorSwitcher = [[ColorSwitcher alloc] initWithScheme:@"acid"];
self.colorSwitcher = [[ColorSwitcher alloc] initWithScheme:@"green"];
//self.colorSwitcher = [[ColorSwitcher alloc] initWithScheme:@"aqua"];