Re: NSTextField Bug? Can't be!

2008-08-12 Thread Seth Willits
x27;ll see what happens.) -- Seth Willits On Aug 12, 2008, at 4:08 AM, [EMAIL PROTECTED] wrote: Seems to me that this might be more to do with the responder chain. The NSTextField will update its stringValue when it resigns as first responder. An NSButton does not accept first responde

Re: NSToolbar within view

2008-08-20 Thread Seth Willits
know an alternative? You'll have to write your own. If it's not customizable, it's very very easy to do. -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comme

Re: Semi-transparent, blurred NSWindow background?

2008-08-25 Thread Seth Willits
. Hmm... it's very hard to tell, but I believe there must be a fast way that already exists. I'm sure he meant a fast *public* way to do it. Using the private APIs / the method that Rob showed is perfectly fast. -- Seth Willits __

CIRotatingCubeTransition

2008-08-25 Thread Seth Willits
xtent, and inputTime. I also used class-dump to check for any private methods, but there aren't any. Has anybody had any experience with this? -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post ad

Re: CIRotatingCubeTransition

2008-08-26 Thread Seth Willits
That doesn't help with rotating up or down. -- Seth Willits On Aug 25, 2008, at 11:40 PM, Michael Vannorsdel wrote: Just start at inputTime 1.0 and increment down to 0.0. This will rotate opposite from 0.0 to 1.0. On Aug 25, 2008, at 11:42 PM, Seth Willits

Layer-Backed Views, Mouse, Presentation Tree Bug?

2008-08-27 Thread Seth Willits
ocoaSlides demo; Find the location where a view *will* be after animating, start the animation and immediately click. You'll get a mouseDown event (and see the pointillize effect) for the view before it's under the mouse. Seems like a bug to me. Am I wron

Simple Array of Strings Binding Question

2008-08-30 Thread Seth Willits
el object to contain the string, just to use bindings here? There's absolutely _no_ other data I need to associate with the string, so it'd really be pointless otherwise. Thanks, -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@l

Re: NSOutlineView and checkbox cells for child items

2008-08-30 Thread Seth Willits
are overriding dataCellForRow:, the checkbox cell should be used for every row. I suspect there is more to what you are doing than you've told us. -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post

Re: App names

2008-08-31 Thread Seth Willits
rning 10.3 / 10.4 / 10.5 ? If you're dealing with a file path, then of you of course need to specify the extension -- it's part of the file name. You've always had to, and always will have to. -- Seth Willits ___ Cocoa-dev mai

Re: Interface Builder changing size of controls...

2008-09-07 Thread Seth Willits
s a convenience thing assuming that you're going to create several mini controls in a row. -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Co

Re: How do create a DMG with license agreement?

2008-09-08 Thread Seth Willits
/dmgcanvas/ -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscrip

Re: How do create a DMG with license agreement?

2008-09-08 Thread Seth Willits
till documented though. -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscr

Re: While we're on the subject of DMG's for software distribution...

2008-09-08 Thread Seth Willits
wo options to ensure correct installation would be to: a) use a package installer b) put the plugins and docs inside of your application's bundle. -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin reque

Re: Problems with Key Observing Registration Performance

2008-09-09 Thread Seth Willits
o see if they're actually supposed to be created. *shrugs* Hope that helps :) -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the mod

Re: Fade In and Fade Out Transitions Missing in IB

2008-09-09 Thread Seth Willits
's view transition settings is: don't bother. They either don't work at all or are somehow incomplete/ broken. Others (at least one Apple engineer included) have testified to this as well. -- Seth Willits ___ Cocoa-dev mailing li

Re: Problems with Key Observing Registration Performance

2008-09-10 Thread Seth Willits
On Sep 10, 2008, at 1:04 AM, Markus Spoettl wrote: On Sep 9, 2008, at 9:36 PM, Seth Willits wrote: Surely adding 330 items to an array shouldn't take a minute on any machine from this century. I think your code is doing something you're not realizing. You could: a) have a meth

Re: Multiple Document types

2008-09-10 Thread Seth Willits
document they want to create, or is there something in the framework which is supposed to do that? You need to write your own. -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator

