Library vs Framework

What is Library?

Let’s take the analogy of baking a cake to help you understand what a library is:

What is Framework?

Let’s go back to the same analogy of baking a cake:

In summary

And In the last here are some popular libraries and frameworks:

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store