IOS 6.1 – MapKit MKLocalSearch Example Performing Local Search and Reverse GeocodeAddressing…

Just a simple example of using the MKLocalSearch feature available in iOS 6.1 after their release:

 
/* MyMapViewController.h *
 
/** 
 * @author Jonathon Hibbard
 */
#import <UIKit/UIKit.h>
 
@interface StoresMapViewController : UIViewController
@end
/* MyMapViewController.m */
 
/** 
 * @author Jonathon Hibbard
 */
#import "MyMapViewController.h"
#import <MapKit/MapKit.h>
#import <CoreLocation/CoreLocation.h>
#import <AddressBook/AddressBook.h>
 
 
@interface StoresMapViewController () <MKMapViewDelegate>
// Don't forget to hook this up through IB/NiB - You'll also need to set the mapview's delegate to be this object as well...
@property (nonatomic, weak) IBOutlet MKMapView *mapView;
 
// LocalSearch Stuff...
@property (nonatomic, strong) MKLocalSearch *localSearch;
@property (nonatomic, strong) MKLocalSearchRequest *localSearchRequest;
 
@property CLLocationCoordinate2D coords;
 
//@property MKMapItem *currentLocation;
 
@end
 
@implementation StoresMapViewController
 
 
-(void)viewDidLoad {
 
    [super viewDidLoad];
 
    // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    //
    // Temporary - change this to use the user's current location or whatever you want...
    //
    // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    [self setupCoordsUsingAddress:@"Manchester KY 40962"];
}
 
 
-(void)didReceiveMemoryWarning {
 
    [super didReceiveMemoryWarning];
 
    self.localSearch = nil;
    self.localSearchRequest = nil;
}
 
 
-(void)setupCoordsUsingAddress:(NSString *)address {
 
    CLGeocoder *geocoder = [[CLGeocoder alloc] init];
    [geocoder geocodeAddressString:address completionHandler:^(NSArray *placemarks, NSError *error) {
 
        if(error) {
 
          NSLog(@"FAILED to obtain geocodeAddress String. Error : %@", error);
          abort();
 
        } else if(placemarks && placemarks.count > 0) {
 
              // Find all retail stores...
              [self issueLocalSearchLookup:@"retail" usingPlacemarksArray:placemarks];
        }
    }];
}
 
 
// Ex: [self issueLocalSearchLookup:@"grocery"];
-(void)issueLocalSearchLookup:(NSString *)searchString usingPlacemarksArray:(NSArray *)placemarks {
 
    // Search 0.250km from point for stores.
    CLPlacemark *placemark = placemarks[0];
    CLLocation *location = placemark.location;
 
    self.coords = location.coordinate;
 
    // Set the size (local/span) of the region (address, w/e) we want to get search results for.
    MKCoordinateSpan span = MKCoordinateSpanMake(0.6250, 0.6250);
    MKCoordinateRegion region = MKCoordinateRegionMake(self.coords, span);
 
    [self.mapView setRegion:region animated:NO];
 
    // Create the search request
    self.localSearchRequest = [[MKLocalSearchRequest alloc] init];
    self.localSearchRequest.region = region;
    self.localSearchRequest.naturalLanguageQuery = searchString;
 
    // Perform the search request...
    self.localSearch = [[MKLocalSearch alloc] initWithRequest:self.localSearchRequest];
    [self.localSearch startWithCompletionHandler:^(MKLocalSearchResponse *response, NSError *error) {
 
        if(error){
 
            NSLog(@"localSearch startWithCompletionHandlerFailed!  Error: %@", error);
            return;
 
        } else {
 
            // We are here because we have data!  Yay..  a whole 10 records of it too *flex*
            // Do whatever with it here...
 
            for(MKMapItem *mapItem in response.mapItems){
 
                // Show pins, pix, w/e...
 
                NSLog(@"Name for result: = %@", mapItem.name);
                // Other properties includes: phoneNumber, placemark, url, etc.
                // More info here: https://developer.apple.com/library/ios/#documentation/MapKit/Reference/MKLocalSearch/Reference/Reference.html#//apple_ref/doc/uid/TP40012893
            }
 
            MKCoordinateSpan span = MKCoordinateSpanMake(0.2, 0.2);
            MKCoordinateRegion region = MKCoordinateRegionMake(self.coords, span);
            [self.mapView setRegion:region animated:NO];
        }
    }];
}
 
@end;

My experiences with developing an iOS App

After my son, Liam, was born in July, I bought a book and intended to write a small iOS application.  At that time, I hadn’t even thought about “real” programming in a little over 10 years.  When I say real, I mean having to worry about writing code at the device level – having to deal with shared memory, memory leaks, reference counts, etc. etc.

The first month was perhaps the most exciting though.  Learning Interface Builder and all of its settings, changing xcode configurations to see what each of them did (and learning why it was a bad idea to do so haha…), learning the objective c syntax and coding structure/principals.  All of this had me feeling like iOS development was going to be a freaking breeze.

Then one day, I ended up needing to store data – it was a week later that everything changed.  I started out with storing what I wanted in the typical beginner area – a custom plist file.  I then began working my way into SQLite.  Things for a PHP developer are, up to this point, extremely familiar and easy to just bust some code out and go.  That is until you get into Core Data.

When I first read up on Core Data, it related very closely to how Redis worked.  Since I had worked with Redis and could appreciate the speed and performance one gets from a memory store, I immediately wanted to transition into this.  I did some quick and dirty research on what others had to say about Core Data.  To them, it “is easy”, and “the best way to store data you plan to use within iCloud” and blah blah blah…  I mean, I read all of this and think “THIS is what I am going to use.   So – where do we start?”.

At first glance, Core Data (and how it is represented in the docs) sounds so much like a database that you can’t help but start out by treating it like any other *sql DB you’ve dealt with before.  Holy crap Batman – what a mistake that was.  I think my first mistake was relying on books that “touched” on the subject to give me the understanding I needed for this vast subject matter.  And I do mean, no shit, 3 out of 5 books will begin by telling you to think about the data model as a database, or even start relating terminology or the “data model” itself to how a database is structured and managed.  At this stage, I had no idea how absolutely damaging this would be for me until it was far into the game…

My story to enlightenment brings us to my first, pretty accurate introduction to Core Data.  This happened after watching a 4-part series video on the submit by Stanford University professor Paul Hegarty (part of the CS193p course videos available for Free to watch).  After watching these videos 3 or 4 times each, I found myself feeling less and less confused about what Core Data was, how to use UIManagedDocument.

UIManagedDocument was and is still (at the time of this writing), one of the least covered subjects on the net – something I’m very puzzled by considering just how powerful it is.  While I feel like I know UIManagedDocument pretty well at this point, this was just one more subject that was going to tortue me for a full month (no exaggeration here) due to the lack of resources you can find on the subject.

When a developer finds themselves getting confused this many times trying to understand what the “community” says is an “easy” concept, either they will stop here and just say “this language/feature/etc. sucks” and never use it again – or, they will embrace the fact that they just don’t have the proper understanding of the concept and seek out how to correct that understanding.

I chose the later of these outcomes.  Why?  Because I decided I had 2 possible outcomes of doing this.  Either a) I’ll eventually realize that the first path (this sucks, never use it again) is actually the more accurate answer after all, or b) I’ll actually learn where I went wrong, how I went wrong, and how I can get on the right path (and maybe even be better at the language because of it).

Surprise surprise if I didn’t actually get better at the language.

If you paid any attention what-so-ever to the “miles long” list of links I posted before this entry, you’ll notice a helluva lot of links relating to Core Data.  What I found is that to actually understand Core Data, you have to understand the other pieces of the language as well.  For any PHP developer out there saying “uh, what?  Why?  ScReW THAT!” – hear me out first.  The reasoning behind this is that Core Data (if you want to get to the real meaning behind is) is Objective C.  While it is true that the “results” of Core Data is stored into a persistent store like SQLite, the data itself is actually nothing more than the same “objects” you create by defining a class.

You see, Core Data is nothing more than a collection of data in the form of Objects.   These objects have properties that we use for storing our data, and also data that allow us to “link” objects together through “relationships” (much like inheritance in class structures).  But, before I make the hardcore Objective C nerds begin foaming at the mouth, I’ll leave it alone there.  Mainly because the point isn’t what Core Data is.  The point is that I had finally learned that it is only as much like MySQL as a custom class I create is.

I’m doing a really crappy job of explaining this, but that crappiness is in itself indicative of exactly how I felt when my mind began trying to fight with what I had originally learned about the subject versus what was the reality of what it truly was.

After finally defeating the subject, I then began flying through the rest of iOS though.  See, learning Core Data is important – not because of the community saying “its the best”, but because what you learn when you do.  By learning core data, I forced myself to learn how strong/weak references matter, how/where/when to use GCD (Grand Central Dispatch), why/how to use notifications, how/why/where to pass objects around, how controllers and views behave, how UITableViewController and UIViewController work, etc. etc.  I mean, you learn so much from this that its ridiculous.

I’m going to say that this will need to be a 2 part serious here because I’m getting tired.  I’ll finish this post in a followup (and hopefully start diving into the other areas of the language).  For now, I’ll close with this:

