Using programming instead nib file.