Dear All,

Today, I have decided to modernize & migrate to 10.10 + ARC one large 
application (280+ source files). It is a scientific data acquisition app that 
heavily relies on (serial) queues and dispatched blocks to run and synchronize 
concurrent processes. Each experiment is represented by a class that has 
selectors returning blocks such as:

- (dispatch_block_t)experimentInitBlock;

I have like 380+ of these methods across many such classes.
The issue is that Xcode’s refactor feature modernizes the previous declaration 
in:

@property (readonly, copy) dispatch_block_t;

The worse part is that the name of the selector is lost. So manual correction 
requires a lot of search and compare with a copy of the project… and then 
modernization also changes line numbers…

My two questions are:

1. Is it a bug?
2. Does anyone knows of a workaround?

Thanks,
Jean
-----------
Jean Suisse
Institut de Chimie Moléculaire de l’Université de Bourgogne
(ICMUB) — UMR 6302

U.F.R. Sciences et Techniques, Bâtiment Mirande
Aile B, bureau 413
9, avenue Alain Savary — B.P. 47870
21078 DIJON CEDEX

T: +333-8039-9037 
F: +339-7232-2604
E: [email protected] <mailto:[email protected]>




 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to