Re: Something truly fundamental I must be missing...

2008-09-10 Thread Seth Willits
nib you specify (by name) for you. http://developer.apple.com/documentation/Cocoa/Conceptual/LoadingResources/CocoaNibs/chapter_3_section_6.html -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin reques

Re: How do people typically implement dialog controllers?

2008-09-10 Thread Seth Willits
a, so I so far have stuck to just plain old school code. I could save two or three lines if I used bindings in a few places, but eh... who's counting? -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post

Re: How do people typically implement dialog controllers?

2008-09-10 Thread Seth Willits
t to the controller, then unpack the from the dictionary from the controller later on? It's easier to just to set and grab them individually. -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post ad

Re: How do people typically implement dialog controllers?

2008-09-10 Thread Seth Willits
Default then you don't read take on the settings from the dialog. -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at c

Re: How do people typically implement dialog controllers?

2008-09-10 Thread Seth Willits
to a model, and essentially three lines of code to begin, commit, or revert changes. It's taken me until to even quite understand what you're asking. Hopefully this helps or triggers a thought. :-) -- Seth Willits ___ Cocoa-dev maili

Re: How do people typically implement dialog controllers?

2008-09-11 Thread Seth Willits
as selecting a target from the popup, checking "bind", and typing the name of the value in the dictionary. I'd really encourage you to take 15 minutes to experiment with it. -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@li

Re: First responder design question. Are controllers in the chain?

2008-09-11 Thread Seth Willits
of them are in the responder chain. You can add them to the chain after the window controller yourself. Here is a good way to do that: http://katidev.com/blog/2008/04/09/nsviewcontroller-the-new-c-in-mvc-pt-1-of-3/ -- Seth Willits ___ Coc

Re: when should my NSWindowController be released?

2008-09-13 Thread Seth Willits
quitting your program. If dealloc is not called when it should be (in a non-garbage-collected app), then you've probably leaked it. (You may also just not realize that it really shouldn't have been called yet ;-) -- Seth Willits ___

Re: when should my NSWindowController be released?

2008-09-13 Thread Seth Willits
r and fixing leaks that occur during regular usage before application termination. -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderato

NSColorWell - What's in the corner?

2008-09-13 Thread Seth Willits
Any idea what the gray tab in the corner signifies? If you click on the color well and set the value, it always disappears. http://www.sethwillits.com/temp/NSColorWellCorner.jpg -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev

Re: NSColorWell - What's in the corner?

2008-09-13 Thread Seth Willits
n the Device space. Use the Calibrated space to make it go away. (from http://www.cocoadev.com/index.pl?NSColorWell ) Thanks! -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or mode

Re: Differences between -isEqual: and -isEqualTo:?

2008-09-18 Thread Seth Willits
tinct arrays with the same elements are "equal". You use isEqual: to test for that. isEqualTo: is purely a synonym. -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator

Re: Tabless NSTabView IB3 Bug

2008-03-04 Thread Seth Willits
uried. I didn't know about that. I'd like to see it work like switching between segments in a segmented control. There's a popup in the inspector that lets you pick one. -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@l

Re: What is the status on the New Cocoa 2.0 Books?

2008-03-12 Thread Seth Willits
On Mar 12, 2008, at 6:24 PM, Michael Gregoire wrote: Though tutorials and guides are severely lacking in the Objective-C 2.0 arena. Obj-C 2.0 takes 20 minutes to learn. There's not that much different, and the docs cover it pretty well. -- Seth Wi

Re: [Mini Announce] Leopard style tabs that need your help

2008-03-20 Thread Seth Willits
indow background has changed, and that change is automatically picked up by PSMTabBarControl. Your code may be lighter than PSMTabBarControl, but you should take another look at it, because it does have the same appearance. -- Seth Willits __

Re: [Mini Announce] Leopard style tabs that need your help

2008-03-21 Thread Seth Willits
hen you'd still have to figure out GC. I haven't yet used it for anything. Good luck, and may the force be with you, I need sleep... -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin reque

NSMailDelivery Deprecated

2008-04-12 Thread Seth Willits
Howdy, I'm writing an internal tool, and NSMailDelivery looked to fit the bill to automatically send emails behind the scenes, but it was deprecated in 10.5. Is there a replacement at all for it? All I need is a way to send emails from an smtp server. Thanks, -- Seth Wi

NSMatrix Content Binding

2008-04-13 Thread Seth Willits
mageFormat.value" which entails a certain organization that seems to be too far off from what I need. Is there a way to do what I want to do? -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not

Re: Window moved when dock appears.

2008-04-13 Thread Seth Willits
ould I use applicationDidChangeScreenParameters and reposition the window, or is there an option to make my window not care about the Dock appearing? It'd probably be easier to just override setFrame in a window subclass and make sure it's always what it should be. Just a thought.

Re: Using Properties at Outlets

2008-04-13 Thread Seth Willits
7;re crazy. :) -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Su

