Xcode 6.1.1 Modernization fails on selectors returning blocks
Xcode 6.1.1 Modernization fails on selectors returning blocks
- Subject: Xcode 6.1.1 Modernization fails on selectors returning blocks
- From: Jean Suisse <email@hidden>
- Date: Sat, 14 Feb 2015 00:32:27 +0100
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
|
_______________________________________________
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