If you’re starting out with Core Data – please, under no circumstances, do NOT approach it like it is a MySQL or similar Database.  Building the model itself is as close to MySQL you will ever get.  But even then, it isn’t exact (you’ll see what I mean when you dive into concepts such as to-many and many-to-many relationships).  Do yourself a favor and only think about it in Object terms.  What do you do if you need to extend an object ? – you extend/subclass or, in core data terms, build a relationship to that object.

Second, get ready to really get an ass whooping if you haven’t fully understood the Objective C language yet.  With that in mind, there were 2 things that the community got wrong: 1) they said Objective C is hard.  Well, I’m not sure about everyone else, but Objective C was easy to pick up for me.  The other is that Core Data is easy – its not.  Core Data is complex and is extremely difficult if you don’t fully understand the language and aren’t thinking about it as an Object Warehouse!!  

Finally, learn how to use UIManagedDocument.  Perhaps I can write a short tutorial on it, but trust me – it makes working with Core Data easier.  All because it is easier doesn’t make it better – but for me, I’d rather not have to deal with the unnecessary maintenance of working with Core Data if I don’t have to – plus, if you’re looking to ever start allowing your user’s local data you’re storing have the ability to be stores in iCloud, UIManagedDocument is, by far, the easiest way to go.

For now, I’m happy that I decided to learn this crazy, powerful language.  The unfortunate fact is that (as of right now), Apple is making some poor choices with how they are handling things since Mr. Job’s death.  They’re going right back into the world of “we’er apple.  we don’t have to try, because you already know who we are, and why we’re great.”.  That’s a horrible thing for Objective C / iOS developers.  It’s horrible, too, for me because I had high hopes.  I mean, I’ve embraced Objective C and really want to keep writing it.  But for me, I’m going to say I’m very uncertain about  the future for this language.  Not because of anything negative for the language, of course, but because of its manager.  I’m already beginning now to pick up Java/Android development.  I’ll still write Objective C, but when I have doubts about a language… yeah, we’ll see.

Anyways, with that, see you all in a month or 2.  I’m sure that we’ll see real quick if the tides are indeed going to change on that front.  Who knows after all…

 

iOS Links – Resources I Collected While Learning iOS

While learning iOS, I’ve collected a bunch of links that I’ve found helpful.  Thought I’d share.  Enjoy!

iOS iPhone Objective C

Using GCD and Blocks Effectively | iOS/Web Developer’s Life in Beta
iOS Programming: The Big Nerd Ranch Guide,Third Edition (3rd Edition) (Big Nerd Ranch Guides): Aaron Hillegass,Joe Conway: Amazon.com: Kindle Store
Real World iOS 6 Development: Weiran Ye: Amazon.com: Kindle Store
iPhone iOS 6 Development Essentials: Neil Smyth: Amazon.com: Kindle Store
Real World iOS 6 Development: Weiran Ye: Amazon.com: Kindle Store
Producing iOS 6 Apps: The Ultimate Roadmap for Both Non-Programmers and Existing Developers: UnknownCom Inc.: Amazon.com: Kindle Store
iPhone iOS 6 Development Essentials: Neil Smyth: Amazon.com: Kindle Store

iPhone Development

      AFNetworking – Useful for Web API Calls 

Networking Made Easy With AFNetworking

APP SUBMISSION – Apple Guidelines!

iOS Data Storage Guidelines – Apple Developer
iPhone Core Data “Production” Error Handling – Stack Overflow
iphone – How to handle NSFetchedResultsController fetch errors? – Stack Overflow
Prepare for App Submission – App Store Resource Center
App Store Approval Process – App Store Resource Center
Developer ID and Gatekeeper – Apple Developer
Developing my first iPhone game: the inside story | TUAW – The Unofficial Apple Weblog

Chat (like Jabber)

Building a Jabber Client for iOS: Custom Chat View and Emoticons
romaonthego/REComposeViewController · GitHub
bufferapp/buffer-uiactivity · GitHub

Cool Stuff

emilwojtaszek/AURosetteView · GitHub
iOS Open Source : AURosetteView, Animated Menu Selection
Mobile Developer Tips
ios tips and tricks transition – Google Search
iphone – Best Practice to Float a View over Another View? – Stack Overflow
cocopon/CQMFloatingController · GitHub
How To Design A Custom UITableViewCell From Scratch | iOS Development Tips & Tricks by BiOM
iOS Programming Tips | iOS Development Tips & Tricks by BiOM
UIPickerView – Creating a simple picker view | iPhone SDK Articles
Open Source Control For Making Great Looking Overlay Menus
RGB-to-Hex Color Converter
iphone – can give different color in CGContextSetRGBFillColor? – Stack Overflow
#3f3fbf hex color
Custom OpenGL UIView transitions
www.dd-wrt.com | Unleash Your Router
Documentation:Streaming HowTo/Streaming for the iPhone – VideoLAN Wiki
How to do Clear-style swiping in iOS tables — Adoption Curve
Image Caching Tutorial – iPhone Dev SDK
UIView Class Reference
iphone – Creating custom UITableViewCell’s within a Storyboard – Stack Overflow
UITableViewCell | iPhone Development Blog
ios – Does UIImageView cache images? – Stack Overflow
iphone – How can I speed up a UITableView? – Stack Overflow
objective c – Using indexPath.row to get an object from an array – Stack Overflow
Dave Matthews Band – If Only Lyrics
iphone – no @interface for ‘UITableView’ declares the selector ‘initWithStyle:reuseIdentifiers – Stack Overflow
iOS Open Source : Popover Control for iPhone and iPad
Gist
initWithStyle:reuseidentifier: — Gist
Downloads · timd/SwipingTable · GitHub
Table View Programming Guide for iOS: Managing Selections
Downloads · sachithkadamba/PinchZoomUITableView · GitHub
Dream World!!!: Pinch Zoom UITableView
iphone – Test for a pinch on UIImageView (not pinch and zoom – just test for pinch) – Stack Overflow
xcode ios pinch-in pinch-out detect – Google Search
ios – Detecting Pinch gesture beginning on iPhone MapView – Stack Overflow
iOS 5 Gestures : How to use UIGestureRecognizers for Tap, Pinch, and Rotate | Scott Sherwood
ios xcode detect when finished pinching – Google Search
Useful programming tips: UITableView: Display and hide cells as a dropdown list
xcode ios uitableview tips – Google Search
iphone – Custom segue push like with back button – Stack Overflow
Reusable Views in iOS | fdiv.net
timd (Tim Duckett)
Map Kit Framework Reference
Location Awareness Programming Guide: Displaying Maps
iOS 5 Core Frameworks: Core Location and Map Kit | Getting Started with Core Location and Map Kit | Peachpit
Using the Google Places API With MapKit
Introduction to MapKit on iOS Tutorial
iphone – How to find location using MapKit in Xcode? – Stack Overflow
xcode ios mapkit search store – Google Search
My App Crashed, Now What? – Part 2
ios – What does XCode 4.2 story builder’s “Defines Context” and “Provide Context” mean? – Stack Overflow
#d2691e hex color
Open Source: Ultra-Realistic Page Curl Effect Library | iOS Development Tips & Tricks by BiOM
How to use Custom UIButton Graphics for iPhone Applications | SpyreStudios
50 Brilliant iPad Mobile App User Interface Designs | SpyreStudios
Disable swipe to delete on tableview – iPhone Dev SDK
iOS Brownbag: View vs. Layers (including Clock Demo) | Rapture In Venice: iOS, Android Mobile Development Shop
Core Image Programming Guide: About Core Image
Quartz 2D Programming Guide: Introduction
Quartz 2D Programming Guide: Gradients 
Core Animation Programming Guide: Introduction to Core Animation Programming Guide
Introduction to CALayers Tutorial
View Controller Programming Guide for iOS: Resource Management in View Controllers
UIViewController Class Reference
View Controller Programming Guide for iOS: Presenting View Controllers from Other View Controllers
View Controller Programming Guide for iOS: Enabling Edit Mode in a View Controller <<< EDIT MODE !!!
View Controller Programming Guide for iOS: Creating Custom Segues
View Controller Programming Guide for iOS: Creating Custom Container View Controllers
View Controller Programming Guide for iOS: Creating Custom Container View Controllers
Perfect your app with Xcode tools for iOS developers | TechRepublic
How To Get the Current User Location in iPhone App | iOS Programming
Cocoa with Love: Multiple row selection and editing in a UITableView
Hottest ‘uisegmentedcontrol’ Answers – Stack Overflow
Developer Forums: Reordering TableView rows not saving
Developer Forums: Fetched properties / nested context / concurrency -> exception
Developer Forums: Core Data
iphone – performBlockAndWait: to save a root managed object context synchronously doesn’t provide non temporary Object IDs – Stack Overflow
Table View Programming Guide for iOS: A Closer Look at Table View Cells
E: Could not get lock /var/lib/dpkg/lock – open (11 Resource temporarily unavailable)
reFocus: Introduction and screenshots
boxedice/ios-SDNestedTable · GitHub
mpospese/MPFoldTransition · GitHub
runway20/PopoverView · GitHub
iOS 5 Programming Pushing the Limits; Developing Extraordinary Mobile Apps for Apple iPhone, iPad, and iPod Touch
How to disable floating headers in UITableView « Core-Cocoa
ios – Is there a way to make gradient background color in the interface builder? – Stack Overflow
Eastern Ranges GP Association | A Division of General Practice
iPhone Development – Gradient background UIViews
Cheat Sheet For Designing Web Forms | Smashing UX Design
50+ Beautiful Websites with Great Colour Schemes | Inspired Magazine
xcode – How to customize tableView Section View – iPhone – Stack Overflow
xcode ios hide part of section header – Google Search
Gradient background for UIView in iOS « Daniel’s Games Programming Blog
iOS 5 – Dividing UITableView into sections by Core Data Attribute – Stack Overflow
huddletech/HTFramework · GitHub
Custom UI Controls for iOS and Mac OS X – Cocoa Controls
Downloads · rs/SDSegmentedControl · GitHub
AFNetworking/AFNetworking
jdg/MBProgressHUD
Application Error
Beginning Auto Layout in iOS 6: Part 1/2
Working with iOS 6 Auto Layout Constraints in Interface Builder – Techotopia
wannabegeek
SteveX Compiled » Blog Archive » UITableView, Multi Select and Swipe To Delete
xProgress.com – Ultimate tutorial library about iPhone SDK, Objective-C, XCode and DashCode
Cocoa with Love
Cocoa with Love: An RSS-feed and location-based iOS application
iPhone Development Source Codes: List-1 Free iPhone App Source Codes
IOS 5 « The Mobile Galaxy
Pusher | HTML5 WebSocket Powered Realtime Messaging Service
Freelance Mad Science Labs – Blog
Adding TODOs, FIXMEs, and more to the jump bar in Xcode | d3signerd | Kellen Styler
Objective-C Lesson 7: Enumerated Types and typedefs « Programming for iOS
ARC Gotcha – Unexpectedly Short Lifetimes » Big Nerd Ranch Weblog
iphone – Why am I experiencing a crash when comparing bridged CGColorRefs under ARC? – Stack Overflow
iOS Quick Tip – Avoid combining animations with setMasksToBounds, if possible | App Per Month
iOS Quick Tips | App Per Month | Page 2
clarkware/iphone-goodies · GitHub
iOS-Blog
iphone – xCode / declaring Static Methods in class – Stack Overflow
GPU-accelerated video processing on Mac and iOS | Sunset Lake Software
samsoffes/sscatalog · GitHub
Source code for iOS
Leap Motion
iPhone Application Development Auditors – Google Groups
Mercurial SCM
core data « My iOS development blog
A blog about iPhone/iPad, EPiServer, SharePoint and .NET development
robbiehanson/CocoaLumberjack · GitHub
robbiehanson (Robbie Hanson)
https://github.com/chriseidhof/NSIncrementalStore-Test-Project/pull/1.diff
wannabegeek/TFEditableTabbar · GitHub
Hiding UITabBar and presenting a UIToolBar in edit mode – wannabegeek
duanecawthron/ios_examples · GitHub 

