There are many cases in which we want to use a separated library in the project we develop. This is the case with using the Facebook SDK for Android and this is the case with using the Google Play Services library. The following short video clip shows how to add a reference for a separated library project.
The Visitor Design Pattern
The visitor design pattern allows us to add operations to objects that already exist without modifying their classes and without extending them.