Re: NSMatrix Content Binding

2008-04-14 Thread Seth Willits
dictionary as the value, which isn't what I want. It's kinda annoying. A value transformer seems like a good idea. I haven't looked into them yet, but I think there's a couple places where some custom ones could be handy. I'll look i

Documents, Archived Objects, and Bindings

2008-04-15 Thread Seth Willits
s having a whole bunch of glue code (major ick). Thanks, -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)list

Re: Documents, Archived Objects, and Bindings [Nevermind...]

2008-04-15 Thread Seth Willits
On Apr 15, 2008, at 12:27 AM, Seth Willits wrote: Aloha, I'm sorry if you read any further than this line! :) It was giving me an error because I didn't retain the newly created instance, not because I released the old instance. I *knew* it should have worked this way. :)

Poking NSTextView Binding to Update

2008-04-16 Thread Seth Willits
n, so I need to binding to update the value in the model. I can change first responder manually to trigger the update, but is there a proper way to poke the binding to update? -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Re: Poking NSTextView Binding to Update

2008-04-16 Thread Seth Willits
On Apr 16, 2008, at 4:26 PM, Seth Willits wrote: I have a text view bound to a key path through an array controller's selectedObject, and it doesn't update the value immediately when changing the text, it only updates the model if the text view loses first responder. I need

[Ann] DMG Canvas

2008-04-22 Thread Seth Willits
Greetings Cocoa Heads, Off topic, I admit, but y'all being fellow Cocoa developers, and having specifically written the app for us, I thought it fitting to post here. http://www.araelium.com/dmgcanvas/ Short and sweet, -- Seth Wi

Re: [Ann] DMG Canvas

2008-04-22 Thread Seth Willits
u can't have license agreements in there.) Fighting Finder to script the appearance of the disk image is a headache on it's own; I'd rather skip the nonsense to try to force Finder into something it doesn't want to do at all. Thanks for all of the res

Re: Updating frameworks stored in subversion?

2008-04-27 Thread Seth Willits
and you ask more about this on the Xcode list before Scott throws down the law since this isn't directly related to Cocoa. -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator

Re: NSMenuItem and images

2008-04-27 Thread Seth Willits
m at 32x32, much too large. Manually resizing to 16x16 works well, but I don't want to hardcode that image size. Why not? If you want them to be 16x16 (which you do) you kinda have to set them to be 16x16... -- Seth Willits ___ Cocoa-d

Re: 8 Digit random number

2008-05-07 Thread Seth Willits
On May 7, 2008, at 1:50 PM, Mr. Gecko wrote: Hello I am needing to find out how to do an 8 digit random number in cocoa. If there are no way than I can use random number from 1000 to in applescript and receive the retuned value. Use rand()? -- Seth Willits

Re: 8 Digit random number

2008-05-07 Thread Seth Willits
On May 7, 2008, at 2:02 PM, Jean-Daniel Dupas wrote: Le 7 mai 08 à 22:54, Seth Willits a écrit : On May 7, 2008, at 1:50 PM, Mr. Gecko wrote: Hello I am needing to find out how to do an 8 digit random number in cocoa. If there are no way than I can use random number from 1000 to

Synchronizing QTMovieLayers