Core Data

Core Data with a Single Shared UIManagedDocument – A Developing Story
objective c – Fetch Predicate from Core Data Model into sections using NSFetchedResultsController – Stack Overflow
core data on ios 5 tutorial how to work with relations and predicates – Google Search
Core Data on iOS 5 Tutorial: How To Work with Relations and Predicates
Core data | Scoop.it
picture-1.png (700×630)
The first day of Reckoning | everburning
xcode core data product invoice and line item – Google Search
iphone – CoreData: multiple copies of the same item linked to another? – Stack Overflow
iphone – Where can I find a good example of a Core Data to-many relationship? – Stack Overflow
xcode core data inverse many-to-many relationship – Google Search
iPhone Tutorials
iphone – How do you manage and use “Many to many” core data relationships? – Stack Overflow
iphone – Objetive-C: Many to many relationship with CoreData – Stack Overflow
ios – Point of using NSPersistentStoreCoordinator? – Stack Overflow
UIManagedDocument Class Reference
Tutorial: Getting Started With Core Data In iOS 5 Using Xcode Storyboards
NSFetchedResultsController convenience methods should not call performFetch · Issue #65 · magicalpanda/MagicalRecord · GitHub
ios – NSFetchedResultsController with pull-to-refresh shows nothing after update – Stack Overflow
objective c – UIManagedDocument with NSFetchedResultsController and background context – Stack Overflow
Core Data Programming Guide: Core Data Basics
ios – core-data consistency error – Stack Overflow
CoreData fetch is way too slow | Cocoabuilder
History
core data dynamic static uitableview – Google Search
objective c – Non-Core Data data in a Core Data-backed UITableView – Stack Overflow
xcode ios coredata custom cell at index 0 – Google Search
xcode ios core data add blank index record – Google Search
core data fetchedresultscontroller static section – Google Search
objective c – NSFetchedResultsController doesn’t fetch results even though items are created in the database – Stack Overflow
iphone – CoreDataBooks Add new cell to tableview – Stack Overflow
How do you create sections for core data table view? – iPhone Dev SDK
Working with Core Data: Schema Versioning and Lightweight Migrations
Core Data Model Editor Help: Adding a New Version to a managed Object Model
Core Data Model Versioning and Data Migration Programming Guide: Core Data Model Versioning and Data Migration
Core Data for iOS: Developing Data-Driven Applications for the iPad®, iPhone®, and iPod touch® > Modeling Your Data > Working with Xcode’s Data Modeler – Pg. : Safari Books Online
CoreData Best Practices | Cocoabuilder
iphone – does anyone have a working example of a fetched-property in core-data? – Stack Overflow
iphone – Core Data get sum of values. Fetched properties vs. propagation – Stack Overflow
ios – UITableView delete/add row causes CoreData: Serious Application Error if another object has been selected in the MasterView of a SplitViewController – Stack Overflow
Core Data – Richard Warrender
iOS – Delete a row from Core Data UITableView with custom button – Stack Overflow
timothyarmes/TAFetchedResultsController · GitHub
Core Data on iOS 5 Tutorial: How To Preload and Import Existing Data
Core Data Programming Guide: Core Data and Cocoa Bindings
Core Data Programming Guide: Fetching Managed Objects
Core Data Programming Guide: Troubleshooting Core Data
objective c – How can I use NSFetchedResultsController and custom sections? – Stack Overflow
iphone – iOS – Core Data – Multiple NSFetchedResultsController in one UIViewController – Stack Overflow
iphone – Setting UITableView headers from NSFetchedResultsController – Stack Overflow
objective c – How to use NSFetchedResultsController to generate sections after dates – Stack Overflow
objective c – NSFetchedResultsController and NSPredicate and a section name – Stack Overflow
objective c – Can I have multiple queries in NSFetchedResultsController without setting each of the cacheNames to nil? – Stack Overflow
cocoa touch – How to switch UITableView’s NSFetchedResultsController (or its predicate) programmatically? – Stack Overflow
uitableview – Do I need a second NSFetchedResultsController – Stack Overflow
iOS – NSFetchedResultsController example with CoreData manipulation through an NSOperation | Xebia Blog
Downloads · xebia/ios-DemoForBlog
Developer Forums: UIManagedDocument best practice
A Developing Story
Developer Forums: managed object, NSMutableOrderedSet & insertObject:atIndex:
Developer Forums: Slow, blocking save with nested contexts
objective c – Core Data nested managed object contexts and frequent deadlocks / freezes – Stack Overflow
wbyoung
Developer Forums: Core Data Tutorial for IOS
Developer Forums: SQLite and Coredata
iPad and iPhone Application Development (HD) – Download free content from Stanford on iTunes
Developer Forums: Nesting and Popping NSFetchedResultsControllerDelegate UIViewControllers
Developer Forums: share data between tabs
Developer Forums: CoreData and Threading
ios – CoreData and Threading – Stack Overflow
iphone – Core Data could not fullfil fault for object after obtainPermanantIDs – Stack Overflow
Magical Record: how to make programming with Core Data pleasant « Yannick Loriot
Ablfx | no limits to creativity
Super Happy Easy Fetching in Core Data | Cocoa Is My Girlfriend
Core Data and Threads, Without the Headache | Cocoa Is My Girlfriend
Issues with 2.0.8? · Issue #297 · magicalpanda/MagicalRecord
magicalpanda/MagicalRecord
Developer Forums: Shared Core Data Example without iCloud
Developer Forums: Core Data synced with iCloud – should I or should I not?
iphone – My delegate doesn’t work – Stack Overflow
iOS 5 Tech Talk: Michael Jurewitz on iCloud Storage – Ole Begemann
Blog Archive – Ole Begemann
developer.apple.com/library/ios/documentation/DataManagement/Conceptual/DocumentBasedAppPGiOS/DocumentBasedAppPGiOS.pdf
Migrating Core Data to new UIManagedDocument in iOS 5
iphone – How do I share one UIManagedDocument between different objects? – Stack Overflow
TimeTag for iPhone, iPod touch, and iPad on the iTunes App Store
NSTokenField, CoreData and Auto-completion – wannabegeek
ios_examples/012_CSV_core_data/CSV_core_data/CSV_core_data/CoreDataTableViewController.m at master · duanecawthron/ios_examples · GitHub
ios – Core Data: NSManagedObjectContext, NSFetchResultsController, and UIManagedDocument – Stack Overflow
iphone – How do I create a global UIManagedDocument instance per document-on-disk shared by my whole application using blocks? – Stack Overflow
ios5 – Core Data background importing using UIManagedDocument and parent/child context in iOS 5 – Stack Overflow
ios5 – Core Data managed object does not see related objects until restart Simulator – Stack Overflow
Making UIManagedDocument a little safer – number23.org
SteveX Compiled » Blog Archive » UIManagedDocument autosave troubleshooting
SteveX Compiled
SteveX Compiled » Blog Archive » App Store vs Release Early / Release Often
Cocoa with Love: Core Data: one line fetch
iOS – Core data – NSManagedObjectContext – not sure if it is saved – Stack Overflow
ios – iOS5 UIManagedDocument and FetchedResultsController exception, on save change – Stack Overflow
StackMob – Docs – StackMob iOS One To Many Relationship Tutorial
iPhone Core Data: Your First Steps
Page Not Found – Apple Developer
core data | Tumblr
Core Data Migration – Standard Migration Part 2: Migration Boogaloo
jose-ibanez/JICoreDataOperation · GitHub
devbeck
Adventures into iOS: the App Academy Experience • Day 37 – Core Data
Elementary Introduction to CoreData: Using Xcode 4.3.2 and iOS 5 | NewAdventures
XCODE Useful Tips: Create UUID or GUID in iOS 5.0
ios – Empty string vs nil inside a core Data entity – Stack Overflow
Store and Find an Employee using Core Data | Tutorial | | ChupaMobile
Re-Ordering NSFetchedResultsController | Cocoa Is My Girlfriend
objective c – core data database is empty test – Stack Overflow
Multi-Context CoreData | Cocoanetics
Core Data Programming Guide: Core Data FAQ
Core Data Programming Guide: Troubleshooting Core Data
Passing around a NSManagedObjectContext on iOS | Cocoa Is My Girlfriend
do i need nsmanagedobjectcontext – Google Search
Core Data nested managed object contexts and frequent deadlocks | Cocoabuilder
iphone – Core Data’s NSPrivateQueueConcurrencyType and sharing objects between threads – Stack Overflow
xcode core data context save when to use performblock – Google Search
Core Data Programming Guide: Relationships and Fetched Properties
Core Data Programming Guide: Relationships and Fetched Properties
Core Data on iOS 5 Tutorial: How To Use NSFetchedResultsController
Core Data on iOS 5 Tutorial: Getting Started
iCloud Design Guide: Designing for Documents in iCloud
iCloud Design Guide: Designing for Core Data in iCloud
iCloud Design Guide: Designing for Documents in iCloud
Apple Developer Search: storing documents in icloud using ios 5
CoreDataBooks
iphone – UIManagedDocument nested Contexts – Stack Overflow
objective c – Core Data what is created with UIManagedDocument – Stack Overflow
objective c – UIManagedDocument insert objects in background thread – Stack Overflow
Freelance Mad Science Labs – Blog – Syncing multiple Core Data documents using iCloud
Hottest ‘uimanageddocument’ Answers – Stack Overflow
xcode ios uimanageddocument tutorial – Google Search
R&D – Forge – CoreData Notes
R&D – Forge – Key Value Observing
MacTech | The journal of Apple technology.
Tutorial: Easy Core Data Unit Tests With Magical Record And BDD Testing
Tutorial: The Basics Of Using The Magical Record Core Data Library
» Core Data Basics Part 1 – Storyboards, Delegation Tim Roadley
ios – UIManagedDocument Singleton Code openWithCompletionHandler called twice and crashes – Stack Overflow
R&D – Forge – performBlock:
ORNYX – A Core Data Primer
Volon Bolon — Core Data Classes
Volon Bolon — Concurrency with Core Data on iOS 5
Quickies for Core Data
Tutorial: Storyboard app with Core Data | MaybeLost.com
JICoreDataOperation/JICoreDataOperation.m at master · jose-ibanez/JICoreDataOperation · GitHub
How to delete an old/unused Data Model Version in xCode 4 – Stack Overflow
iphone – How to filter NSFetchedResultsController (CoreData) with UISearchDisplayController/UISearchBar – Stack Overflow
iPhone Development – core data search criteria tutorial part 2 | The AppCode Blog
» Core Data Basics Part 5 – Preloading Data Tim Roadley
Core-Data-on-iOS-5-Tutorial–How-To-Work-with-Relations-and-Predicates/FailedBankCD/SMSearchViewControllerViewController.m at master · funkyboy/Core-Data-on-iOS-5-Tutorial–How-To-Work-with-Relations-and-Predicates · GitHub
xcode ios fetchedresultscontroller live search – Google Search
iPhone Development: Navigation-based Core Data Application Template Reposted
ios – addObject: to NSMutableArray and sending to TableView – Stack Overflow
NSExpression Class Reference
Core Data Snippets: Fetching Specific Property Values
Delete the NSFetchedResultsController Cache Before Changing the NSPredicate | iPhone Development Blog
Reloading RKFetchResultsTableController on cell updates – Google Groups
iphone – Using NSFetchedResultsController to with UISearchBar – Stack Overflow
NSFetchedResultsController Class Reference
ios – Refresh NSFetchedResultsController data? – Stack Overflow
Recipe: UIManagedDocument and Core Data | The iOS 5 Developer’s Cookbook: iCloud Basics | InformIT
Core Data Release Notes for OS X v10.7 and iOS 5.0: Core Data Release Notes for OS X v10.7 and iOS 5.0
Core Data iOS: Designing a Data Model and Building Data Objects | Packt Publishing
Adventures in Multithreaded Core Data
iPhone App Development Tutorial – Core Data part 2 – One to Many Relationship | The AppCode Blog
Adding charts to your iPhone / iPad App using Core Plot 0.9 | Dr John Wordsworth
Cocoa Dev Central: Core Data Class Overview
iPhone – Core Data and UITableView | blog.sallarp.com
Cocoa Dev Central: Build a Core Data Application
ios_examples/012_CSV_core_data at master · duanecawthron/ios_examples · GitHub
UIManagedDocument and background updating – wannabegeek

