Re: Updating NSMenu while it's open

2012-04-20 Thread Graham Cox
On 20/04/2012, at 3:45 PM, vinayak pai wrote: > System's wifi menu updates while it's open. How to update the menu like this? Add a view to the NSMenuItem. Animate the view using a timer, etc. --Graham ___ Cocoa-dev mailing list (Cocoa-dev@lists.a

Re: uiviewcontroller

2012-04-20 Thread Ariel Feinerman
Julius, what about an ios 4? On Thu, Apr 19, 2012 at 9:11 PM, Julius Oklamcak wrote: > Have a look at +attemptRotationToDeviceOrientation in iOS 5: > > > http://developer.apple.com/library/ios/documentation/uikit/reference/UIViewC > > ontroller_Class/Reference/Reference.html#//apple_ref/occ/clm/

Re: addsubview

2012-04-20 Thread koko
Good questions. As an experiment, in the same method in which I create and add the subview which is not displaying I create an NSButton using the same frame as for the subview. I add the NSButton and it displays. So, I am sure the NSTabviewItem view is correct. As to the subview, I added a de

Re: NSDateFormatter problem

2012-04-20 Thread Keary Suska
On Apr 20, 2012, at 6:08 AM, Lorenzo Thurman wrote: > On Apr 19, 2012, at 10:18 PM, Keary Suska wrote: > >> >> Perhaps this excerpt from the API doc is key: "Do not use these constants if >> you want an exact format." Why, might be academic, but if you require a >> specific style, you may want

Re: addsubview

2012-04-20 Thread koko
Here is the code that creates and adds the subview The method -makeAndWrapViews is in the custom class of the NSTabViewItem view. I do get -viewDidMoveToSuperview when addSubview is called. When the tab is clicked I do get viewdidMoveToWindow But I never see thev iew! - (void)makeAndWrapVi

Re: NSDateFormatter problem

2012-04-20 Thread Charles Srstka
On Apr 20, 2012, at 9:32 AM, Keary Suska wrote: >> Is there a way to reset the Language and Text Preferences? Is there an >> associated Preferences I can throw away? > > I think it is part of com.apple.systempreferences.plist in > ~/Library/Preferences. You can test that by dragging it to the d

Re: addsubview

2012-04-20 Thread koko
I have searched high and low and can find no reason for a subview to not display. Is this a trivial problem not worthy of list comment or is it truly a difficult problem that cannot be dealt with as easily as more mundane topics found here? Can you hear my cry for help ... this makes no sense