This is a sample code, showing my work in Objective-C.