Commits

Ronald Oussoren committed 6b5b2fd

Don't use deprecated functionality

Comments (0)

Files changed (1)

pyobjc-framework-Cocoa/Lib/Foundation/_nsindexset.py

     return self.indexPathByAddingIndex_(value)
 
 
-objc.addConvenienceForSelector(b'length', [
+objc.addConvenienceForClass("NSIndexPath", [
     ('__len__', __len__),
-])
-objc.addConvenienceForSelector(b'indexAtPosition:', [
     ('__getitem__', __getitem__),
-])
-objc.addConvenienceForSelector(b'indexPathByAddingIndex:', [
     ('__add__', __add__),
 ])