//
//  ReactiveCocoa+Additions.swift
//  MantleData
//
//  Created by Anders on 24/4/2016.
//  Copyright © 2016 Anders. All rights reserved.
//

import ReactiveCocoa

extension Observer {
	public func sendCompleted(with finalValue: Value) {
		sendNext(finalValue)
		sendCompleted()
	}
}
//
//  ReactiveCocoa+Additions.swift
//  MantleData
//
//  Created by Anders on 24/4/2016.
//  Copyright © 2016 Anders. All rights reserved.
//

import ReactiveCocoa

extension PropertyType {
	public func map<T>(transform: Value -> T) -> AnyProperty<T> {
		return AnyProperty<T>(initialValue: transform(value),
		                   producer: producer.map(transform))
	}
}

extension Observer {
	public func sendCompleted(with finalValue: Value) {
		sendNext(finalValue)
		sendCompleted()
	}
}
--- 
+++ 
@@ -8,13 +8,6 @@
 
 import ReactiveCocoa
 
-extension PropertyType {
-	public func map<T>(transform: Value -> T) -> AnyProperty<T> {
-		return AnyProperty<T>(initialValue: transform(value),
-		                   producer: producer.map(transform))
-	}
-}
-
 extension Observer {
 	public func sendCompleted(with finalValue: Value) {
 		sendNext(finalValue)
Remove `map(_:)` which has been implemented in RAC.