2009-01-06 Thread Seth Willits
lly rather not have to pull frames out of the movie and manually draw them myself or something like that.) -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the lis

Re: Synchronizing QTMovieLayers

2009-01-06 Thread Seth Willits
anks again, (I'm glad the mailing lists are working again!) -- Seth Willits On Jan 6, 2009, at 7:56 AM, Matt Long wrote: Seth, Synchronization is done at a lower level. You need to get the movie time base of the movie you want to be the master and then set the master time base for the

Re: "Show In Menu Bar" Option?

2009-01-21 Thread Seth Willits
Do what?! Just simply call setView: -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Plain Text UTI Madness

2009-01-28 Thread Seth Willits
plain-text? Short of allowing *any* file to be selected by this open panel, the only thing I can think to do is create a delegate which checks kMDItemContentType for the file to see if it's "Plain text". I really would rather not. Can anyone offer some helpful tips? Thanks

URL Parsing

2009-01-28 Thread Seth Willits
?key1=valueNoSpaces&key2=value+with+space&key3=value+with %0Apercent%0Aescapes Does anyone know of a couple of methods that can simply grab the action and KV pairs decoded without a lot of hassle? Thanks, -- Seth Willits ___ Cocoa-dev

Apple Events and Modal Sessions

2009-01-28 Thread Seth Willits
nts always be firing during a modal session? -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com He

Re: Apple Events and Modal Sessions

2009-01-28 Thread Seth Willits
On Jan 28, 2009, at 9:50 PM, Seth Willits wrote: Does anyone know what's really going on here? Should AppleEvents always be firing during a modal session? Call me a fool on this one. I didn't realize my AppleEvent handler was being set up after the call to runModal, thus it n

Re: Plain Text UTI Madness

2009-01-29 Thread Seth Willits
seems to be the Finder's catch all. Try this: 'touch / foo', then Get Info on that file. It's "Plain Text". Interestingly, I have files containing oodles of binary which are also marked as Plain text. I guess Spotlight has some identity iss

Re: Plain Text UTI Madness

2009-01-29 Thread Seth Willits
that. -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your

Re: URL Parsing

2009-01-29 Thread Seth Willits
l may be bugs. If you use it, and find any bugs, let me know. Awesome! I'm far too lazy (at least for this purpose) to do proper parsing so I just banged out a quick cheesey few lines which works for my needs. This is great though. I'm keeping it around.

Determining Previous Front Process

2009-01-30 Thread Seth Willits
the active one right before I activate, not after I deactivate. Any ideas? -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa

Re: KeyDown woes =(

2009-01-30 Thread Seth Willits
ng so that they won't become key unless required. My only guess is that's the issue. -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact th

Re: Determining Previous Front Process

2009-01-30 Thread Seth Willits
PITA. The search algorithm is lame. Searching for "GetFrontProcess" and "Neuburg", for example, should *surely* show this thread at the top. Does it? No. It's not even anywhere in the top 100 results. What kind of search is that? -- Seth Willits _

Drawing Invalidation Question

2009-01-31 Thread Seth Willits
m the documentation, there isn't a difference. Am I misreading something important? -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the mod

Re: Drawing Invalidation Question

2009-02-01 Thread Seth Willits
to know at this point but I thought it might be worth mentioning ;-) Actually, it is very relevant to what I am doing. :-) Thanks all, -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or

Re: Read lines from very large text file

2009-02-02 Thread Seth Willits
o the next chunk. -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/U

Re: Read lines from very large text file

2009-02-02 Thread Seth Willits
then do byte-for-byte comparison on the file to find occurrences of that delimiter. -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact th

Re: Read lines from very large text file

2009-02-02 Thread Seth Willits
hat as well, and honestly I'm not 100% sure. I can see it being plausible or very likely to be problem and I'm not sure which is correct. Oops. But it should be universally easy to deal with by checking the MSB on the preceding byte if it's not fix

Re: Tab

2009-02-03 Thread Seth Willits
tab inside of a view in the window, and size and position the tab accordingly. -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at

Re: Full Screen Mode With MenuBar

