//
//  XMLFeedTransformable.swift
//  SimpleRSSReader
//
//  Created by Kyosuke Takayama on 2016/03/07.
//  Copyright © 2016年 aill inc. All rights reserved.
//

import Foundation

protocol XMLFeedTransformable {
    associatedtype TransformType = Self

    static func mapping(feedInfo: XMLFeedInfo, feedItems: [ XMLFeedItem ]) -> TransformType
}

//
//  XMLFeedTransformable.swift
//  SimpleRSSReader
//
//  Created by Kyosuke Takayama on 2016/03/07.
//  Copyright © 2016年 aill inc. All rights reserved.
//

import Foundation

protocol XMLFeedTransformable {
    typealias TransformType = Self

    static func mapping(feedInfo: XMLFeedInfo, feedItems: [ XMLFeedItem ]) -> TransformType
}

--- 
+++ 
@@ -9,7 +9,7 @@
 import Foundation
 
 protocol XMLFeedTransformable {
-    typealias TransformType = Self
+    associatedtype TransformType = Self
 
     static func mapping(feedInfo: XMLFeedInfo, feedItems: [ XMLFeedItem ]) -> TransformType
 }
Fix warning: `use of 'typealias' to declare associated types is deprecated; use 'associatedtype' instead`
