I have an app with UITabBar und UINavigationBar(s). All are
non-translucent. So the content area of the view controllers is in between
the two. Now I would like to hide the UITabBar (on action). One would think
this would be enough:
if let tabBar = self.tabBarController?.tabBar {
tabBar.hid
Cocoa is an object oriented framework that encapsulates a lot of the hard work
for you, so it doesn’t expose all the low-level details that it manages. Some
of the lower level functionality is available by way of CoreFoundation and some
exposed C APIs, but there are lots of things not exposed.
On Aug 20, 2016, at 14:26 , Andreas Falkenhahn wrote:
>
> such a trivial thing as polling the number of events in the queue
It seems to me quite possible that there might be events that don’t appear in
the queue until you ask for an event. That is, a data source of some kind
might have trigge
On 20.08.2016 at 22:43 Quincey Morris wrote:
> On Aug 20, 2016, at 13:22 , Andreas Falkenhahn wrote:
> this is exactly what I wanted to avoid by looking for an equivalent of
> GetNumEventsInQueue().
> Well, OK, but here’s the horse your rode in on:
> On Aug 20, 2016, at 10:30 , Andreas Fa
On Aug 20, 2016, at 13:22 , Andreas Falkenhahn wrote:
>
> this is exactly what I wanted to avoid by looking for an equivalent of
> GetNumEventsInQueue().
Well, OK, but here’s the horse your rode in on:
On Aug 20, 2016, at 10:30 , Andreas Falkenhahn wrote:
>
> I need something much faster.
an
On 20.08.2016 at 22:01 Quincey Morris wrote:
> On Aug 20, 2016, at 10:59 , Andreas Falkenhahn wrote:
>
> If so, one alternative is to back-load your “thinning” of
> handleEvents() rather than front-loading it. That is, use an algorithm like
> this:
Actually, this is pretty much what I'm doing r
On Aug 20, 2016, at 10:59 , Andreas Falkenhahn wrote:
>
> Because actually retrieving events is very, very expensive. I already use a
> timer
> which limits event loop execution to about 100 times per second but I'd like
> to
> make an exception in case there are currently events in the queue
This sounds way outside the realm of Cocoa as it doesn’t expose the means that
you apparently are using to actually get the events, so any solution you’re
looking for is going to be within that realm, not Cocoa.
With that being said, I’ve worked on plenty of cross-platform apps that tried
to sh
On 20.08.2016 at 19:48 David Duncan wrote:
>> On Aug 20, 2016, at 10:30 AM, Andreas Falkenhahn
>> wrote:
>> Is there a Cocoa equivalent for the Carbon call
>> GetNumEventsInQueue(GetMainEventQueue())?
>> I use this a lot to poll whether there are events in the queue.
> Why do you need to po
> On Aug 20, 2016, at 10:30 AM, Andreas Falkenhahn
> wrote:
>
> Is there a Cocoa equivalent for the Carbon call
> GetNumEventsInQueue(GetMainEventQueue())?
>
> I use this a lot to poll whether there are events in the queue.
Why do you need to poll if there are events in the queue?
> I tried
Is there a Cocoa equivalent for the Carbon call
GetNumEventsInQueue(GetMainEventQueue())?
I use this a lot to poll whether there are events in the queue.
I tried to use
[NSApp nextEventMatchingMask:NSAnyEventMask untilDate:nil
inMode:NSDefaultRunLoopMode dequeue:NO]
as a replacement but this i
11 matches
Mail list logo