Custom Font Install

Five Tips for Creating Stylish UIButtons

Custom Menu Navigation

Create Eye-Catching Navigation with AwesomeMenu
Titanium Mobile: Create a Sliding Menu for iOS
ios – Custom animation for UINavigationController push not rendering navbar correctly – Stack Overflow
Chapter 19. View Controllers
Use Storyboards to Build Navigation Controller and UITableView | iOS Programming Tutorial
KieranLafferty/KLExpandingSelect · GitHub
KieranLafferty/KLHorizontalSelect · GitHub

Design

Mobile Design | Mobiletuts+
iOS Programming: iOS 6 and Interface Orientation
devinross/tapkulibrary
stuartkhall/ios_global_popup_alert
Freelance Mad Science Labs – Blog
ios – Transparent rect in view controller – Stack Overflow
iphone – Changing frame of UIView’s CALayer (self.view.layer.frame = …) appears to have no effect – Stack Overflow
PageControl Example in iPhone | iPhone Tutorial | iPhone iOS4 iPad SDK Development & Programming Blog
iphone – xcode UIScrollview not scrolling smoothly – Stack Overflow
using iphone sdk: Page controller with scroll view (first xib in another xib)
Useful programming tips: Page Control: Display view controllers as data pages
iphone – UIScrollView in iOS 6 – Stack Overflow
xcode ios dynamically set uipagecontrol number of pages breaks uiscrollview – Google Search
Fun shadow effects using custom CALayer shadowPaths | iOS/Web Developer’s Life in Beta
Freebie: Extended Entypo Glyph Set (EPS, PDF, PSD, Typeface, Web Font)
iOS Basics – UINavigation Controller & Back Button Text – The Dangling Pointer
xcode ios back button theme – Google Search
CustomNavBack/CustomNavBack at master · arunzy/CustomNavBack · GitHub
xcode ios theme navigation back button – Google Search
How to display temporary popup message on iPhone/iPad/iOS – Stack Overflow
coding « My iOS development blog
Interface Origami • Tack Blog

Factual Map API

Factual/factual-ios-sdk
Factual/factual-ios-sdk-dist
Developer Forums: Replacement for Google business/places search on iOS 6?
Developer Forums: iOS Development
Developer Forums: Connected Technologies
Developer Forums: Apple Push Notification
Developer Forums: Location and Maps
Developer Forums: Passbook
Developer Forums: GeneralBlock-3584 leaks
Developer Forums: Web Technologies
Developer Forums: Space Search
Developer Forums: iPhone 5 pausing Core Location
Developer Forums: Which would be the best way to handle static data needed for App
Developer Forums: I Want To Display Multiple iPhone Users after they Login on MapView
Developer Forums: removeAnnotations – apple maps
Developer Forums: Is there a way to control the frequecy of update of the GPS?
OSM in MapKit – OpenStreetMap Wiki
Developer Forums: MKMapView maximum zoom level in iOS 6 beta 1
Developer Forums: maps.apple.com redirects to maps.google.com
Developer Forums: Region Monitoring questions
Developer Forums: Multitasking
Developer Forums: ∞’s Small Guide to Backgrounding (part 1: Regular apps)
mladjan/GoogleMapsOverlayiOS · GitHub
Apple criticised over new iPhone Maps app – Telegraph
How To Get Google Maps App Experience On iOS 6 Right Now | Redmond Pie

