I have an opportunity to branch out to new areas (yay!) that I've never had the
chance to work with before, an iOS app that acts as the frontend for a web
site, receiving and sending Facebook- or Twitter-like statuses/updates. The
backend and web guys on the project have mentioned using AJAX. Di
On Jan 14, 2015, at 10:05 AM, Steve Mills wrote:
>
> Or is that done more from the client side where a timer pings the server for
> updates periodically (that sounds inefficient)?
Indeed, horribly inefficient and doesn't scale--but when they mention AJAX,
that's likely what they mean. Keeping
Consider constructing a JSContext and setting up HTML5 Server Sent
Events (in essence, push for web browsers):
http://www.html5rocks.com/en/tutorials/eventsource/basics/
http://en.wikipedia.org/wiki/Server-sent_events
On Wed, Jan 14, 2015 at 9:05 AM, Steve Mills wrote:
> I have an opportunity to
> On Jan 14, 2015, at 9:05 AM, Steve Mills wrote:
>
> I have an opportunity to branch out to new areas (yay!) that I've never had
> the chance to work with before, an iOS app that acts as the frontend for a
> web site, receiving and sending Facebook- or Twitter-like statuses/updates.
> The ba
> On Jan 14, 2015, at 10:29 AM, Shazron wrote:
>
> Consider constructing a JSContext and setting up HTML5 Server Sent
> Events (in essence, push for web browsers):
The data format for these events is so brain-dead simple that it's not worth
starting up a JavaScript context just to handle them.
> Certainly I don't want to attempt to start and stop access for the search dir
> every time the browser asks for an item's imageRepresentation. I'm guessing
> I'd run into race states there if multiple items are queried at once.
Yes, getting security-scoped URL access started and stopped in th
On Jan 13, 2015, at 10:50 PM, Jens Alfke wrote:
>
>> On Jan 13, 2015, at 9:25 PM, N!K wrote:
>>
>> A breakpoint at the end of drawRect shows that it runs twice. After the
>> second pass, the view appears, as it should.
>> Between passes, bounds is changed somehow, as shown by NSLog at the s
On Jan 13, 2015, at 10:55 PM, Quincey Morris
wrote:
> On Jan 13, 2015, at 21:25 , N!K wrote:
>>
>> I have not been able to find a reason for this behavior. . I don’t know how
>> to reveal the point between passes where bounds is actually changed. It does
>> not happen in any other NSView p
On Jan 14, 2015, at 20:39 , N!K wrote:
>
> I’m trying to learn more about drawing. One stumbling block was getting an
> NSBezierPath to change size proportional to the window size when the corner
> is dragged.
This is the wrong way to approach the problem. Scaling the bezier path itself
is a