Swift高级进阶

文章40 |   阅读 13440 |   点赞0

来源:https://blog.csdn.net/forever_wj/category_6167373.html

Swift之从SIL深入分析函数的派发机制

x33g5p2x  于2022-03-08 转载在 其他  
字(0.1k)|赞(0)|评价(0)|浏览(303)
一、引言
  • 现有如下代码,输出什么结果?
protocol Drawing {
   
	  func render()
	}
	
	extension Drawing {
   
	  func circle() {
    print("protocol") }
	  func render() {
    <

相关文章