Slightly trivial, but seems like you could remove the duplication with this and the initWithFrame method by pulling this out into a separate method.