>Often better libraries and tools can only be built on a better language.
Precisely. For example, a lot of Cocoa these days relies on dictionaries and/or stringly-typed identifiers: KVC, KVO, Bindings, Archiving, CoreImage attributes, CoreData's interface to the database etc, etc. Autolayout also uses a separate string-based language.
There are a lot of problems with this approach, not the least of which are performance, code bloat and lack of any kind of compile-time checking.
Polymorphic Identifiers[1] in Objective-Smalltalk[2] are an attempt at addressing these issues (and others). The paper shows why you actually need a small amount of language support to successfully build libraries that address these issues.
I wish I could complain about how Swift's approach to these issues is so much inferior to mine (grin), but there just isn't anything at all. If anything, support for solving these sorts of problems is thinner than in Objective-C. Yikes!
Another issue is the large-scale structure of applications...their architecture: target/action, delegates, bindings (again), notifications, view-controller segues etc. are all architectural connectors, and a large part of what makes Cocoa so powerful. However, these types of connections (-> configurations) can only be described in ad-hoc ways in code, or in a different ad-hoc way in IB. Various inspectors of a GUI builder are not really the proper place to describe the overall architecture of your program.
There have been many systems/languages for describing such high-level architectures, for example ArchJava or ACME. In Swift? Crickets.
When direct language support for a feature is not present, dynamic messaging has been a great way of making library features available as if they were built-in language features. Swift makes this harder or downright impossible.
> Swift wasn't designed to make better libraries and tools possible
Yep. In fact, it's arguably a step back even compared to Objective-C. Which is sad.
> but rather to work well with the ones we already have.
Except that it doesn't really work all that well with existing ones either. Objective-C interop seems to clearly be marked "legacy", with the default apparently non-interoperability.
[1] https://www.hpi.uni-potsdam.de/hirschfeld/publications/media...
[2] http://objective.st/