SSA111 / SwiftImageToPDFConverter

Convert an image into a PDF file
20 stars 5 forks source link

Declaration is only valid at file scope #2

Closed mikeiosdeveloper closed 8 years ago

mikeiosdeveloper commented 8 years ago

Hi There,

I copied the codes into my project. At the line of extension NSData { , it shows error " Declaration is only valid at file scope". Do you have any idea how to fix it?

Thanks,

Mike

mikeiosdeveloper commented 8 years ago

I solved this problem.