You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Swift code then need to look like this (in Cocoa):
letview=(layout.view()as!NSView)
Would it be possible to add type information to the view API? It may also improve Swift readability if the API were declared as a property.
The text was updated successfully, but these errors were encountered:
jverkoey
changed the title
HFRepresenter's view is untyped, making it clunky to use from Swift
HFRepresenter's view is untyped, making it relatively difficult to use from Swift
Aug 4, 2019
The
view
method on HFRepresenter is typed as an id:https://github.com/ridiculousfish/HexFiend/blob/104c9f740ca113628e5d027102bc8d97707724a6/framework/sources/HFRepresenter.h#L45
Swift code then need to look like this (in Cocoa):
Would it be possible to add type information to the view API? It may also improve Swift readability if the API were declared as a property.
The text was updated successfully, but these errors were encountered: