Original link: http://www.concentric.net/~Ttwang/tech/inthash.htm
Taken from: http://web.archive.org/web/20071223173210/http://www.concentric.net/~Ttwang/tech/inthash.htm
Reformatted using pandoc
Thomas Wang, Jan 1997
last update Mar 2007
Original link: http://www.concentric.net/~Ttwang/tech/inthash.htm
Taken from: http://web.archive.org/web/20071223173210/http://www.concentric.net/~Ttwang/tech/inthash.htm
Reformatted using pandoc
Thomas Wang, Jan 1997
last update Mar 2007
import UIKit | |
import CoreData | |
import AVFoundation | |
class ViewController: UIViewController, UITableViewDelegate, UITableViewDataSource, VPDAODelegateProtocol, NSFetchedResultsControllerDelegate { | |
@IBOutlet weak var segmentedControl: UISegmentedControl! | |
@IBOutlet weak var tableView: UITableView! | |
lazy var managedObjectContext : NSManagedObjectContext? = { |
Load up Terminal (Applications > Utilities > Terminal.app) and type the following. | |
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist | |
To turn it back on, just do the opposite: | |
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist |
/* | |
typical usage (FYImageStore is a singleton) | |
[[FYImageStore instance] retrieveFullsizeImageFromPath:path | |
completion:^(UIImage* image){ | |
self.imageView.image = image | |
}]; | |
*/ | |
#import "FYImageURL.h" //URL-building utilities, omitted from this Gist. |