Re: UIViewController question

2013-03-23 Thread Koen van der Drift
Thanks, I'll explore the approach with a single UIViewController and two 'panes'. - Koen. On Mar 23, 2013, at 3:54 PM, Roger Dalal wrote: > I second Matt's approach. To emulate the look of Apple Stocks, use a > single UIViewController that contains a UITableView in the upper > section with a h

Re: UIViewController question

2013-03-23 Thread Roger Dalal
I second Matt's approach. To emulate the look of Apple Stocks, use a single UIViewController that contains a UITableView in the upper section with a horizontal scrolling UIScrollView in the lower (with paging enabled). There also appears to be a black frame in a UImageView that is masking the corne

Re: UIViewController question

2013-03-23 Thread Rick Aurbach
> ___ >> >> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) >> > From: dangerwillrobinsondan...@gmail.com > To: Koen van der Drift > Cc: "cocoa-dev@lists.apple.com Dev" > Subject: Re: UIViewController que

Re: UIViewController question

2013-03-23 Thread Matt Neuburg
On Fri, 22 Mar 2013 22:02:04 -0400, Koen van der Drift said: >I'd like to make a view layout similar to the Apple Stocks app, where the top >view remains the same and the bottom view can be swiped to display different >info views related to the top view. > >How should I design the view-controll

Re: UIViewController question

2013-03-23 Thread dangerwillrobinsondanger
Master-Detail pattern. Select an item in the table view. Detail view loads detail. In this case detail view has 3 swipeable pages that loop. Sounds like you could do it with one or two or more. Up to you. Really just swapping out data, views themselves aren't necessarily different as data c

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: uiviewcontroller

2012-04-19 Thread Julius Oklamcak
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/UIViewControlle r/attemptRotationToDeviceOrientation > is the official or unofficial way to force

Re: UIViewController containment and storyboarding

2011-11-10 Thread Matt Neuburg
On Sat, 05 Nov 2011 21:48:42 +0800, Roland King said: >Is there any support for UIViewController containment with storyboarding? Yes, but you have to careful about what you mean by "support". I see two possible misapprehensions here: 1) The storyboard editor knows nothing your custom container

Re: UIViewController: not receiving motion events

2010-09-07 Thread Dave DeLong
Yes, sorry. "motionEnded:" was shorthand for "motionEnded:withEvent:" I should've been clearer about that. I could've sworn I overrode canBecomeFirstResponder, but apparently I hadn't. Putting that in appears to have fixed it. Thanks, Dave On Sep 7, 2010, at 4:19 PM, Fritz Anderson wrote:

Re: UIViewController: not receiving motion events

2010-09-07 Thread Fritz Anderson
On 7 Sep 2010, at 2:11 PM, Dave DeLong wrote: > None of these work, and my motionEnded: method never gets called. You say repeatedly that you are looking for the method -motionEnded:, period. There is no such method in the API. There is a -motionEnded:withEvent:. Did you try that? Going throug

Re: UIViewController and splash screen orientation issue on iPad

2010-08-25 Thread Dikshith Rai
> Depending on your sleep interval and the time it takes your application to > startup, you could end up hitting one of the watchdog timers and having your > application get killed. Oh! Thanks for this information David :-) Regards, Dikshith On 26-Aug-2010, at 1:05 AM, David Duncan wrote:

Re: UIViewController and splash screen orientation issue on iPad

2010-08-25 Thread David Duncan
On Aug 25, 2010, at 12:27 PM, Dikshith Rai wrote: > You can also do this without creating a new view. Just put a sleep() in App > delegate Please don't do this in shipping software. Depending on your sleep interval and the time it takes your application to startup, you could end up hitting one

Re: UIViewController and splash screen orientation issue on iPad

2010-08-25 Thread Eric Giguere
Ouch, what a shame. Thanks a lot David. As expected, worked perfectly :) Eric. On 2010-08-25, at 12:35, David Duncan wrote: > On Aug 25, 2010, at 4:57 AM, Eric Giguere wrote: > >> The problem is that when I start the application with the Pad upside down, >> the splash view does not get auto-r

Re: UIViewController and splash screen orientation issue on iPad

2010-08-25 Thread David Duncan
On Aug 25, 2010, at 4:57 AM, Eric Giguere wrote: > The problem is that when I start the application with the Pad upside down, > the splash view does not get auto-rotated even though my main view behind it > is always showing with the right orientation. Thats because the view controller managin

Re: UIViewController and splash screen orientation issue on iPad

2010-08-25 Thread Conrad Shultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 8/25/10 4:57 AM, Eric Giguere wrote: > The problem is that when I start the application with the Pad upside > down, the splash view does not get auto-rotated even though my main > view behind it is always showing with the right orientation. I can't

Re: UIViewController and splash screen orientation issue on iPad

2010-08-25 Thread Eric Giguere
Hi Kyle Sure am. Lets call it then the Launch image. We do need to show something if the application is establishing a remote connection. This screen I'm show as a modal view shows up upside down :( I've had that orientation issue with other applications when I'm programmatically creating contr

Re: UIViewController and splash screen orientation issue on iPad

2010-08-25 Thread Kyle Sluder
On Aug 25, 2010, at 7:57 AM, Eric Giguere wrote: > Hi all > > I have a small problem here with a small application I'm writing for the iPad. > > First, I manually show a splash screen. Doing so instead of using the > default.png behavior allows controlling the time the spash is shown on > scr

Re: UIViewController memory warnings | didReceiveMemoryWarning | setView | releasing outlets | releasing properties

2008-11-29 Thread Ashley Clark
On Nov 29, 2008, at 2:58 PM, Glenn Bloom wrote: // Implement loadView if you want to create a view hierarchy programmatically - (void)loadView { /* snip */ NSMutableString * stringCompleteMutable = [NSMutableString stringWithString:string00Local]; // local variable set with a construct

RE: UIViewController memory warnings | didReceiveMemoryWarning |

2008-11-29 Thread Glenn Bloom
In response to an excellent first reply, below is a revision to my original post that corrects various points, and that also incorporates some changes to better focus my remaining questions - please disregard my original post in favor of the following: In the course of trying to understand UIViewC

Re: UIViewController memory warnings | didReceiveMemoryWarning | setView | releasing outlets | releasing properties

2008-11-29 Thread Ashley Clark
On Nov 29, 2008, at 9:45 AM, Glenn Bloom wrote: Ashley, Can't thank you enough. I just posted the following, hoping to pre- empt other folks from wasting time correcting me on various points you addressed - and I hope, refocusing things on my major questions. I have of course been throug

Re: UIViewController memory warnings | didReceiveMemoryWarning | setView | releasing outlets | releasing properties

2008-11-28 Thread Ashley Clark
On Nov 28, 2008, at 11:44 PM, Glenn Bloom wrote: In the course of trying to understand UIViewController memory warnings on the iPhone, I've found various useful threads online, and in particular, was very glad to follow the numerous recent posts in this forum with the subject 'Outlets / IB