Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Seg Fault when iterate through a NSIndexSet using block notation #1
from rubicon.objc import * index = ObjCClass('NSIndexSet') range_idx = NSRange(0,4) sl = index.alloc().initWithIndexSet(index.alloc().initWithIndexesInRange(range_idx)) def block(idx: int, stop: bool) -> None: print('index', idx) sl.enumerateIndexesUsingBlock_(block)