[swift-evolution] swift-evolution Digest, Vol 1, Issue 237

Akiva Leffert aleffert at gmail.com
Sat Dec 26 13:25:58 CST 2015


I started off a thread about this a while back: https://lists.swift.org/pipermail/swift-evolution/Week-of-Mon-20151207/001455.html <https://lists.swift.org/pipermail/swift-evolution/Week-of-Mon-20151207/001455.html>

Based on the feedback I got, it seemed like the design for a serious custom annotation system should wait until work starts on a macro system so that they can be designed to complement each other. IMO, neither the java nor python versions feel right for swift and we can do a lot better than just copying them so it’s worth spending the time to get it right.

Additionally, the property behaviors proposal currently on the table would cover some of the use cases for annotations, depending on where it lands. It seems plausible that we can make all these features work together in a nice way. 

Maybe it’s worth setting up a wiki page or something for use cases of annotations to help inform a future design as well as the design of related features?

-Akiva Leffert

> 
> Message: 18
> Date: Sat, 26 Dec 2015 10:03:35 +0000
> From: JOSE MARIA GOMEZ CAMA <jm.gomez at ub.edu>
> To: "swift-evolution at swift.org" <swift-evolution at swift.org>
> Subject: [swift-evolution] Support for custom attributes
> Message-ID: <331F173E-0A78-44CC-A1E8-E30538431E37 at ub.edu>
> Content-Type: text/plain; charset=utf-8
> 
> Dear all,
> 
> I am quite new to Swift, though I have made some small checks within Xcode, so I could have missed some feature in swift that provides a functionality similar to the want I am proposing.
> 
> I have been using my own annotations in Java or decorators in Python, and I would like to have an equivalent functionality in Swift. As far as I have seen, there are attributes that can provide a similar solution, but AFAIK you cannot create new ones. Would it be possible to add this feature in Swift.
> 
>        Thanks in advance,
> 
>                Jose M.
> 
> 
> 
> Aquest correu electrònic i els annexos poden contenir informació confidencial o protegida legalment i està adreçat exclusivament a la persona o entitat destinatària. Si no sou el destinatari final o la persona encarregada de rebre’l, no esteu autoritzat a llegir-lo, retenir-lo, modificar-lo, distribuir-lo, copiar-lo ni a revelar-ne el contingut. Si heu rebut aquest correu electrònic per error, us preguem que n’informeu al remitent i que elimineu del sistema el missatge i el material annex que pugui contenir. Gràcies per la vostra col·laboració.
> 
> Este correo electrónico y sus anexos pueden contener información confidencial o legalmente protegida y está exclusivamente dirigido a la persona o entidad destinataria. Si usted no es el destinatario final o la persona encargada de recibirlo, no está autorizado a leerlo, retenerlo, modificarlo, distribuirlo, copiarlo ni a revelar su contenido. Si ha recibido este mensaje electrónico por error, le rogamos que informe al remitente y elimine del sistema el mensaje y el material anexo que pueda contener. Gracias por su colaboración.
> 
> This email message and any documents attached to it may contain confidential or legally protected material and are intended solely for the use of the individual or organization to whom they are addressed. We remind you that if you are not the intended recipient of this email message or the person responsible for processing it, then you are not authorized to read, save, modify, send, copy or disclose any of its contents. If you have received this email message by mistake, we kindly ask you to inform the sender of this and to eliminate both the message and any attachments it carries from your account. Thank you for your collaboration.
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20151226/0f7569fe/attachment.html>


More information about the swift-evolution mailing list