Master-Detail
Master-Detail
- Subject: Master-Detail
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Thu, 10 Jul 2014 18:37:49 +0700
Xcode 6 beta 3 just created an app skeleton iOS Master-Detail using Swift for me.
class MasterViewController: UITableViewController
{
var objects = NSMutableArray()
override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {...}
}
Why NSMutableArray? Is there any compelling reason for not using a Swift array?
Why override?
prepareForSegue is part of NSSeguePerforming protocol, but UITableViewController does not conform to this protocol.
Gerriet.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden