As Apple's brand-new language, Swift has been in existence for more than a year now, but its development is not satisfactory today, but why?
This is a mobile internet surging era, the application of millions of users abound, but most of the development of step by step, several years of development so that the application of large maintenance, complex modules, coupled with this industry personnel flow, want to use swift re-construction needs to consume a huge cost, So the change is not achievable. And someone has to say that Swift is to support the mixed, can be the new development of the function with Swift, but after the combination of code legibility, maintainability will become worse, and many people to maintain the division of labor difficulties, even if the final consideration can only be dropped.
Furthermore, when it comes to wheel problems, no app development is open to third-party libraries, less than two or three, and more than more than 10, involving positioning, network, push, statistics and so on. However, none of these third-party libraries have been developed or reconstructed by Swift so far, and it is not surprising that the developers of such a new product initially chose Objective-c.
But aside from the above question, the most critical issue is the swift itself, is swift really as simple and flexible as Apple says? A mature application, code tens of thousands of lines, and this tens of thousands of code is not complex in the language, but complex in the class library, the same definition of a button, using Swift to write with the use of Objective-c writing code line number of equivalent, and did not reduce the amount of development, no application is not dependent on class library, class library is not easy, Swift's simplicity is not a reflection.
Have heard that as long as Xcode also support objective-c,swift will not rise, the individual to feel not so pessimistic.
Still looking forward to Swift's future development ...
Caprice-Can swift replace objective-c in the future?