You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Albany Cocoaheads
Hello Cocoa folks,
Here is the script I was showing you last night. This does two things. It will put any TODO: or FIXME: into the alerts panel on the left of the editor view (command-4) I also automatically increments the build number.
Another thing we discussed was the new pragma syntax for swift. It supports MARK, TODO and FIXME by default but they only show in the method listings of the jump bar. The syntax is MARK: or MARK: - to underline it in the menu.
Here is a tip. Group all your delegate methods with a mark like so
MARK: - UITableViewDelegate.
If the protocol name is correct it will both appear in your menu and give you a target in the editor to option or command click to show the documentation or take you right to the definition of the protocol. Try it and it will make more sense.
I can’t take credit for these as I got them from some google searches.
If you want to add them. Select your target then the build phases tab. In the upper left of the build phases page click the + and select 'new run script phase’ This will insert a new empty run script component into your build process. Cut and paste the script below and you should be all set.