Game App Development

How To Make A Simple iPhone Game with Cocos2D 2.X Tutorial

GOOGLE API

google-api-objectivec-client – Google APIs Client Library for Objective-C – Google Project Hosting

HUD Progress Load

MBProgressHUD for iOS – Cocoa Controls

iAd and adMob (Advertisements)

Supplementing iAd Placement with AdMob

iCloud

iCloud for Developers – Apple Developer
Managing Your Apps – App Store Resource Center
» Core Data in iCloud Tim Roadley

In-App Purchases

Lightweight iOS StoreKit Wrapper For Easier Product Fetching And Transaction Handling

iRate (App Store Rating Stars)

iOS Quick Tip: Adding App Store Stars with iRate

LEAP – Motion iPhone SDK Developer

Leap Motion Developer Portal

Location, Maps, GEOCoding

AppCoda Community – Learn iOS Programming and Build iPhone App
Forward Geocoding with CLGeocoder
R&D – Forge – Adding Overlays
Tutorial: Easy Reverse Geocoding With CLGeocoder
R&D – Forge – MKMapItem
GeoJSON editor
Facebook Connect – Including static maps in wall posts | blog.sallarp.com
uapycon/index.htm at master · rootart/uapycon · GitHub

Marketing

Marketing Resources – App Store Resource Center

Multitasking (Background Threads, GCD, etc)

iOS Multitasking: Background Tasks
Adventures into iOS: the App Academy Experience • Day 36 – Grand Central Dispatch
R&D – Forge – Grand Central Dispatch
Xcode 4: How to profile memory usage & performance with Instruments? – Stack Overflow
objective c – Live Bytes vs Real Memory in Activity Monitor on iOS – Stack Overflow
Open Source: Library For Easy iCloud Image And Document Transfers With A Blocks Based Syntax
Cocoa Touch Tutorial: Using Grand Central Dispatch for Asynchronous Table View Cells | Jeff Kelley’s Blog
SlaunchaMan/GCDExample
iPhone/iPad – Wait for asynchronous tasks to complete | blog.sallarp.com

Navigation, Segue, Unwind, etc.

ios – What are Unwind segues for and how to use them? – Stack Overflow
ios – How to perform Unwind segue programmatically? – Stack Overflow
iphone – Xcode 4.5 Storyboard ‘Exit’ – Stack Overflow
Using Xcode Storyboarding (iOS 6) – Techotopia
keirp/Glass-Segmented-Buttons-for-iOS-5.1- · GitHub
iOS 5 View Programming & Drawing | Jonathan Hui 

NSNotification

iOS SDK: NSNotification
Local and Push Notification Programming Guide: About Local Notifications and Push Notifications
iPhone Programming Tutorial – Local Notifications | iPhone Programming Tutorials
xcode ios understanding notifications – Google Search

NSNumber and Literals

Objective-C Literals
Formatters and Locale Changes – Use Your Loaf
Using Number Formatters – Use Your Loaf

Optimization Tips

iphone – UITableView experiences choppy scrolling when cell has a UIImageView subview – Stack Overflow
Designing Buttons in iOS 5 | Nathan Barry
OpenGL ES Programming Guide for iOS: Platform Notes
Fast Scrolling in Tweetie with UITableView
Table View Programming Guide for iOS: A Closer Look at Table View Cells
uitableview – Why is scrolling performance poor for custom table view cells having UISegmentedControl objects? – Stack Overflow
Glassy Scrolling with UITableView
iOS Quick Tips: Version control and backups with DropBox and Git | App Per Month
ios-queryable – IQueryable and IEnumerable for Core Data | App Per Month
Ash Furrow
How to Use NSFetchedResultsController with UICollectionView
kharrison/CodeExamples · GitHub
R&D – Forge – UIButton Inside UITableViewCell?
Programming Knowledge Base: UIStoryboard Best Practices
Programming Knowledge Base: Objective-C @property Best Practices
Programming Knowledge Base: Migrating to UIStoryboard
Programming Knowledge Base: Linking Storyboards
rob-brown/RBStoryboardLink
ios5 – What is the best practice when using UIStoryboards? – Stack Overflow
Programming Knowledge Base: Linking Storyboards
xcode ios multiple storyboards bad – Google Search
Design Patterns: Elements of Reusable Object-Oriented Software: Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides: 0785342633610: Amazon.com: Books
Create a new branch with git and manage branches · Kunena/Kunena-2.0 Wiki
version control – what is the git equivalent for revision number? – Stack Overflow
iphone – Keep getting “This NSPersistentStoreCoordinator has no persistent stores. It cannot perform a save operation.” upon closing my app (OSX) – Stack Overflow
How do you roll back (reset) a git repository to a particular commit? – Stack Overflow
Blu-ray.com – Top Blu-ray Sellers
Using XCode 4 Snippets | iPhone Programming Tutorials
Storyboards Segue Tutorial: Pass Data Between View Controllers | iOS Programming Tutorial
ios – dequeueReusableCellWithIdentifier always return non nil? – Stack Overflow
Storyboard Segues – Use Your Loaf
iphone – How to increase the speed of the scroll in the table view when images are being loaded in each cell? – Stack Overflow
iOS App Dev Libraries, Controls, Tutorials, Examples and Tools
iphone – Caching images in UITableView – Stack Overflow
iOS 5 Interface Builder, View Controller and ARC Best Practices — Gist
Programming Knowledge Base: UIStoryboard Best Practices
xcode ios interface builder best practices – Google Search
objective c – Non-lazy image loading in iOS – Stack Overflow
R&D – Forge – Comparing Objects
Google Objective-C Style Guide
mikeash.com: Friday Q&A 2011-09-30: Automatic Reference Counting
Objective-C Automatic Reference Counting (ARC)
User Brad Larson – Stack Overflow
Creating Info Button and Increasing Touch Area
Understanding Reload, Repaint, and Re-Layout for UITableView
iOS App Programming Guide: Advanced App Tricks
iOS Tutorial: Combining Delegation, Storyboards, Popovers and Data | Cole’s Huginn 

RestKit (Framework for Working with Web Services)

Developing Restful Ios Apps With Restkit | Mobiletuts+
iOS SDK: Advanced RestKit Development

Scroll View Scrolling

Inedible Software | Blog
Scroll View Programming Guide for iOS: Scrolling the Scroll View Content
iPhone/iPad – AppStore like UIScrollView with paging and preview | blog.sallarp.com

Social Sharing for Content

ShareKit : Drop-in Share Features for all iOS Apps
DMActivityInstagram for iOS – Cocoa Controls

Storage (NSUserDefaults)

iOS SDK: Working with NSUserDefaults

Themes – Customizing UIView and UIKit

iOS SDK: UIKit Theme Customization

UICollectionView

UICollectionView Example
AshFurrow/UICollectionViewExample
ios – UICollection view not redrawing gradient buttons – Stack Overflow
iOS Programming Tutorial: Create Grid Layout Using UICollectionView

UITableView

iPhone SDK: Working with the UITableView Class – Part 2
media.pragprog.com/titles/cdirec/table.pdf
iPhone Coding Snippet: Live Character Counter, Word filter, and 1337 Translator For A UITextField | iPhone Programming Tutorials
Tutorial: How To Create An iOS 6 UICollectionView Using Storyboards
UICollectionView Example
AshFurrow/UICollectionView-NSFetchedResultsController
Table View Programming Guide for iOS: A Closer Look at Table View Cells
TableView scroll is choppy – MacRumors Forums
iphone – Reduce Choppy Scrolling in Objective-C – Stack Overflow
xcode ios cache image uitableview – Google Search
TableViewSuite
iphone – How to navigate through textfields (Next / Done Buttons) – Stack Overflow
UITableView Class Reference
Setting style of UITableViewCell when using iOS 6 UITableView dequeueReusableCellWithIdentifier:forIndexPath: – Stack Overflow
Glassy Scrolling with UITableView
objective c – iPhone keyboard toolbar class – Stack Overflow
xcode – Get UITableView to scroll to the selected UITextField and Avoid Being Hidden by Keyboard – Stack Overflow
Enhance iOS App To Load Data from Property List | iOS Programming

WOW ME Stuff

Custom Controls for iOS – Cocoa Controls
SlidingTabs for iOS – Cocoa Controls
JLNotebookView for iOS – Cocoa Controls
Center Button in Tab Bar for iOS – Cocoa Controls
MultiContactsSelector for iOS – Cocoa Controls
Stats for iOS – Cocoa Controls
SDWellSegmentedControl for iOS – Cocoa Controls
JDDroppableView for iOS – Cocoa Controls
SPGooglePlacesAutocomplete for iOS – Cocoa Controls
TMQuiltView for iOS – Cocoa Controls
MJPopupViewController for iOS – Cocoa Controls
SHSidebarController for iOS – Cocoa Controls
PagedFlowView for iOS – Cocoa Controls
NLFetchedResultsTable for iOS – Cocoa Controls
TweetBot like UIAlertView and UIActionSheet replacement for iOS – Cocoa Controls
PickerTableViewCell for iOS – Cocoa Controls
ILGeoNamesSearchController for iOS – Cocoa Controls
ToolDrawer for iOS – Cocoa Controls
KNPathTableViewController for iOS – Cocoa Controls
CRMultiRowSelect for iOS – Cocoa Controls
EZToastView for iOS – Cocoa Controls
ALTabsView for iOS – Cocoa Controls
GCPagedScrollView for iOS – Cocoa Controls
TISwipeableTableView for iOS – Cocoa Controls
GCRetractableSectionController for iOS – Cocoa Controls
GCDiscreetNotificationView for iOS – Cocoa Controls
TITokenField for iOS – Cocoa Controls
PSMTabBarControl for Mac OS X – Cocoa Controls
Konami Code Gesture Recognizer for iOS – Cocoa Controls
BButton for iOS – Cocoa Controls
NotiView for iOS – Cocoa Controls
BDDynamicGridViewController for iOS – Cocoa Controls
DVSlideViewController for iOS – Cocoa Controls
SDNestedTable for iOS – Cocoa Controls
MFSideMenu for iOS – Cocoa Controls
GSBookShelf for iOS – Cocoa Controls
US2FormValidator for iOS – Cocoa Controls
EDStarRating for Mac OS X – Cocoa Controls
ZUUIRevealController for iOS – Cocoa Controls
SPGroupedTabView for Mac OS X – Cocoa Controls
GIKAnimatedCallout for iOS – Cocoa Controls
BCCollectionView for Mac OS X – Cocoa Controls
iCarousel for iOS – Cocoa Controls
YISplashScreen for iOS – Cocoa Controls
InfiniteLoopDK/ILGeoNames · GitHub
NiftySearchView for iOS – Cocoa Controls
UIGlossyButton for iOS – Cocoa Controls
FSVerticalTabBarController for iOS – Cocoa Controls
PrettyKit for iOS – Cocoa Controls
RBParallaxTableViewController for iOS – Cocoa Controls
Scratch’n'See for iOS – Cocoa Controls
iOS QR encoder for iOS – Cocoa Controls
RDActionSheet for iOS – Cocoa Controls
JTGestureBasedTableViewDemo for iOS – Cocoa Controls
BSKeyboardControls for iOS – Cocoa Controls
MDSpreadView for iOS – Cocoa Controls
IIViewDeckController for iOS – Cocoa Controls
JBAsyncImageView for iOS – Cocoa Controls
MHTabBarController for iOS – Cocoa Controls
LARSAdController for iOS – Cocoa Controls
HMGLTransitions for iOS – Cocoa Controls
Core Animation Demos for iOS – Cocoa Controls
Imageless Gradient Buttons for iOS – Cocoa Controls
Custom Controls for iOS – Cocoa Controls
QR Code Encoder for iOS – Cocoa Controls
Search Results for search: 11 controls found – Cocoa Controls
Sensible Cocoa – iOS UITableView Development Frameworks & Tools
Custom UITableViewCell Using Interface Builder | iPhone Programming Tutorials
sobri909/MGBox2 · GitHub
CocoaObjects
Sensible TableView « CocoaObjects
Open Source iOS Component Providing File Downloading From Many Different Services
QuickDialog – ESCOZ Inc
CocoaPods/CocoaPods · GitHub
Downloads · pandamonia/BlocksKit · GitHub
Open Source: Easy UITableView Replacement Library Great For Forms/Config Screens
Downloads · escoz/QuickDialog · GitHub
3DAR – Add augmented reality to your app in 5 minutes
samvermette/SVHTTPRequest · GitHub
How To Make Your iPhone App Launch Faster « Three Letter Acronym
How to Create a Talking Tom style App | Tutorial | Objective-C | CocoaTouch | Xcode | iPhone | ChupaMobile
Tutorial | Make a SQLite Mobile Database App for iPhone | iOS | iPad
Search for Product | Tutorial | Objective-C | CocoaTouch | Xcode | iPhone | ChupaMobile
Chupa Mobile – Tutorial
Home – ESCOZ Inc
migueldeicaza/MonoTouch.Dialog · GitHub
The state of iOS Open Source – and what to do about it! – Jayway
GeoNames webservice and data download
ios – How to access the UITableViewCell of a QuickDialog cell element? – Stack Overflow
September « 2012 « Pulse News Engineering Blog
FlorianMielke/FMMoveTableView
iphone – how to begin moving cell with long press gesture? – Stack Overflow
New Features introduced in UITableView in iOS 5.0 for iPhone/iPad
Detecting long press in a UITableview cell XCODE | Schogini
gmoledina/GMGridView
xcode ios long press gesture uitableview cell – Google Search
How to Scroll to a Specific Row in a UITableView « Miscellanea
iphone – Just two rounded corners? – Stack Overflow
cocoa touch – How To draw a rounded corner to once side (one corner) of my uiview – Stack Overflow
iphone – How to draw a rounded rectangle in Core Graphics / Quartz 2D? – Stack Overflow
ios – UiView with top left and right rounded corners and border – Stack Overflow
Speeding up table view cell loading with UINib – Use Your Loaf
Search – Highways Tech
iOS 5 : Customize UINavigationBar and UIBarButtonItem with the Appearance API | iOS Development Tips & Tricks by BiOM
Custom UINavigationBar: Two Techniques
PHP Headers Examples – 301,302, Redirects, 404, Javascript, Download, Authentication dialog Headers
ios – CoreData Import and Upgrade Strategies – Stack Overflow
Introduction to In-App Purchases in iOS 6 Tutorial
nicklockwood/FXImageView
mtigas/iOS-MapLayerDemo
iphone – Opening native google maps in Xcode – Stack Overflow
Google Maps Terms of Service – Google Maps API — Google Developers
xcode ios google maps vs google places – Google Search
xcode – How to automatically find nearby locations using my location? – Stack Overflow
Supported Place Types – Google Places API (Experimental) — Google Developers
gabriel/yajl-objc
Location Awareness Programming Guide: Making Your App Location-Aware
EAN, UPC, ISBN, GTIN data, barcodes, lookups
Mac Developer Library
Introduction to MapKit in iOS 6 Tutorial
How to Add Search Into a Table View
stefanoa/SASlideMenu
iOS Fonts
Expandable UITableView – wannabegeek
cdn5.raywenderlich.com/downloads/RW-Objective-C-Cheatsheet-v1_2.pdf

Arrays, Dictionaries, NSArray, NSDictionary, etc.

Searching arrays with NSPredicate and blocks – Use Your Loaf

iOS 6-Specific Functionality

xcode4.4 – What are the details of “Objective-C Literals” mentioned in the Xcode 4.4 release notes? – Stack Overflow
NSMutableAttributedString Class Reference
mikeash.com
mikeash.com: Friday Q&A 2012-06-22: Objective-C Literals

Gesture Recognition

Gesture Recognition on iOS with Attention to Detail | iOS Development Tips & Tricks by BiOM

Beta Tester Links

Distribute Ad Hoc Applications Over the Air (OTA)
Provisioning Profiles – iOS Provisioning Portal – Apple Developer
Scheme Editing Help: Archiving Your Application
Loading…
MacTech | The journal of Apple technology.
Ad-Hoc App Distribution with XCode 4 « Diary of a Code Monkey

Safeguarding and Transferring Your Signing and Provisioning Assets

Tools Workflow Guide for iOS: Configuring Development and Distribution Assets
Devices Organizer Help: Exporting Your Code Signing Assets to Your File System
Devices Organizer Help: Importing Your Code Signing Assets from Your File System 

BarCode Readers

ZBar SDK iOS (GitHub)

markdarling/ZBar-SDK-iOS · GitHub
ZBar bar code reader – iPhone
echoz/ZBarSDK.Framework · GitHub
ZBar bar code reader
echoz (Jeremy Foo)
ZBar iPhone SDK — ZBar iPhone SDK Documentation
Zbar library for iphone 5 (armv7s) « FedericoCappelli.net
objective c – Zbar SDK is not working in iOS6 – Stack Overflow
ios6 – Apple Mach-O Linker Error ZBarSDK error when building for distribution – Stack Overflow
Scanning a Bar Code with ZBarSDK | jaysonlane
SourceForge: zbar/zbar: Summary
ios6 – Apple Mach-O Linker Error ZBarSDK error when building for distribution – Stack Overflow
zbar ios6 arm7s – Google Search
iPhone/iPad Application Development: QR Code reader/scanner for iphone app in objective c (source code) using ZBarSDK

BAD ASS TOOLS

echoz/PrettyKit · GitHub
echoz/FormatterKit · GitHub
echoz/UIImage-Additions · GitHub
echoz/AFNetworking · GitHub
Text To Speech Conversion using Espeak Engine for Iphone Application Development | Crunch Modo
HeshamMegid/HMSegmentedControl · GitHub
iPhone and iPad development | Scoop.it
100 Tools to Develop the Next Killer iOS or Android App | DailyTekk
ocrickard/OCCalendar · GitHub
We Love Horror
Introducing the CloudFlare Cache Purge Feature – CloudFlare blog
how send email using gmail’s smtp server with PHP scriptime 

