And how well will that approach work with an updated release that moves things 
around to different locations?  Hint: many apps have broken with updated OS 
releases when system UI objects are changed internally.

Anything that hard codes in coordinate assumptions of system views is 
problematic - especially code like: 

        [UITextField alloc] initWithFrame:CGRectMake(12.0, 45.0, 260.0, 25.0)]

or:

        CGAffineTransform translate = CGAffineTransformMakeTranslation(0.0, 
130.0); 
        [self setTransform:translate];

The hard coding of coordinate values also can cause problems when running the 
OS with a non-English language (since the metrics of different languages can be 
different).


On Jul 27, 2011, at 12:47 PM, Dan Hopwood wrote:

> Thanks David. And do you or does anyone else know if Apple would permit
> implementing something like the following, which gives a very similar
> result:
> 
> http://iphonedevelopment.blogspot.com/2009/02/alert-view-with-prompt.html
> 
> Thanks,
> 
> Dan
> 
> 
> On Jul 27, 2011, at 18:14, David Duncan <david.dun...@apple.com> wrote:
> 
> On Jul 27, 2011, at 10:02 AM, Dan Hopwood wrote:
> 
> This works really well and is exactly what I am looking for however a
> little reading tells me Apple may reject submissions that use this private
> API.
> 
> 
> Yes, you will be rejected for using private API.
> --
> David Duncan
> _______________________________________________
> 
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
> 
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
> 
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/gandreas%40mac.com
> 
> This email sent to gandr...@mac.com

Glenn Andreas                      gandr...@gandreas.com 
The most merciful thing in the world ... is the inability of the human mind to 
correlate all its contents - HPL

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to