2009-02-04 Thread Seth Willits
re? I have done many google searches and read through the archives. Looks like many have asked, but an exact answer is hard to come by. Just resize the window? If you need to hide the dock you can use SetSystemUIMode -- Seth Willits ___ Cocoa-dev ma

One Shot Windows: WARNING

2009-02-07 Thread Seth Willits
oneShot NO, then the window controller is deallocated, but the views in the window are still alive, and it tries to draw those views, sending table view data source methods to the deallocated window controller. KABOOM. -- Seth Willits

Re: Animated toolbar

2009-02-07 Thread Seth Willits
bar needs to go, although what we replace it with, I have no idea at this stage. You could post a link to some screenshots and get some feedback. -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post ad

Re: Cocoa Event Monitor?

2009-02-07 Thread Seth Willits
rching and the only thing that looks promising is NSDistributedNotificationCenter. It's not the same thing. Notifications are not Events. -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin request

Re: One Shot Windows: WARNING

2009-02-07 Thread Seth Willits
http://www.sethwillits.com/temp/OneShotDocTest.zip As is, launch the app, close the window using Cmd-W and it will crash. (Clicking on the close widget works fine.) Go into the nib and change One Shot to YES and it will not not crash. -- Seth Willits ___

Re: One Shot Windows: WARNING

2009-02-10 Thread Seth Willits
ted after the window controller instead of before, such as when setOneShot:YES. The behavior of non-one shot windows is obviously not clear. -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moder

Re: One Shot Windows: WARNING

2009-02-11 Thread Seth Willits
ing about those circumstances, it only means that you need to not write this kind of bug. Except if you had spent two hours trying to figure out what was going on, you'd be happy to have read a thread warning that a tiny inconspicuous checkbox does more than the documentation leads on to. ;-

SSH Tunnel

2009-02-20 Thread Seth Willits
tree trying to use the command line app to do it? Perhaps I should be using a yet-to-be-discovered library instead. Thanks, -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comm

Code Signing for Dummies

2009-03-02 Thread Seth Willits
hain nag dialog. (Actually, it's more for myself since I rebuild the app several times a day and it nags me each time :p ) So do I just create self-signed certificate and select it in the Xcode build settings and that's it? Everything is as desirable and as functional as nee

Re: Strategy for naming support folder

2008-10-09 Thread Seth Willits
others do? Most apps use just the name, but I've never liked that and I support your idea of using the bundle identifier. Makes a lot of sense. I use my apps' names, but other companies will create a company folder with subfolders in it for each app. iWork does this, for example

Re: NSNull and @""

2008-10-10 Thread Seth Willits
Or just simply don't have anything in the dictionary.) -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lis

Re: NSNull and @""

2008-10-10 Thread Seth Willits
rly: "The NSNull class defines a singleton object used to represent null values in collection objects (which don’t allow nil values)." You can't stick nil into dictionaries and arrays. So either you stick an empty string, an NSNumber wit

Re: NSNull and @""

2008-10-11 Thread Seth Willits
ed as a marker for the variable argument list to say "this is the end of the list." It's not actually inserted into the dictionary at all. Why it's required is really beyond me, but it's simply an Obj-C syntax thing. -- Seth Willits __

Re: NSNull and @""

2008-10-11 Thread Seth Willits
On Oct 11, 2008, at 11:47 AM, Michael Ash wrote: On Sat, Oct 11, 2008 at 1:57 PM, Seth Willits <[EMAIL PROTECTED]> wrote: If it's what I think you're talking about then: No, nil is used as a marker for the variable argument list to say "this is the end of the lis

Re: Distributed Objects Performance

2008-11-13 Thread Seth Willits
On Nov 13, 2008, at 9:26 PM, Bridger Maxwell wrote: However, values would be changed quite often. How often? 60 times per second often? Once per second often? Every minute, often? You'll need to calculate the amount of data you're expecting to transfer, worst case. -- Se

Re: Distributed Objects Performance

2008-11-13 Thread Seth Willits
On Nov 13, 2008, at 9:26 PM, Bridger Maxwell wrote: However, values would be changed quite often. How often? 60 times per second often? Once per second often? Every minute, often? You'll need to calculate the amount of data you're expecting to transfer, worst case. -- Se

Re: Distributed Objects Performance

2008-11-14 Thread Seth Willits
aw data in one big package, they'll probably be roughly equivalent. If you're actually sending a lot of little objects separately, DO might not be up to the task. If you're as close to being done as it sounds like you are, mi

Re: Distributed Objects Performance

2008-11-14 Thread Seth Willits
self-respecting computer network is gigabit these day ;-) -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admi

