emrosenf/calendar-ui — comment on commit e1b16257453e26722e46c977a3fd3056f1efa4b3
File:  line 0
By muhku:

Well, yes, I agree the views are not very readable at the moment because they are defined in one .m file.

However, there is a reason for that. The views declared inside the .m file are those which are not meant as a general (reusable) views for the users of the API. The "public" views are MADayView and MAWeekView and the other are internal. Why I see problematic of exposing the internal views, is that changing the implementation is difficult afterwards. Moreover, there are internal dependencies in the internal views, which make them kind of tricky to use in other contexts than inside MAWeekView for example.

In this form, I don't want to merge this patch but if you have further ideas how to make the view code more readable (while keeping the internal views private), I would love to hear your ideas!