Skip to content
This repository has been archived by the owner on Feb 8, 2023. It is now read-only.

Commit

Permalink
Update for Xcode 7 beta 5
Browse files Browse the repository at this point in the history
  • Loading branch information
tomlokhorst committed Aug 7, 2015
1 parent 8b4fa7f commit ad30c49
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion CoreDataKit/ManagedObjectObserver.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ public enum ObservedAction<T:NSManagedObject> {
}
}

@objc
public class ManagedObjectObserver<T:NSManagedObject>: NSObject {
public typealias Subscriber = ObservedAction<T> -> Void

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public class TableViewFetchedResultsControllerDelegate: NSObject, NSFetchedResul
}

/// Implementation of NSFetchedResultsControllerDelegate
public func controller(controller: NSFetchedResultsController, didChangeObject anObject: NSManagedObject, atIndexPath indexPath: NSIndexPath?, forChangeType type: NSFetchedResultsChangeType, newIndexPath: NSIndexPath?) {
public func controller(controller: NSFetchedResultsController, didChangeObject anObject: AnyObject, atIndexPath indexPath: NSIndexPath?, forChangeType type: NSFetchedResultsChangeType, newIndexPath: NSIndexPath?) {
switch type {
case .Insert:
tableView?.insertRowsAtIndexPaths([newIndexPath!], withRowAnimation: rowAnimation)
Expand Down

0 comments on commit ad30c49

Please sign in to comment.