Post

Replies

Boosts

Views

Activity

Problem with drawing image with CGContext on iOS 14
When I drag picture in my customed view, the picture starts jittering. The larger the zoom scale, the more the jitter. I override draw function in UIView, then I use the CGContext to draw an CGImage in a CGRect. Very simple. ctx.draw(img, in: drawRect) The drawRect updates everytime I drag or pinch the screen, so the image can move with finger. Everything works well on iOS 13 and even iOS 14 beta. Can anyone tell me what the problem is?
2
0
910
Sep ’20
[XCode 16] Project won't run on XCode 16, libswiftCoreGraphics not found
dyld[766]: Library not loaded: @rpath/lib/libswiftCoreGraphics.dylib Referenced from: /private/var/containers/Bundle/Application/94ECCB38-EB17-4A37-8D38-5D50018D135C/Coloring Book.app/Coloring Book Reason: tried: '/usr/lib/system/introspection/libswiftCoreGraphics.dylib' (no such file, not in dyld cache), '/usr/lib/swift/lib/libswiftCoreGraphics.dylib' (no such file, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/lib/libswiftCoreGraphics.dylib' (no such file), '/private/var/containers/Bundle/Application/94ECCB38-EB17-4A37-8D38-5D50018D135C/Coloring Book.app/Frameworks/lib/libswiftCoreGraphics.dylib' (no such file), '/private/var/containers/Bundle/Application/94ECCB38-EB17-4A37-8D38-5D50018D135C/Coloring Book.app/Frameworks/lib/libswiftCoreGraphics.dylib' (no such file), '/usr/lib/swift/lib/libswiftCoreGraphics.dylib' (no such file, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/lib/libswiftCoreGraphics.dylib' (no such file), '/private/var/containers/Bundle/Application/94ECCB38-EB17-4A37-8D38-5D50018D135C/Coloring Book.app/Frameworks/lib/libswiftCoreGraphics.dylib' (no such file), '/private/var/containers/Bundle/Application/94ECCB38-EB17-4A37-8D38-5D50018D135C/Coloring Book.app/Frameworks/lib/libswiftCoreGraphics.dylib' (no such file)
13
10
3.9k
Jun ’24
[iPadOS 18] Make Tabbar back to previous version
It is weird putting the tabbar on top. Apple should give us a way to put the Tabbar back to bottom, just like the old version. Otherwise, I will write a custom view to bring the old feature back. Every year, WWDC brings additional workload to developers. I HATE WWDC
3
0
919
Jun ’24