GSoC 2012 Week 3 Report
Activities in the week
Fixing the bug within applying setting
There was a bug in week's 2 version of code, where the sorting order setting was not applied immediately after an adjustment.This was fixed by setting the fetch result controller in view did load method. where checks the setting and set the sort descriptor.
Add sharing features
Sharing using SMS and email is added.When user click the <share> button while browsing the list, a action sheet would pop over and ask whether the user wants to share by emailing or SMS.
Once one of the two options is selected, a SMS or Email editing interface would pop out with the list content loaded as default content of the message. User can then add recipients and modify the content as his/ her will.
Controller for SMS and email activity and interface is provided by apple as API, in package MFMailComposeViewController and MFMessageComposeViewController
by creating an instance of one of the controllers, and setting the default strings for the instance, a controller for SMS and email can be initiated. A interface for launching SMS or Email can be drawn on screen by calling on the instance.
The interface of the sharing related activity looks like this.

<share>button is added to the list
Action sheet pop up after <share> button is clicked.
Message to be sent to intended recipient by user.
Side note: It seems that testing of SMS is not available on Simulator. It might have to be tested on device.
Goals for next week
Fine tune on the interface.
Move on to data structure and database


No comments:
Post a Comment