
집돌이
@_silgen_name
Followers
1K
Following
533
Media
2K
Statuses
3K
RT @stephancasas: Setting 𝚄𝚅𝚂𝚑𝚘𝚠𝙿𝚛𝚎𝚟𝚒𝚎𝚠𝚂𝚝𝚊𝚝𝚞𝚜𝙳𝚎𝚋𝚞𝚐𝚆𝚒𝚗𝚍𝚘𝚠 to 𝚝𝚛𝚞𝚎 in Xcode 26 provides this curious debug panel for SwiftUI previews. https:….
0
7
0
pthread_cond_wait는 mutex를 대기 중에 unlock하고, signal/broadcast를 받으면 다시 lock을 시도한다. 그래서 pthread_cond_wait은 인자로 pthread_cond_t와 pthread_mutex_t를 받는다.
0
0
1
SwiftData에서 Spotlight Option이 작동하지 않는데 이를 가능하게 해봤다. 사용 방법은 말할 수 없지만 암튼 작동한다.
0
0
4
Swift Disassembly의 감이 잡혀간다. 하면서 느낀 점은 Kyle Ye (OpenSwiftUI)는 진짜 천재다. 많이 배우고 있다.
0
0
1
AGGraphCreateOffsetAttribute2에서 자꾸 메모리 접근 에러가 나길래 @_hasStorage 붙이니 해결됐다.
0
0
0
Swift에서 withUnsafePointer(to:_:) (borrowing)는 Stack에 memcpy로 값을 복사한 뒤, Stack Pointer를 전달한다. inout parameter 및 withUnsafePointer(to:_:) (inout)은 그 값의 실제 Pointer를 전달한다.
0
0
0
OpenSwiftUI의 AGGraph.h를 보면 AG_BRIDGED_TYPE, AG_SWIFT_NAME 정의들이 있다. 우선 AGGraphRef에 AG_BRIDGED_TYPE이 왜 필요한건지 적자면.AttributeGraph에는 Graph Extension들이 존재한다. Demangled Symbol은 `(extension in.
github.com
Contribute to OpenSwiftUIProject/DarwinPrivateFrameworks development by creating an account on GitHub.
0
0
5
C Struct에 id type이 있을 경우 __unsafe_unretained를 써야 Swift에서 import 할 수 있다. ARC 때문일거란 예상은 했는데, __bridge_transfer이면 해결될 줄 알았는데 안 되어서 알아보니 __unsafe_unretained을 써야 했다.
1
0
4
Swift에서 AppleArchive (C Framework)를 Link하고 싶으면 `-lAppleArchive` Linker Flag를 설정하면 된다. Extern으로 AppleArchive의 Private API 호출할 때 이렇게 Linker Flag를 설정해야 한다. 참고로 Swift Framework의 경우 `-lswiftAppleArchive`다.
0
0
1
SwiftUI._UIHostingView.surpressGraphUpdateIfNotInHierarchy의 값은 com.studiolanes.ticker이면 다른 값을 갖는다.
1
0
0