Thanks, I was afraid of that. I'll consider it after a few other things.
Thanks!
--
Rick
On Nov 7, 2010, at 23:46:19, Kyle Sluder wrote:
> On Sun, Nov 7, 2010 at 10:39 PM, Rick Mann wrote:
>> Well, I've implemented an SNTP client to improve the clock accuracy. I guess
>> what I'm really aski
On Sun, Nov 7, 2010 at 10:39 PM, Rick Mann wrote:
> Well, I've implemented an SNTP client to improve the clock accuracy. I guess
> what I'm really asking is, how long after I exit the run loop before drawing
> is complete?
There's no way to know this. Your code is sitting atop a very deep
frame
On Nov 7, 2010, at 22:34:41, Greg Guerin wrote:
> Rick Mann wrote:
>
>> Note that the precision of all this isn't so high as to make this "hard"
>> real time. It just has to be good enough that a person watching the display
>> and comparing it (visually) to an accurate clock would consider the
Le 8 nov. 2010 à 06:04, Rick Mann a écrit :
> I have a need to synchronize the actual display update of a UIView hierarchy
> with real time. In my case, I update the display once per second, and I want
> the display to update *on* the second.
Maybe you could set a timer to fire every second, a
Rick Mann wrote:
Note that the precision of all this isn't so high as to make this
"hard" real time. It just has to be good enough that a person
watching the display and comparing it (visually) to an accurate
clock would consider them to be synchronized. I'd like to do no
worse than 100 m
On Nov 6, 2010, at 1:40 PM, Sean McBride wrote:
> On Thu, 4 Nov 2010 21:53:28 -0700, Adam Swift said:
>
>> The NSPersistentStoreCoordinator class method works directly with the
>> file at the specified URL and so writes the metadata to the the file
>> immediately.
>
> I guess you're referring t
I have a need to synchronize the actual display update of a UIView hierarchy
with real time. In my case, I update the display once per second, and I want
the display to update *on* the second.
Since I don't really have control of when the draw happens, I don't know how to
do this. I update all
Success! Your last sentence pointed the way.
On Nov 6, 2010, at 11:25 PM, Greg Guerin wrote:
> N!K wrote:
>
>> However, exactly the same statement fails when pasted into -init of Class.m.
>>
>> Build yields "warnings Class may not respond to -new."
>
>
> This message suggests you're calling
Three questions:
1) I know that an MKMapView can display a location given GPS coords,
and that it can do reverse geo-caching to get the nearest address to
a GPS coordinate. Can it go the other way - i.e. can I feed it an
address (in an NSString) of the form: "address>,, " (these are all US
On Sun, Nov 7, 2010 at 4:35 PM, Seth Willits wrote:
> On Nov 7, 2010, at 2:28 PM, Kyle Sluder wrote:
>
>> If nested transactions counted, you could never use this method safely and
>> call into framework or other code. Any transactions that other code creates
>> would screw up your own timing, e
On Nov 7, 2010, at 2:28 PM, Kyle Sluder wrote:
> If nested transactions counted, you could never use this method safely and
> call into framework or other code. Any transactions that other code creates
> would screw up your own timing, even if the animations were entirely
> unrelated to your ow
On Sun, Nov 7, 2010 at 6:06 PM, gMail.com wrote:
>
> A quick question more please.
> As I have seen on the Apple sample code "FSFileOperation",
> I can wait until FSCopyObjectAsync is done, using CFRunLoopRunInMode.
>
> while(!gFileCopiedDone && !mUserPressedStop){
> CFRunLoopRun
On Sun, Nov 7, 2010 at 3:06 PM, gMail.com wrote:
> As I have seen on the Apple sample code "FSFileOperation",
> I can wait until FSCopyObjectAsync is done, using CFRunLoopRunInMode.
This isn't a good idea. Just let the runloop run normally. Do the
cancel button checking in your callback.
--Kyle
thanks a bunch, this is great!
tom
On Nov 7, 2010, at 2:40 PM, Dave Carrigan wrote:
>
> On Nov 7, 2010, at 2:31 PM, Kyle Sluder wrote:
>
>> On Nov 7, 2010, at 2:24 PM, Tom Jones wrote:
>>
>>> Ops, thanks!
>>>
>>> I have not really done much with sockets. Is there an example you know of
>>>
Great! It worked well. And it even deleted the file partially copied!
Thank you so much.
A quick question more please.
As I have seen on the Apple sample code "FSFileOperation",
I can wait until FSCopyObjectAsync is done, using CFRunLoopRunInMode.
while(!gFileCopiedDone && !mUserPressedSt
On Nov 7, 2010, at 2:40 PM, Dave Carrigan wrote:
>
> On Nov 7, 2010, at 2:31 PM, Kyle Sluder wrote:
>
>> On Nov 7, 2010, at 2:24 PM, Tom Jones wrote:
>>
>>> Ops, thanks!
>>>
>>> I have not really done much with sockets. Is there an example you know of
>>> that I can learn from?
>>
>> THE
On Nov 7, 2010, at 2:31 PM, Kyle Sluder wrote:
> On Nov 7, 2010, at 2:24 PM, Tom Jones wrote:
>
>> Ops, thanks!
>>
>> I have not really done much with sockets. Is there an example you know of
>> that I can learn from?
>
> THE guide to socket programming: http://beej.us/guide/bgnet/
Specifi
On Nov 7, 2010, at 2:24 PM, Tom Jones wrote:
> Ops, thanks!
>
> I have not really done much with sockets. Is there an example you know of
> that I can learn from?
THE guide to socket programming: http://beej.us/guide/bgnet/
--Kyle Sluder
>
___
Co
On Nov 7, 2010, at 2:20 PM, Seth Willits wrote:
> On Nov 7, 2010, at 1:42 PM, Kyle Sluder wrote:
>
>> It sounds like you're confusing transactions with animation groups.
>
> To touch on this, I certainly don't believe I am.
>
> The inner transaction code is all a self-contained atomic action.
Ops, thanks!
I have not really done much with sockets. Is there an example you know of that
I can learn from?
Thanks,
tom
On Nov 7, 2010, at 2:14 PM, Dave Carrigan wrote:
> On Nov 7, 2010, at 2:02 PM, Tom Jones wrote:
>> Thanks, yes its a tcp port. I tried this but for some reason "port" is
On Nov 7, 2010, at 1:42 PM, Kyle Sluder wrote:
> It sounds like you're confusing transactions with animation groups.
To touch on this, I certainly don't believe I am.
The inner transaction code is all a self-contained atomic action. What I need
to do is simply call the self-contained action, an
On Nov 7, 2010, at 14:00, Kevin Bracey wrote:
> I may have painted myself into a corner with this one. To facilitate
> exporting my model objects as xml, I have my object properties stored in a
> NSDictionary, this makes for an easy export, both as plist and xml, I just
> walk the dictionary ad
On Nov 7, 2010, at 2:02 PM, Tom Jones wrote:
> Thanks, yes its a tcp port. I tried this but for some reason "port" is always
> nil.
>
> NSSocketPort *port = [[NSSocketPort alloc] initRemoteWithTCPPort:3651
> host:@"localhost"];
> if(!port) {
> NSLog(@"Port is open...");
> } else {
> NSLog
On Nov 7, 2010, at 3:02 PM, Tom Jones wrote:
> if(!port) {
> NSLog(@"Port is open...");
> } else {
> NSLog(@"Port is not open...");
> }
Isn't that backwards?
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
__
On Nov 7, 2010, at 1:42 PM, Kyle Sluder wrote:
>> a) Why does the first code snippet call the completion block "immediately"?
>> b) If you assume A's answer is logical and correct, why does adding a
>> completion block to the inner transaction affect the outer?
>>
>> Something seems wrong here.
Thanks, yes its a tcp port. I tried this but for some reason "port" is always
nil.
NSSocketPort *port = [[NSSocketPort alloc] initRemoteWithTCPPort:3651
host:@"localhost"];
if(!port) {
NSLog(@"Port is open...");
} else {
NSLog(@"Port is not open...");
}
[port release];
Thanks,
tom
On
Hi all,
I may have painted myself into a corner with this one. To facilitate exporting
my model objects as xml, I have my object properties stored in a NSDictionary,
this makes for an easy export, both as plist and xml, I just walk the
dictionary adding nodes. I have to maintain a lot of setter
On Nov 7, 2010, at 1:35 PM, Tom Jones wrote:
> Hello,
> I'm looking for a simple way to ping a host and a specific port on that host.
> I have SCNetworkCheckReachabilityByName working just fine but I really need
> to test to see if the port is active.
There's no such thing as pinging a port.
On Nov 7, 2010, at 1:35 PM, Tom Jones wrote:
> I'm looking for a simple way to ping a host and a specific port on that host.
> I have SCNetworkCheckReachabilityByName working just fine but I really need
> to test to see if the port is active.
ICMP (ping) doesn't use ports. I assume you actuall
On Nov 7, 2010, at 1:29 PM, Seth Willits wrote:
>
> Questions:
>
> a) Why does the first code snippet call the completion block "immediately"?
> b) If you assume A's answer is logical and correct, why does adding a
> completion block to the inner transaction affect the outer?
>
> Something se
On Nov 7, 2010, at 7:58 AM, Matt Neuburg wrote:
>
> View drawing order (back to front) is layer drawing order for the layers
> belonging to those views. Suppose view A has ten layers and view B has ten
> layers, and view A is before view B as a sibling. Then all of A's layers,
> regardless of
On Sun, Nov 7, 2010 at 4:09 PM, gMail.com wrote:
> I have checked FSCopyObjectAsync and the copy works well.
> I can get my callback function called so I can observe the working progress
> as the kFSOperationBytesCompleteKey and kFSOperationTotalBytesKey and get
> the kFSOperationStageComplete st
Hello,
I'm looking for a simple way to ping a host and a specific port on that host. I
have SCNetworkCheckReachabilityByName working just fine but I really need to
test to see if the port is active.
Thanks,
tom___
Cocoa-dev mailing list (Cocoa-dev@lis
Questions:
a) Why does the first code snippet call the completion block "immediately"?
b) If you assume A's answer is logical and correct, why does adding a
completion block to the inner transaction affect the outer?
Something seems wrong here.
Code:
[CATransaction begin];
Ken,
I have checked FSCopyObjectAsync and the copy works well.
I can get my callback function called so I can observe the working progress
as the kFSOperationBytesCompleteKey and kFSOperationTotalBytesKey and get
the kFSOperationStageComplete status. Well.
But I can't figure out yet how to interru
Hi,
I hope I can explain my issue correctly. I have a UISplitViewController which
uses a UITabBarController as the Details view. Everything works except on my
UITabBarController I can not see the UIPopoverController on the Navigation Bar.
I have a class called DetailViewTabBarController which
On Sun, 7 Nov 2010 17:35:57 +0200, eveningnick eveningnick
said:
>Just for the sake of my own understanding. There's nothing extraordinary i
>am doing there, but for example, i need to "delay" the launch of my
>application and registering all the observers/event taps before the "master
>applicati
On 7 Nov 2010, at 9:35 AM, eveningnick eveningnick wrote:
>> You seem to be trying to find ways to use the frameworks in ways that are
>> not intended. Why are you not using NSApplicationMain in the normal way?
>>
> Just for the sake of my own understanding. There's nothing extraordinary i
> am d
On Sun, 7 Nov 2010 09:41:05 +1000, Gideon King said:
>If I could draw the curve myself during animation, I could get it to do what I
>want, but I don't see any way of doing that.
>
Actually, if I'm understanding the question correctly, that might be a good
solution. Perhaps you'd have to give u
On Tue, 2 Nov 2010 14:15:27 -0700, Stephen Zyszkiewicz
said:
>What about using Interface Builder to do this? It seems I can drag in the
>navigation bar to any place in a view. I'm not sure if I can hook the
>navigation controller to this though.
>
>If I use the UINavigationController in IB, it
On Tue, 2 Nov 2010 12:51:07 -0600, k...@highrolls.net said:
>I would like to get a menu item in main mneu nib pointed to a outlet
>reference in another NIB.
>Is there a preferred pattern/method to do so
If you think you can make an outlet from one nib to another, you don't
understand what a nib
On Tue, 2 Nov 2010 12:15:09 -0400, Phillip Mills said:
>I have an application with a split view, master/detail design. The 'master'
>items are dynamically created and vary in number. When I start the
>application, I load these for use by the table view's data source during the
>root view cont
On Sun, 31 Oct 2010 22:13:18 +1000, Gideon King said:
>I have a view with several subviews, all layer backed. These subviews are
>siblings. I want to bring one of them in front of the others, so I set the
>zPosition of the others to a zPosition of 1 and the one I want in front to a
>zPosition o
On Sun, Nov 7, 2010 at 10:35 AM, eveningnick eveningnick
wrote:
>
>> You seem to be trying to find ways to use the frameworks in ways that are
>> not intended. Why are you not using NSApplicationMain in the normal way?
>>
> Just for the sake of my own understanding.
An admirable goal to be sure.
On Fri, 29 Oct 2010 23:20:11 +1100, Graham Cox said:
>OK, found the problem - silly mistake. When testing I used alloc + init on the
>object that implements this, which is not its designated initialiser, so the
>look-up dictionary wasn't being initialised. D'oh!! (I've also corrected this
>so t
Hello Scott
> You seem to be trying to find ways to use the frameworks in ways that are
> not intended. Why are you not using NSApplicationMain in the normal way?
>
Just for the sake of my own understanding. There's nothing extraordinary i
am doing there, but for example, i need to "delay" the la
On Nov 7, 2010, at 4:05 AM, eveningnick eveningnick wrote:
> I am trying to understand these techniques step by step, it is really
> difficult for me when everything is hidden :(
You seem to be trying to find ways to use the frameworks in ways that are not
intended. Why are you not using NSApp
On Nov 7, 2010, at 6:05 AM, eveningnick eveningnick wrote:
>>> I assume i should call a one run through the runloop manually, but how?
>> I recommend that you not attempt to "invert" the event loop or build one
>> yourself. The "modal session" methods of NSApplication
>> (-beginModalSessionForWind
Thanks again to both of you for your help. After stripping out my application
subclass, document controller subclass, and then stripping out swathes of my
NSDocument subclass, I finally tracked it down to something in the
-readFromURL:... code (which makes sense seeing as the crash occurred afte
On 7 Nov 2010, at 5:05 AM, eveningnick eveningnick wrote:
> I am sorry, it was -setTitleWithMnemonic method of NSTextField, i wrote that
> by memory
I am not sure why you use setTitleWithMnemonic:. The documentation for that
method warns that mnemonics are not supported in Mac OS X. Six classes
Hello Ken
If you don't have a handle on the basics, it's foolhardy to get into
> advanced techniques.
I am trying to understand these techniques step by step, it is really
difficult for me when everything is hidden :(
>
> > I assume i should call a one run through the runloop manually, but how
51 matches
Mail list logo