Misc

Core Data Basics Part 2 – Core Data Views Tim Roadley
#ffffff hex color (#fff)
>>> GREAT DEBUGGING TIP!! <<<< iphone – Crash when using gesture recognizers in StoryBoard – Stack Overflow
Custom Controls for iOS – Cocoa Controls
Search Results for uitableviewcontroller: 7 controls found – Cocoa Controls
2.6. Licensing the Library — ZBar iPhone SDK Documentation
2011 December | iOS Development Tips & Tricks by BiOM
Adventures into iOS: the App Academy Experience
Adventures into iOS: the App Academy Experience • Day 48 – Top Methods, Materials, and Resources to Learn Ruby, Ruby on Rails, and Objective C quickly
andreyvit/SoloComponents-iOS · GitHub
App Store gets an organizational boost in iOS 6 | Ars Technica
Beginner iPhone SDK Hello World Tutorial [Example & Code] | iPhone Tutorial for Beginner | Programmer | Developer | Tips
BOOK >>> Core Data for IOS: Developing Data-Driven Applications for the IPad, IPhone … – Tim Isted, Tom Harrington – Google Books
briancoyner (Brian Coyner)
briancoyner/Embracing-OCUnit · GitHub
CGContext Reference
Cocoa Interviews Questions and Answers: Cocoa Objective-C Interview Questions-Answers
Cocoa Is My Girlfriend | Taglines are for Windows programmers
Complete List of UITableView UITableViewCell Tutorials + Video Tutorials | iPhone Tutorial for Beginner | Programmer | Developer | Tips
Core Data Programming Guide: Relationships and Fetched Properties
Creating a Splash Screen Tutorial for iPhone | iPhone Tutorial for Beginner | Programmer | Developer | Tips
Creating custom iOS UIButtons
Creating Gesture Recognizers with Interface Builder – Use Your Loaf
Creating Static Libraries For iOS | iPhone Programming Tutorials
Development | Long Weekend – iPhone & iPad Apps You’ll Love!
Disable scrolling on a UITableView? Possible?? – iPhone Dev SDK
Downloads (2011-2012 Fall) | CS 193P iPhone Application Development
enormego/cocoa-helpers · GitHub
Error launching remote program: security policy error. | iPhone Tutorial for Beginner | Programmer | Developer | Distribution
Getting Started with iPhone Development | iPhone Tutorial for Beginner | Programmer | Developer | Tips
Git
Git Host
github – git tag delete and re-add – Stack Overflow
Grocery List Bliss- Free Shopping List for iPhone, iPod touch, and iPad on the iTunes App Store
How to safely send @optional protocol messages that might not be implemented | Cocoa Mental
IB Warnings – iPhone Dev SDK
interface builder – iPhone UITextView scrollable but not editable – Stack Overflow
ios – How to create a new “templates” category on Xcode 4 and use my own file templates there? – Stack Overflow
ios – UIScrollview limit swipe area – Stack Overflow
ios – UIView bottom border? – Stack Overflow
iOS and Cocoa goodies | Scoop.it
iOS and Cocoa goodies | Scoop.it
iOS Basics: How to Load a UIView Without a Navigation Controller | Fuel Your Coding
iOS Boilerplate – A base template for iOS apps
iOS Coding Best Practices
iOS dev | Scoop.it
iOS Developer Library
iOS Development for IT Pros – About Objects
iOS Icon Reference Chart | The Icon Handbook
iOS Open Source : Animate UILabel Properties
iOS Open Source : Popup Bubbles / Tips
iOS Programming: UIButton with a border
iOS SDK: Game Center Achievements and Leaderboards – Part 1
ios xcode create category class – Google Search
iphone – Easy way to dismiss keyboard? – Stack Overflow
iphone – How can I make deleteRowsAtIndexPaths: work with GenericTableViewController? – Stack Overflow
iphone – How can keep track of the index path of a button in a tableview cell? – Stack Overflow
iphone – How to dismiss keyboard for UITextView with return key? – Stack Overflow
iphone – Is there a barcode recognition framework for iOS? – Stack Overflow
iphone – Keyboard Scroll on Active Text Field – Scrolling to Out of View? – Stack Overflow
iphone – Open source iOS components? Reusable views, controllers, buttons, table cells, etc? – Stack Overflow
iphone – Setting direction for UISwipeGestureRecognizer – Stack Overflow
iPhone Debugging Tip | iPhone Tutorial for Beginner | Programmer | Developer | iPhone
iPhone Dev SDK – iOS Developer Forums
iphone mklocation – Google Search
iPhone Programming Tips: Dialing number, opening Email & SMS applications | iPhone Tutorial for Beginner | Programmer | Developer | Cydia
iPhone Programming Tutorial – {Part 1} UITableView using NSArray | iPhone Tutorial for Beginner | Programmer | Developer | Tutorial
iPhone Programming Tutorial {Part 7}: Adding Pictures into your table using Interface builder | iPhone Tutorial for Beginner | Programmer | Developer | Tips
iPhone Programming Tutorial: Part 6: Creating custom UITableViewCell Using Interface Builder [UITableView] | iPhone Tutorial for Beginner | Programmer | Developer | Tutorial
iPhone SDK Tutorial – {Part 4} Tips for UITableView Design [Add Header, Footer, Background Images & change Design] | iPhone Tutorial for Beginner | Programmer | Developer | Tips
iPhone SDK Tutorial – {Part 5}: Add, Delete & Reorder UITableView Rows | iPhone Tutorial for Beginner | Programmer | Developer | Cydia
iPhone SDK Tutorial + Video Tutorial – {Part 2} Navigation in UITableView | iPhone Tutorial for Beginner | Programmer | Developer | Tutorial
iPhone SDK Tutorial + Video Tutorial – {Part 3} Grouped UITableView | iPhone Tutorial for Beginner | Programmer | Developer | Tutorial
iPhone Source Code Developer Library
iPhone Tutorial | iPhone Tutorial for Beginners | Latest iPhone Tutorials | iPhone Video Tutorials | iPhone Programming Tutorial | Free iPhone Tutorials
iPhone Tutorial for Retrieving Contact information from AddressBook | iPhone Tutorial for Beginner | Programmer | Developer | AddressBook
Iphone UITableView custom cell button event – Stack Overflow
Kamleshwar: iOS/ xCode /Objective-C Trim whitespace from string
List/Guideline for Building Ad Hoc Application for iPhone | ad hoc iphone app distribution guide | Tutorial for ad hoc distribution | iPhone Tutorial for Beginner | Programmer | Developer | Distribution
malcommac/DMCircularScrollView · GitHub
mikeash.com: Friday Q&A 2012-03-02: Key-Value Observing Done Right: Take 2
Mobiletuts+ | iPhone, Android, Windows and BlackBerry mobile development tutorials.
objective c – How to solve IOS exception after creating tableview? – Stack Overflow
objective c – IOS: change UIImageView with tag value – Stack Overflow
objective c – Issues using UITapGestureRecognizers in Interface Builder – Stack Overflow
Overview – iOS Provisioning Portal – Apple Developer
Printing Boolean values with NSLog function
Programming Log: 5/1/12 – 6/1/12
Programming with Objective-C: Working with Protocols
Sunetos, Inc. :: How To Use Custom Classes With Core Data Without Fear
Table View Programming Guide for iOS: Inserting and Deleting Rows and Sections
Table View Programming Guide for iOS: Inserting and Deleting Rows and Sections
Technical Note TN2250: Technical Note TN2250
The Objective-C Programming Language: Categories and Extensions
Tools Workflow Guide for iOS: Using iOS Simulator
Tutorial: Creating Class Categories in Objective C
Tutorial/Tips (Sorting & Filtering): Filter NSMutableArray and Sorting NSMutableArray by Ascending or Objects/items or Specified key or Key Value or by NSNumber | iPhone Tutorial for Beginner | Programmer | Developer | Tips
UICatalog
UIResponder Class Reference
UIScrollView Class Reference
uitableview – iOS – How to put a checkmark on a selected row in a UITableViewCell – Stack Overflow
UITableView Class Reference
UITableView Class Reference
uitableview prevent scroll while swiping – Google Search
West St. Louis CocoaHeads, March 22, 2012 – Brian M. Coyner
WJBC-AM/FM
xcode – iOS: swipe gesture inside a subview – Stack Overflow
xcode – IPhone Application Scroll to given position in UITableView when page loaded – Stack Overflow
xcode core data best practice – Google Search
xcode ios navigation bar edit setediting:animated – Google Search
xcode ios self.editing when clicking row – Google Search
xcode ios swipe drag disable – Google Search
xcode Removing Some Subviews from view – Stack Overflow
Xcode Tips – Get Xcode Tutorials, iPhone Development Tips, Objective-C Coding and more…: Technology Blog
ZBar bar code reader | Free Audio & Video software downloads at SourceForge.net
ios – Properly use Objective C++ – Stack Overflow
Task with nested string
Lecture 25: String Matching
Objective-C Math functions

