Tag Archives: method

Run a method in a separate thread in Objective-C (Cocoa Framework)

In some situations, performing operations in a single thread can cause an application to appear as if it is hanging. For example, when searching with autocomplete enabled within a large amount of records in a database . The user is typing and the application is performing a computationally complex operation at the same time (searching [...]

Posted in Objective-C | Also tagged , , , , , , , , , , | 1 Comment

Classes and inheritance in Python

This example is similar to the Inheritance in PHP snippet. Python is used instead of PHP.

Posted in Python | Also tagged , , , , , , , | Leave a comment