amahi / ios

Amahi iOS App
https://www.amahi.org/ios
GNU General Public License v3.0
41 stars 65 forks source link

Reusable components, style guideline and suggestions #26

Closed jogendra closed 6 years ago

jogendra commented 6 years ago

Development of this project is started just few days ago so I want to create some Reusable components that can be applied to iOS applications developed throughout the organization. Also, I want to propose swift style guide and best ios development practices.

Reusable Components Rather than calling functions and methods again and again, we can create reusable components. This will help us writing clean code and save our time.

Some other thing I will add in the list.

Style Guidelines To make the code more cleaner and understandable we should follow Swift Style Guide and some best practices for iOS Development. This will help new contributors a lot. I always try to follow this Swift Style Guide. For best iOS practices I want to suggest this good practices.

Suggestion I learn some good things about ios development during last internship and Swift meetups. Some of them I share above and some I want to add here -

cpg commented 6 years ago

It's very hard for me to say this. These are great suggestions, however, I feel it may be too much, too early.

I think this is a little overdoing things this early on. This app will probably not be that sophisticated (in terms of state kept, behaviors, views), generally speaking.

Filing PRs to do some iterations (after getting things working) to clean things will be great.

Things that I think we can take this early:

Things that I kind of not agree with or are not the right moment yet

Not sure about the rest.

jogendra commented 6 years ago

@cpg We can implement the things you agreed.

cpg commented 6 years ago

I would suggest you add a link to the coding style guide to the README through a PR.