Apple today seeded a sixth beta of OS X Yosemite 10.10.2 to developers, just a week after seeding the fifth beta of OS X 10.10.2, and two months […]
Dealing with NSInternalInconsistencyException when removing UITable row
Stupid situation, today I wanted to test deleteRowsAtIndexPaths method from UITable withRowAnimation:UITableViewRowAnimationFade – just to check how it will look, did not wanted to remove my db record […]
Yosemite 10.10.2 Build 14C99d is now available to developers
Apple today seeded a fifth beta of OS X Yosemite 10.10.2 to developers, just one week after seeding the fourth beta of OS X 10.10.2 and nearly two […]
Send pdf automatically when invoice is created in Magento
It is a bit different then method showed in previous post – this time its not transactional email sent at demand, but we will catch event fired after […]
Quicktip: How to send PDF invoice via transactional email in Magento?
Seems to be complex, but its not that bad: $orderModel = Mage::getModel(‘sales/order’)->load($myOrderId); $invoices = $orderModel->getInvoiceCollection(); $invoicesSet = array(); foreach ($invoices as $_invoice) { array_push($invoicesSet, $_invoice); } $pdf = […]
Fourth iOS 8.2 Beta is available to developers
Apple today seeded the fourth beta of iOS 8.2 to developers, nearly a month after seeding the third beta and more than two months after releasing the first […]
Tutorial: Custom UITable section header using Interface Builder
I saw a lot of tutorials about custom header/footer, or even custom section header, but they were creating controls programatically, in this tutorial I want to show how […]
Apple Seeds OS X Yosemite 10.10.2 Build 14C94b
Apple today seeded a fourth beta of OS X 10.10.2 Yosemite to developers, nearly four weeks after the previous beta release. The new beta, build 14C94b, is available […]
FMDB and threaded update/select
FMDB is pretty cool but due to specific iOS behaviour while using threads, it can lead to unexpected results. First rule is – never use FMDB as singleton. […]