dbader.org

Abstract Base Classes in Python

Abstract base classes (ABCs) enforce that derived classes implement particular methods from the base class. In this article you’ll learn about the benefits of abstract base classes and how to define them with Python’s built-in “abc” module.

→ Read the full article





Guessing a user’s favorite contacts on iOS

Many iOS applications contain an “invite your friends” feature. Ideally this feature should suggest people that the user is likely to invite. This article explains an App Store-legal method of guessing a user’s favorite contacts from their address book on iOS. The method is described in detail and a demo application is available for download.

→ Read the full article