no longer a violation of the NDA provided you're discussing publicly released software, as the new NDA states; as far as I understand it.

You may or may not have better luck over the iPhone dev forums, there's a couple of great people over there who are very good at answering the iPhone oddity questions but not the wealth of experience in cocoa you find here. One of the powerful things about cocoa touch (IMO) is that it's really just like the rest of cocoa and there's a lot to be gained from asking questions here and just reading the posts. The design patterns are the same, a lot of the workhorse classes are the same and the display classes do share some similarities.

I would recommend, if you haven't done so, reading all the tutorials about UIViewController, 'your first iPhone app' etc. I've read them a couple of times now and just having a passing familiarity with the concepts and terms means I can search quite efficiently and find things. The documentation is I think mostly extremely good; for instance had you just typed 'orientation' into the search box with 'API' and one or other of the iPhone doc sets highlighted .. you would have have UIViewController and UIApplicationDelegate methods to dig in to and probably answered your own question. When you are reading documentation I would also suggest only having the iPhone doc set selected .. I have gone down the path of trying to use what looked like a great piece of cocoa only to find ... it wasn't going to work on the device.

On Dec 9, 2008, at 11:16 AM, Bruce Martin wrote:

Thanks for the answers. I was told that it was a violation of the NDA:
>>
Until an announcement is made otherwise, developers should be aware
that the iPhone SDK is still under non-disclosure (section 5.3 of the
iPhone Development Agreement). It can't be discussed here, or anywhere
publicly. This includes other mailing lists, forums, and also blogs.
Violating the NDA will result in WWDR being notified of the breach.
Further action is at their (and legal's) discretion.

/>>
I was confused because Apple had stated recently:

On October 1st, Apple decided to remove the non-disclosure agreement (NDA) for released iPhone software. The updated iPhone SDK agreement is posted on the iPhone Dev Center.View now

So until the confusion can be resolved I will not continue this, but I thank you all for any answers you have given so far.


Bruce Martin
The Martin Solution
[EMAIL PROTECTED]
http://www.martinsolution.com
http://externals.martinsolution.com

On Dec 8, 2008, at 10:51 AM, Dave DeLong wrote:

UIViewController has methods that are called to notify that the iPhone will, is, or has rotated:

- (BOOL)shouldAutorotateToInterfaceOrientation: (UIInterfaceOrientation)interfaceOrientation - (void)willRotateToInterfaceOrientation: (UIInterfaceOrientation)toInterfaceOrientationduration: (NSTimeInterval)duration - (void)willAnimateFirstHalfOfRotationToInterfaceOrientation: (UIInterfaceOrientation)toInterfaceOrientation duration: (NSTimeInterval)duration - (void)willAnimateSecondHalfOfRotationFromInterfaceOrientation: (UIInterfaceOrientation)fromInterfaceOrientation duration: (NSTimeInterval)duration - (void)didRotateFromInterfaceOrientation: (UIInterfaceOrientation)fromInterfaceOrientation

All you would need to do is implement any of those in your ViewController to rearrange your interface appropriately. You can call [self setVew:someNewUIView] in a method, or whatever.

Cheers,

Dave

On Dec 6, 2008, at 10:19 AM, Bruce Martin wrote:

I'm not sure this is the right list but a search in the Archives returned no results for this question so that makes this question a simple one, or maybe no one else has had an issue with it. I am trying to get notifications that the orientation of the iPhone has changed, if it changed then I want to change the view to a new view which will contain different information than the original upright view.

I tried looking for some examples or tutorials but can't find anything so the more basic your answer the better :)
Thanks
Bruce Martin
_______________________________________________

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/bmartin%40mac.com

This email sent to [EMAIL PROTECTED]

_______________________________________________

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/rols%40rols.org

This email sent to [EMAIL PROTECTED]

_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to