WordPress 404 Error on All Pages – Solution for Those with Custom 404 Handlers and/or No .htaccess

WordPress, for all of the “Good” things it allows for, is a royal pain in the ASS when it comes to “Pretty URL” and how its built-in 404 hanlder works.

If you’re at this page, you will no doubt have one of the following issues:

  • You have a custom 404 Handler that is not playing nice with WordPress
  • You are using nginX and don’t have a .htaccess file
  • You don’t have access to a .htaccess file, aren’t allowed to use one, or just plain don’t want to use a .htaccess file, or don’t want to alter your web server’s .conf file with rewrite rules….
  • WordPress works fine with urls such as http://www.domain.com/path/to/wordpress/?feed=rss2 but give it a pretty URL like http://www.domain.com/path/to/wordpress/feeds/rss2 and it throws up all over your screen with a 404 Page Not Found
  • You have some other (related) error as above, but it just isn’t listed because the author is growing tired of writing all these ignorant issues that popup when wordpress just doesn’t want to play nice

 

I’m not going to bore you with a rant an article about how/why WordPress has these issues, and blah blah blah.  I understand how PISSED upset one can be with this issue after not finding a single solution on the forums.

This may not be the most perfect or best answer you’ll find, but, hey, it worked for me so w/e :)

Note: If you have access to your .htaccess file, skip past this first solution as the 2nd solution is for you

Solution #1 for those with a Custom 404 Error Handler that is NOT related to WordPress
If you have a custom error handler, then you’re in luck: there is a solution for you!

What to do is something like the below.  Note that you could put this code anywhere within your custom error handler.  I just chose to put mine after all the other stuff was already evaluated…

Note: I split this into many vars below just to make it easier to follow…. feel free to reduce it however you deem fit…

[cc escaped="true" lang="php"]
 scripts work...
   */
  chdir($wordpress_path . "/");

  /**
   * Now, this code here with setting the include path was "JUST IN CASE" they decided to try and include
   * a root-level wordpress file from within the wordpress folder's tree.
   *
   * Example:
   * Say there is a script in wp-includes/some_folder/script.php that is doing a include("index.php");
   * This sort of thing will ensure it works...
   */
  // Save the original include path so we can reset it after we're done...
  $original_path = get_include_path();

  // Set the include path for wordpress to find all of its fun stuff at....
  set_include_path($original_path . ":$wordpress_path:$wordpress_path/wp-includes:$wordpress_path/wp-thumbnail");

  // This includes the wordpress index.php file. Ugly isn't it...w/e...
  include('index.php');

  // finally - set the path back to what it was before!
  set_include_path($original_path);
}
?>
[/cc]

Solution #2 for those who have access to a .htaccess file

Go here: http://wordpress.org/support/topic/htaccess-making-all-pages-404

Or Here: http://www.greeneyewire.com/foo/wordpress-404-error-on-all-pages/

Or Here: http://davidwalsh.name/iis-php-server-request_uri

Or Here:  http://www.arvag.net/all-pages-except-homepage-on-my-wordpress-are-giving-404-error-what-to-do/

 

There is also one little thing you *could* try:

Login to WordPress -> On the left hand side, click “Settings” -> Click “Permalinks” -> Choose Default (COPY YOUR CUSTOM STRUCTURE SOMEWHERE FIRST!!!) -> Click Save -> Change it to whatever you wanted it to be -> Click Save

 

Either way, once you do the above, you should now have pretty url’s that work….

Good luck!

Helpful Links Every PHP/Web Developer Should Have

Over the years I’ve collected tons of links that have helped better myself as a developer.  The links below represent what I feel to be a collection every web developer should have as either a starting point or for reference.

Obviously this list will be updated as I get more links that I find valuable.  If you are instead interested in seeing all of my links, they are publicly available on my delicious link feed, which can be found here.

So, as a follow to my previous article, Javascript: Cross-Browser Compatibility Resources, here are the links I find to be the ones I relay most often to various topics.  Enjoy!

 

PHP

  • Amazon AWS HMAC Signed Request Using PHP – “The Amazon® Product Advertising API can be used to access Amazon’s data for advertising purpose. By August 15, 2009, all calls to the API must be signed to authenticate the request. I have written a simple function in PHP that lets you make authenticated requests with only a few lines of code.”
  • 50 Extremely Useful PHP Tools - Smashing Magazine’s list of PHP Tools.  Great list.
  • Internationalization in PHP 5.3 – “PHP 5.3 has been recently released and one of the new features in core is the internationalization extension. It allows you to support a multitude of languages and local formats much easier than before, without having to learn all the tiny the details of local formats and rules.”
  • PHP Manual: Security
  • A New Direction for Web Applications - Great read for getting you caught up with what the rest of the world is starting to do with the web ;)
  • Execution in the Kingdom of Nouns - Not really a PHP-centric post, but a good example of how you can make naming conventions a pitfall in your design.
  • 63+ best Practices to Optimize PHP code performance – Good article on how to optimize PHP
  • Intel’s Parallel Extensions for Javascript - “Intel’s Parallel Extensions for JavaScript, code named River Trail, hooks into on-chip vector extensions to improve performance of Web applications. Details of Intel’s attempt to get on the JavaScript juggernaut emerged last month at its developer event.”
  • PHP Oauth Provider: Authenticate User - “This article uses the pecl_oauth extension and builds on Rasmus’ OAuth Provider post. This post is the third in the series, following on from the ones about the initial requirements and how to how to handle request tokens.”
  • An URL Dispatcher - “This is part two of the Improving my MVC controllers post. I have now implemented an URL dispatcher that dispatches the request to a configurable Controller.”
  • Password Hashing – “In this article I’m going to cover password hashing, a subject which is often poorly understood by newer developers. Recently I’ve been asked to look at several web applications which all had the same security issue – user profiles stored in a database with plain text passwords. Password hashing is a way of encrypting a password before it’s stored so that if your database gets into the wrong hands, the damage is limited. Hashing is nothing new – it’s been in use in Unix system password files since long before my time, and quite probably in other systems long before that. In this article I’ll explain what a hash is, why you want to use them instead of storing real passwords in your applications, and give you some examples of how to implement password hashing in PHP and MySQL.”
  • What’s the best method for sanitizing user input with PHP? – Good suggestions from a StackOverflow question asking how to sanitize user input with PHP.
  • Google Search: php i18n tutorial - Simple yet effective Google search with a list of articles relating to i18n in PHP.
  • Multithreading in PHP – PHP does not support threading.  However, this article explains at least an option of how to delegate and “kind of” achieve a threaded script/app…
  • phpRedis – A PHP extension for Redis.  From the site: “The phpredis extension provides an API for communicating with the Redis key-value store. It is released under the PHP License, version 3.01. This code has been developed and maintained by Owlient from November 2009 to March 2011.”
  • Make a GET request from PHP and not wait for a response - Taken from StackOverflow, this is actually a really simple idea that I hadn’t even considered: using fsock to open and send a request and then immediately closing without waiting for a response.  The solution was solved using a similar approach with curl from PeteSearch.

MySQL

Javascript

Pure Javascript

  • Essential Javascript Design Patterns - By Far, this is the best, most well written document on the net explaining Javascript Design Patterns, when/why they are applied, and understanding the basics of developing classes in pure JS.  MUST READ for anyone wanting to truly start writing JS the right way.
  • Eloquent JavaScript - According to Tim Harewood (Developer at Triton Media), “This is the definitive guide to Javascript.  I’ve never seen a more recommended source on the subject.  The syntax is fantastic.  Everything in there is immaculate.”.  Essentially, this is a e-book introduction to javascript, along with proper coding.  From the author, “Instead of just explaining Javascript, this is also a basic introduction to programming”.
  • Method Overloading - John Resig shows us a simple, yet effective way of doing method overloading in JS.
  • How to Manage Large Applications with jQuery or Whatever - The BEST presentation on proper JS Object creation I’ve ever had the pleasure of reading
  • Namespacing in Javascript - A great tutorial on Namespacing in Javascript
  • Scaling Isomorphic Javascript Code - “This article will explore some of these existing patterns, how both their implementation and concerns vary across languages and environments, and how they are not good enough for a truly isomorphic Javascript codebase.”
  • Create Advanced Web Applications with Object-Oriented Techniques – Great article for understanding OOP in JS.
  • Function.apply and Function.call in Javascript - Great article explaining the differences (and uses) of the call() and apply() methods in Javascript.
  • Rotating Images - StackOverflow question on rotating images with Javascript

nodeJS

jQuery

CSS

Caches & Key/Value Stores

Redis

Web Server-Related

nginX

  • nginX Configuration Gotchas - Talks about handling 404 empty results for REST Requests due to configuration issues
  • monit - I use monit with nodeJS to ensure my services are running.  Its a really strong monitoring application that basically daemonizes all of your processes.  From Their Website:  ”Monit is a free open source utility for managing and monitoring, processes, programs, files, directories and filesystems on a UNIX system. Monit conducts automatic maintenance and repair and can execute meaningful causal actions in error situations.”

Apache

Misc