add initWithFrame method,same to initWithCoder