App Store rejection

Ernesto Giannotta erne at apimac.com
Mon Jan 30 03:07:10 CST 2012


Hi Ruslan,

thanks for taking the time to answer.

Indeed you're right but the page you pointed me to states this API is somewhat obsolete.

Unicode normalization API

Note: This API has been replaced by the unorm2.h API and is only available for backward compatibility. The functions here simply delegate to the unorm2.h functions, for example unorm2_getInstance()and unorm2_normalize(). There is one exception: The new API does not provide a replacement for unorm_compare().

int32_t 	unorm2_normalize (const UNormalizer2 *norm2, const UChar *src, int32_t length, UChar *dest, int32_t capacity, UErrorCode *pErrorCode)
 	Writes the normalized form of the source string to the destination string (replacing its contents) and returns the length of the destination string. 

Again, I know this shouldn't matter since the unorm API is not even deprecated but, 
why don't give this unorm2 thing a try? ;-)


Cool Runnings,
Erne.

On 29-gen-2012, at 21:01, Ruslan Zasukhin wrote:

> On 1/29/12 5:23 PM, "Ernesto Giannotta" <erne at apimac.com> wrote:
> 
>> Hi Ruslan,
>> 
>> On 22-gen-2012, at 13:32, Ruslan Zasukhin wrote:
>> 
>>> On 1/22/12 2:27 PM, "Ernesto Giannotta" <erne at apimac.com> wrote:
>>> 
>>>> Do you mean there's no public accepted API for this function?
>>>> Is it still in draft phase?
>>>> 
>>>> this would mean adding 5 mb to my app size… (bloating from 19 to 24)
>>>> 
>>>> Well, ok… no big deal ;-)
>>> 
>>> In the ICU headers IT IS public and stable
>>> 
>> 
>> this is weird… Apple complains for the use of "unorm_isNormalized" but the ICU
>> method seems to be called just "isNormalized"
> 
> No Erne,
> 
> Apple complains on unorm_isNormalized(),
> and these are docs of this method:
> 
> http://icu-project.org/apiref/icu4c/unorm_8h.html#a919fb62224dc5f268e7b1cce2
> 1c2e873
> 
> In this docs you can see that this method is marked as STABLE and EXPORTED.
> 
> 
> =========================
> In contrast two other symbols, which you have found year ago,
> Really was marked as NOT PUBLIC.
> 
> This is my letter to jda few days ago:
> 
> ========
> Hi Jon,
> 
> I have found Erne letter. He was asked year ago about this two funcs
> 
>>>> ucol_equals
>>>> uprv_getDefaultLocaleID
> 
> 
> And if check docs of that you can see something as
> 
>  *  @internal ICU 3.0
>  */
> U_INTERNAL UBool U_EXPORT2
> ucol_equals(const UCollator *source, const UCollator *target)
> 
> 
> You see?
> 
> They was marked as INTERNAL,
> 
> But unorm_isNormalized   is marked  as STABLE and EXPORTED.
> So it is PUBLIC !!!
> 
> 
> 
> -- 
> Best regards,
> 
> Ruslan Zasukhin
> VP Engineering and New Technology
> Paradigma Software, Inc
> 
> Valentina - Joining Worlds of Information
> http://www.paradigmasoft.com
> 
> [I feel the need: the need for speed]
> 
> 
> _______________________________________________
> Valentina mailing list
> Valentina at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina



More information about the Valentina mailing list