'why can't I get SDWebImage working with swift?

At build time, it returns an error on this line

typedef void(^SDWebImageNoParamsBlock)(voidvoid);

The error that Xcode gives me is:

A parameter list without types is only allowed in a function definition

project file with error

thanks all :)



Solution 1:[1]

Check line number 98 you are entered two time void

typedef void(^SDWebImageNoParamsBlock)(void);

replace this line

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1