LiZunYuan / networkpx

Automatically exported from code.google.com/p/networkpx
0 stars 0 forks source link

UIAccentedCharacterView-setStringWidth.m depends on 2.2 member variables #7

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
iKeyEx ought to be compatible to firmware 2.0, but the category
UIAccentedCharacterView(setStringWidth) needs to access the members
m_popupView (>=2.1) and m_tubeRect (>=2.2). 

We need to detect the firmware and set separate cases to avoid these ivars
in lower versions.

Original issue reported on code.google.com by kennytm@gmail.com on 22 Jan 2009 at 8:15

GoogleCodeExporter commented 8 years ago
Issue 17 has been merged into this issue.

Original comment by kennytm@gmail.com on 24 Jan 2009 at 10:40

GoogleCodeExporter commented 8 years ago
Now uses indirect ivar access with stuff in objc/runtime.h. 2.0 probably will 
be left "uglyfied" (I.e. 
setStringWidth: becomes a no-op) because the ivars list of 
UIAccentedCharacterView differs too much. 
Currently reverse engineering 2.1 UIKit to get a hint how to properly set the 
string width. 

Original comment by kennytm@gmail.com on 24 Jan 2009 at 10:45

GoogleCodeExporter commented 8 years ago
Issue 24 has been merged into this issue.

Original comment by kennytm@gmail.com on 25 Jan 2009 at 9:56

GoogleCodeExporter commented 8 years ago
Titled file fixed in r62. Now checking if other files contain similar problem.

Original comment by kennytm@gmail.com on 26 Jan 2009 at 10:02

GoogleCodeExporter commented 8 years ago
Both hClipboard and L33tTyper can be compiled with 2.0 framework, so iKeyEx is 
really
the only problem. Flag as fixed.

Original comment by kennytm@gmail.com on 26 Jan 2009 at 10:04