diff --git a/src/SFML/Window/iOS/ClipboardImpl.mm b/src/SFML/Window/iOS/ClipboardImpl.mm index 74ace07c..473e17af 100644 --- a/src/SFML/Window/iOS/ClipboardImpl.mm +++ b/src/SFML/Window/iOS/ClipboardImpl.mm @@ -27,7 +27,7 @@ //////////////////////////////////////////////////////////// #include -@import UIKit +#import namespace sf { @@ -40,7 +40,7 @@ String ClipboardImpl::getString() UIPasteboard* pboard = [UIPasteboard generalPasteboard]; if (pboard.hasStrings) { - NSString* data = pboard.string + NSString* data = pboard.string; char const* utf8 = [data cStringUsingEncoding:NSUTF8StringEncoding]; NSUInteger length = [data lengthOfBytesUsingEncoding:NSUTF8StringEncoding];