Re: [swift-evolution] [Question] Grand Renaming and Delegate/Datasource protocols !

2016-06-27 Thread Brent Royal-Gordon via swift-evolution
> I can't find anything about Cocoa Delegate/Datasource protocol "Grand > Renaming" for Swift 3 > Is something planned about this ? > > Because I find that actual names don't fit with Swift 3 API guidelines. > > For instance : > > func numberOfSectionsInTableView(_ tableView: UITableView) -> I

Re: [swift-evolution] [Question] Grand Renaming and Delegate/Datasource protocols !

2016-06-27 Thread Sean Heber via swift-evolution
Yeah, I like that they have a common prefix, but I sort of don’t like how that all looks, either. What if they were grouped first by the fact that they are delegates? func dataSource(tableview: UITableView, numberOfRowsInSection section: Int) -> Int func delegate(tableview: UITableView, heightF

Re: [swift-evolution] [Question] Grand Renaming and Delegate/Datasource protocols !

2016-06-27 Thread Dennis Lysenko via swift-evolution
FWIW, I rely on typing `tableView` and looking at the autocompletions to find delegate methods. Not that that makes this a bad idea, and I'm not sure how many other developers do that (although I imagine quite a few do). Just food for thought. On Mon, Jun 27, 2016 at 11:44 AM Saagar Jha via swift

Re: [swift-evolution] [Question] Grand Renaming and Delegate/Datasource protocols !

2016-06-27 Thread Saagar Jha via swift-evolution
I believe that renaming of Apple’s frameworks is not in the scope of swift-evolution; I think you’re supposed to file a radar. On Mon, Jun 27, 2016 at 9:54 AM Jerome ALVES via swift-evolution < swift-evolution@swift.org> wrote: > Hi everyone, > > I can't find anything about Cocoa Delegate/Datasou

[swift-evolution] [Question] Grand Renaming and Delegate/Datasource protocols !

2016-06-27 Thread Jerome ALVES via swift-evolution
Hi everyone, I can't find anything about Cocoa Delegate/Datasource protocol "Grand Renaming" for Swift 3 Is something planned about this ? Because I find that actual names don't fit with Swift 3 API guidelines. For instance : func numberOfSectionsInTableView(_ tableView: UITableView) -> Int f