-
Notifications
You must be signed in to change notification settings - Fork 1
Implemented Updates
#Sana iOS Client Inside Sana iOS Client, the following directories have been created
##Subclasses
The Subclasses folder contains all the UI elements used in the app. These are the native iOS UI elements.
1.SanaAttributedLabel: UILabel
2.SanaAttributedTextField: UITextField
3.SanaAttributedTextView: UITextView
4.SanaAttributedPickerView: UIPickerView
5.SanaAttributedDatePickerView: UIPickerView
6.SanaAttributedTableView: UITableView
7.SanaAttributedSwitch: UISwitch
8.SanaAttributedPicturePicker: UIButton
The resources folder contains all the sample procedures and XML libraries used for testing and parsing the XML procedures
##Image Assets This folder contains all the image resources used in the app
##Libraries This folder contains all the pages in the app including the parser, file manager and core data for storage of the user data.
###SanaProcedureDetailsViewControl.m
This file defines the flow of the app for a parsed procedure. - (id)initWithProcedure:(Procedure *)procedure inEditMode:(BOOL)editMode
function is responsible for initialising a procedure chosen by the user. Thereafter, all the implemented methods are for creating the UI elements. self.nextButton = [[UIBarButtonItem alloc] initWithTitle:@"Next" style:UIBarButtonItemStylePlain target:self action:@selector(didTapNext:)];
is for creating navigation buttons. self.backgroundScrollView = [[UIScrollView alloc] initWithFrame:CGRectMake(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT)]; UIImageView *backgroundImageView = [[UIImageView alloc] initWithFrame:CGRectMake(- SCREEN_WIDTH, 0, SCREEN_WIDTH * 4, SCREEN_HEIGHT)];
is for implementing the scroll view in the background and self.procedureScrollView = [[UIScrollView alloc] initWithFrame:CGRectMake(0, NC_HEIGHT + STATUS_BAR_HEIGHT + PADDING, SCREEN_WIDTH, SCREEN_HEIGHT_NC - (2 * PADDING) - PAGE_CONTROL_HEIGHT)];
is for creating a scroll view in the procedure.