Monthly Archives: May 2013

UILabel Notes

By default, UILabel doesn’t wrap around string. However large the size of the label is, it will always display a single line. To get around this, you have to set¬†descriptionLabel.numberOfLines =0; ¬†descriptionLabel.lineBreakMode = UILineBreakModeWordWrap; To automatically adjust the size of … Continue reading

Posted in IPhone App Development | Leave a comment

MapReduce Online Paper Summary

The link to the paper http://db.cs.berkeley.edu/papers/nsdi10-hop.pdf Abstract: Original Hadoop system can only start a reduce task after a map task has finished. (Note: Not the entire map phase). HOP (Hadoop Online Prototype) modified the hadoop system that allows pipelining between … Continue reading

Posted in Hadoop Research | Tagged , , | Leave a comment

UITextView with Placeholder

Traditionally, UITextField comes with placeholder field (a default text displayed in the textfield that disappears once the user inputs some text). The UITextField, however, limits the display to be one line. It might not be enough if you have want … Continue reading

Posted in IPhone App Development | Leave a comment