NSTask - Notification and Threads

2009-03-05 Thread Seth Willits
d and use a condition to know when it's actually happened. The latter seems pretty reasonable. Anything else? Anyone have solid experience with this situation? I find it odd the docs don't mention this, but maybe it's one of those things I'm "just suppose

Re: NSTask - Notification and Threads

2009-03-05 Thread Seth Willits
ht. Looks like I did. :) Cheerio, -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Upda

Extreme Crashing from QT Movie Layers in Core Animation

2009-03-06 Thread Seth Willits
these and see if anything stands out? I really have no idea what to do. ;'-( -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators

Incomprehensible KVC Failure!

2009-03-17 Thread Seth Willits
completely boggling my mind. The only thing that worked was to create an implementation of setSuggestedDiskImageName: and manually call will/didChangeValueForKey. What on Earth can I do? -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@l

Obvious NSSegmentedControl Bug?

2009-04-12 Thread Seth Willits
quot; %@", [sc isSelectedForSegment:2] ? @"YES" : @"NO"); Before: 1 NO YES NO After: 1 NO NO NO selectedSegment: "[Returns t]he index of the currently selected segment, or -1 if no segment is selected." No segment is selected so sel

Re: Obvious NSSegmentedControl Bug?

2009-04-13 Thread Seth Willits
Filed. #6787552. Thanks. -- Seth Willits On Apr 13, 2009, at 4:17 PM, Peter Ammon wrote: This looks like a bug. I appreciate your taking the time to check and hopefully to file it. -Peter On Apr 12, 2009, at 1:22 PM, Seth Willits wrote: I need a sanity check before I file a bug

Re: QTMovieDidEndNotification

2009-04-16 Thread Seth Willits
e end notifications? -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update

Empty stack trace in crash reports

2009-04-20 Thread Seth Willits
finished, is spazzed because of stack corruption? I'm wondering if this could be a potential clue for some patterns that I should be learning. -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin r

Re: Empty stack trace in crash reports

2009-04-21 Thread Seth Willits
read_detach() (or by creating them with an attribute set by pthread_attr_setdetachstate()), or call pthread_join(). If you don't do either, then you'll end up with zombie threads in the same way that you do with processes. Hmm. Nope. I'm only ever using NSThreads. Thanks

Re: Empty stack trace in crash reports

2009-04-21 Thread Seth Willits
they don't have any backtrace when they're not executing something. A. That's all it is then. I figured every thread would have at least one entry. Thanks Greg, -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.

Instance variable access from functions

2009-04-21 Thread Seth Willits
)print; { dotheprint(self); } @end -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.

Re: iphone SDK session duration

2009-04-21 Thread Seth Willits
know when you've launched and when you will quit. -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.

Re: Instance variable access from functions

2009-04-21 Thread Seth Willits
n it thoroughly. :-) Anyway, if the non-protected access is a known/common/public behavior - great! I wish I knew about this ages ago. -- Seth Willits On Apr 21, 2009, at 7:50 PM, Luke the Hiesterman wrote: It's done all the time. You should read up on Objective-C 2.0 properties, though, to

Really big files and encodings

2009-04-21 Thread Seth Willits
d then my code wouldn't be future- proof if an encoding is added. Can anyone offer some insight into how I could dynamically determine an encoding's characteristics? Or maybe I should just hard code it/do it by hand because there are really very few cases to handle. Thanks, --

Re: Really big files and encodings

2009-04-22 Thread Seth Willits
n't even think of it this time. Heh. Well shoot. Nevermind. :-) Thanks, -- Seth Willits ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at coco

<    1   2   3   4   5   6   7   >