This is OSX app.
I have used for long NSParagraphStyle.LineBreakMode. Here, to specify a parameter with a default value in a finc call
truncating: NSParagraphStyle.LineBreakMode = .byWordWrapping
That worked without problem.
In a new project, I tried to reuse the same function.
But I now get an error:
'LineBreakMode' has been renamed to 'NSLineBreakMode'
Which is surprising, I thought the trend was to get rid of NS…
So I accept the proposal, but now the error is:
'NSLineBreakMode' is not a member type of 'NSParagraphStyle'
Cannot find any explanation in doc.