'Development' Category
Activate NSZombie to find the object causing EXC_BAD_ACCESS
If you get an EXC_BAD_ACCESS with the following stack trace, activating NSZombie could help you to find the object causing the problem. 0x01285a63 in objc_msgSend 0x0580e400 in ?? 0x0105fb8d in _ CFAutoreleasePoolPop 0×00022443 in -[NSAutoreleasePool release] 0x002d3bf2 in _ UIApplicationHandleEvent 0x018cca36 in PurpleEventCallback 0×01105064 in __ CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ 0x010656f7 in __CFRunLoopDoSource1 0×01062983 in __CFRunLoopRun 0×01062240 in CFRunLoopRunSpecific [...]
Create plist from excel sheet with python
This is a simple phyton script to create a plist xml file from a excel sheet. The values from the first row are used as keys for the plist. All values are converted to string. To read the excel sheet, i use the xlrd package. import xlrd from xml.dom.minidom import Document wb = xlrd.open_workbook(‘Test.xls’) sh [...]
