nicklockwood / iRate

[DEPRECATED]
http://charcoaldesign.co.uk/source/cocoa#irate
Other
4.1k stars 734 forks source link

iRate and Swift 3.1 project #282

Closed siberianisaev closed 7 years ago

siberianisaev commented 7 years ago

Method 'initialize()' defines Objective-C class method 'initialize', which is not guaranteed to be invoked by Swift and will be disallowed in future versions https://github.com/nicklockwood/iRate/blob/master/README.md#installation

ptsimpso commented 7 years ago

I'm also wondering about the solution for this. This seems to be a possible option: http://stackoverflow.com/questions/24137212/initialize-class-method-for-classes-in-swift

But I'd love to hear from those more familiar with the project for a final implementation.

siberianisaev commented 7 years ago

Yeah think can be override init method of app delegate сс @nicklockwood

mknippen commented 7 years ago

I'm not sure this one should be closed yet. Since 3.1 now generates a warning for every user using iRate, we should probably come up with the solution that makes the most sense and update the documentation.

nicklockwood commented 7 years ago

Fixed in 1.12