Closed f15radar closed 6 years ago
What’s Swift version that you use ?
Sorry....3.2, I guess I need to update to 4 or do you have a 3 version?
I think you can use version 3 from the previous release.
Nutchaphon Rewik
From: f15radar notifications@github.com Sent: Tuesday, January 30, 2018 9:56:44 PM To: nRewik/SimplePDF Cc: Nutchaphon Rewik; Comment Subject: Re: [nRewik/SimplePDF] Issue with compile errors (#23)
Sorry....3.2, I guess I need to update to 4 or do you have a 3 version?
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/nRewik/SimplePDF/issues/23#issuecomment-361618274, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AGRrYRgkvIC8eZfJ-vxnkhSG855bOb4Lks5tPy2rgaJpZM4RxuO7.
Now I am getting pdf does not have a member writeToFile. I am using v2.0.0
I got it to compile.....I used
try? pdfData.write(to: path, options: .atomic )
when I use try? pdfData.write(to: path, options: .atomic) it gives me a URL error. Any easy ways to get around that?
I added this to my project, but I m getting compile errors in SimplePDF.swift => drawtext
Type 'NSString' has no member 'font'
Type 'NSString' has no member 'foregroundColor'
Any clues?