Open jessesquires opened 7 years ago
Should be doable, tho Buck still has some issues with mix-matched libs. I think its all fixed with Xcode 9 tho now that static libs work.
At the very least we could include this in he public project but just exclude it with Buck. Been thinking about this a lot, have some ideas.
Proposal
CocoaTouch frameworks can include both Swift and ObjC. IGListKit should expose better Swift interfaces by including some Swift wrapper APIs.
For example, we could:
SectionController
in Swift by wrappingIGListBindingSectionController
, since ObjC lightweight generics aren't really useful in Swift.IGListDiff
functions and provide defaults for the optionsBefore, this was blocked by IG internal, but I think this is resolved now? IG internal could re-map the framework to BUCK to exclude the
.swift
files (in fact, this should already work by default since the BUCK file should only be including.h
,.m
,.mm
, etc.). Thus, only the OSS version would include Swift.cc @rnystrom can IG/FB internal handle Swift scale now? 😄