Read Access Control and protected post in Apple Swift blog explaining why Swift doesn’t have protected access control.