Hide Delete Button While Keeping Swipe to Delete Functionality

Ran into an issue in iOS 7 were the ImageView in a UITableViewCell would resize and cover the delete button after pressing the delete button in editing mode. Here was the workaround I found to just disable the “-” delete button in UITableView’s editing mode but maintain its swipe to delete functionality, just drop this snippet in your TableView’s controller:

– (UITableViewCellEditingStyle)tableView:(UITableView *)TableView editingStyleForRowAtIndexPath:(NSIndexPath *)indexPath

{

    if (self.editing)

    {

        return UITableViewCellEditingStyleNone;

    }    

    return UITableViewCellEditingStyleDelete;

}

 

Great NSXMLParser Tutorial

Here is a very helpful tutorial on using NSXMLParser that was suggested by Ray Wenderlich on his forum. It walks you through using the 3 main parsing methods (didStartElement, foundCharacters, didEndElement) and includes an easy to follow example. I went from knowing nothing about using NSXMLParser to parsing XML from an API request in no time. 

Here are a few other resources that helped out once I had my feet under me:

Easily Use GMP in Xcode with GMPInt

When trying to work through a few of the Project Euler problems I kept running into an issue when trying to calculating big numbers accurately. Enter GMPInt, a handy Objective-C wrapper for GMP, the GNU Multiple Precision library. Just install GMP, link to the libgmp.dylib library in your Xcode project, drop the GMPInt header and implementation files into your project and your ready to go.  

300 Free to Use iOS Tab Bar Buttons

Looking for some free to use tab bar buttons for a personal or commercial project? Then checkout the Galuca Project which offers 300 free icons in both standard and retina resolutions. The icons are licensed under the Creative Commons Attribution 3.0 Unported License so you can share, remix, and commercially use these icons, with attribution. 

Also, If you like the icons and want to say thanks the the artist(s) they do have a link to donate to the project via PayPal.