On 2 Mar '08, at 4:54 AM, Steven Degutis wrote:
I think it's clear why [currentTrack
isKindOfClass:[iTunesFileTrack class]] evaluates to true: in the
previous line, you defined it as such, like this:
iTunesTrack *currentTrack = [iTunes currentTrack];
So obviously it is an iTunesTrack!
No. It
On 2 Mar '08, at 10:09 PM, Adam P Jenkins wrote:
I'd like to make Spotlight index individual records from my
application, rather than whole files.
Spotlight doesn't support that yet. Its unit of granularity is whole
files.
Some examples of this are Apple's own iCal, Address Book, and
On 2 Mar '08, at 4:03 PM, Steve Weller wrote:
The subview bounds are set correctly at the start, but if I make the
subview's frame larger, the bounds are scaled larger too. I thought
from this in the NSView docs that the subview's bounds would stay
fixed:
Nope. Changing a view's frame
On 3 Mar '08, at 5:50 AM, Adam P Jenkins wrote:
Thank you for the information. Search Kit does allow indexing
arbitrary pieces of data that don't have to correspond to actual
files, and since Spotlight is built on top of Search Kit I thought
there would be some way to do the same thing.
On 3 Mar '08, at 6:34 AM, Nick Rogers wrote:
Now I need to show an icon in every row
Add a new column and make its data cell an NSImageCell in IB.
and also have to display 2 rows of text in one row of tableView.
Is it possible, if yes then how and can i incresse a row's width to
On 3 Mar '08, at 1:08 PM, Dave Hersey wrote:
Is there a way to get NSURLConnection to connect to an SSL server
that has an expired certificate?
I don't think so. I can't find any public API having to do with SSL or
certificates.
If this can't be handled by NSURLConnection, is there a
On 3 Mar '08, at 1:10 PM, aldo kurnia wrote:
Given a window's TITLE, how do you create a reference to it,
determine what kind of application the window is (the name of the
application/executable)? and how do you move that window to the front?
Applications run in protected memory spaces.
On 3 Mar '08, at 1:56 PM, Nick Zitzmann wrote:
I checked the archives and didn't see anything. How do I set the
image to display in a pull-down NSPopUpButton using Interface
Builder 3.0?
That's funny, I was just doing this for the first time today, too! I
got it to work...
I also
On 3 Mar '08, at 11:00 PM, Stuart Malin wrote:
The library defines an XML_Char type, so my code below refers to
that, but XML_Char is wchar_t (which, I believe is UTF8 on a Mac).
No. It's UTF-16. (UTF-8 is an 8-bit encoding, a superset of ASCII
where characters 127 are encoded as multiple
On 3 Mar '08, at 6:16 PM, Graham wrote:
The question is: would the better design be one-controller-per-view,
or a single controller supporting multiple views? In other words
should the controller typically associate with a single view or the
data model?
Generally there should be a
On 4 Mar '08, at 1:18 AM, ali alavi wrote:
I need to be able to load the page automatically when I
programmatically set the URL filed to a web page address. However
the only way I can make the page appear now is by clicking in the
URL field and hitting Return key. How can I do this
On 4 Mar '08, at 3:23 PM, Sean McBride wrote:
There's also Canadian English (en_CA), and perhaps others too...
The ISO is in the process of adding en_LOL for Lolcat, aka Kitteh or
Cat Pidgin[1]. (If you don't think there's a need for this, consider
what HTTP Language: header value should
On 4 Mar '08, at 8:55 PM, John Engelhart wrote:
It's sort of ambiguous if the /usr/lib/libicucore library is
'supported' or not. I believe the general consensus is that it's
not really there for public use, hence the missing headers, but it's
also not verboten.
Yeah, this is annoying.
On 5 Mar '08, at 9:15 AM, I. Savant wrote:
Okay, well that sucks. So now the question is this: does Core Data
implicitly run VACUUM? If so, when? How often? Unfortunately googling
and archive-searching did not produce any obvious answers to this
particular question. My guess is that the
On 5 Mar '08, at 12:24 PM, Eric Scharff wrote:
This doesn't make sense because TLS shouldn't require host name
verification anyway, and I'm sure that the server's SSL certificate
is valid.
The cert does look valid, and matches the domain name, so that doesn't
seem to be the problem.
On 5 Mar '08, at 3:49 PM, I. Savant wrote:
To that, I pose another question: Why, then, does it make such a
huge difference when I run the vacuum command against Mail's
database? After just a month of usage, Mail seems sluggish when
switching between various folders, but once I run the
On 4 Mar '08, at 12:47 AM, Matthew Delves wrote:
What I'm not sure about is how to pass any mouse click events
through to the custom view rather than have them handled by the
NSToolbarItem.
Currently the custom view contains an NSSlider and an NSTextField.
AppKit's regular
On 7 Mar '08, at 2:45 PM, Jake wrote:
I have a Cocoa console application that has code that I was sure
would leak - [NSNumber alloc] with no corresponding release. But
when I run those tools I detect no leak.
If you're just calling literally [NSNumber alloc], you're probably
just
On 8 Mar '08, at 1:57 PM, Trygve Inda wrote:
Is this expected? Can I rely on it? I will never need to change
dict, but I
am modifying items within a known sub Dictionary.
Don't rely on this; it's entirely possible this behavior could change
in the future, causing your app to throw an
On 10 Mar '08, at 6:35 PM, Ben Lachman wrote:
Alternatively, if you're managing more than two requests at a time
you can declare a mutable array of connections and then build a
dictionary for each connection that includes any info you want you
delegate to have available.
I think it's
On 10 Mar '08, at 9:10 PM, Jim Brown wrote:
In Tiger one can determine if AFP is running with 'ps -axc | grep
AppleFileServer' and AFP can be turned off by simply running a shell
command (sudo killall AppleFileServer). This doesn't really work in
Leopard for either determining if AFP is
On 11 Mar '08, at 10:18 AM, Jean-Daniel Dupas wrote:
The first advice I can give you is do not load the whole file into
memory.
Absolutely.
Use read stream to read chunk of data and process them. (see
NSInputStream or NSFileHandle).
Or if the file is simple ascii text with newlines,
On 11 Mar '08, at 9:36 PM, Marc Respass wrote:
I am confused about how to prevent click through.
I don't _think_ this is related to click-through, as in buttons in
inactive windows still responding to clicks. Click-through doesn't
happen for buttons explicitly marked as disabled.
My
On 12 Mar '08, at 7:44 AM, Daniel Thorpe wrote:
I'm trying to archive an object using NSKeyedArchiver. The object is
question has quite a complex structure, and one of it's instance
variables is an NSMutableData. I've tried using
[coder encodeObject:result
On 12 Mar '08, at 11:00 AM, John Stiles wrote:
You can dive into BSD to get some values which might help you.
I'm not an expert on this, but I've listened in on email threads where
OS X kernel engineers were giving answers.
Trying to preflight memory allocations is, basically, not
On 12 Mar '08, at 12:01 PM, Trygve Inda wrote:
(1) draw an NSImage into this bitmap
(2) draw some semi-opaque text over the bitmap
As I said, call -lockFocus on the imagerep. Then issue drawing
commands (just as though you were in a view's -drawRect: method). Then
calll -unlockFocus.
On 12 Mar '08, at 2:49 PM, Nathan Vander Wilt wrote:
I don't understand what this base coordinate system
is (not the window's, otherwise the conversions would
likely be offset by the view's position therein,
right?). But whatever it is, it seems to be shared by
the CALayer.
The Cocoa
On 12 Mar '08, at 6:09 PM, colo wrote:
As I two really want to get started at learning how to code for the
NDA thing as well
That NDA thing must be just that awesome to wait so long for some docs
Part of the fun of being an early adopter is that you have to figure
stuff out before there
On 12 Mar '08, at 9:40 PM, S.J.Chun wrote:
For example, a file in zip archive from Windows(Korean), the file name
will have CP949 encoding. If I unzip this file the file name looks
weird as
you already expected. How can I repair the name of file?
That depends on what the un-zip program
On 12 Mar '08, at 10:27 PM, S.J.Chun wrote:
It seems that when Finder unzips the zip file from Windows(which
have files of CP949 encoded filename), it does not make unzipped
file name as byte-by-byte equally as CP949; it does use some kind
of unknown transformation of encoded name.
That's
On 12 Mar '08, at 11:23 PM, Seth Willits wrote:
Obj-C 2.0 takes 20 minutes to learn. There's not that much
different, and the docs cover it pretty well.
For the most part; but there are some subtleties* that can take some
extra time to grasp later on as you run into them. (They are
On 13 Mar '08, at 8:52 AM, Daniel Child wrote:
I am using sortArrayUsingFunction: context: to sort a fairly large
table (100k recs). Judging from the readout of comparisons being
made the sort appears to be about 80% done when everything comes to
a halt. No message, no nothing. It just
On 13 Mar '08, at 10:31 AM, Rahul Shetty wrote:
We do quite a lot of downloads simultaneously ( in the range of
100-200).NSURLDownload is used for the purpose. We witness some
random crashes while doing so.
We use separate threads to carry out these downloads. One thread is
made to
On 13 Mar '08, at 1:42 PM, Daniel Child wrote:
That makes a lot of sense to me, and that's the situation I'm trying
to get to. But right now all I have is the original (unsorted) raw
data. So I need to load it into memory and sort it.
You don't necessarily need to sort all of it at once.
On 13 Mar '08, at 2:11 PM, Karan Lyons wrote:
The table itself is pretty simple: It's just two columns, one with
every zipcode in the US, and the other with the corresponding
weather code.
If the weather-codes are all as short as in your example, you could
create a file that's just an
On 13 Mar '08, at 5:44 PM, Trygve Inda wrote:
Is this thread-safe? Or is it better to create the NSImage so I can
call lockFocus ?
The two are equally thread-safe, I'm pretty sure. I have never been
brave enough to use AppKit on multiple threads, but I believe the
current graphics
On 13 Mar '08, at 5:49 PM, lazuardi wrote:
Does anybody know how to get the full username of the currently
logging in user at Tiger?
You could have answered this yourself by opening Xcode's documentation
window (Help Documentation), typing username into the search
field, and setting
On 13 Mar '08, at 8:38 PM, Adam Gerson wrote:
I see that persistentStoreCoordinator just uses an NSURL which is
great for remote reading because I can pass it an http url.
Not necessarily. There are APIs in the system that take URLs, but only
work with file: URLs. (For example,
On 13 Mar '08, at 9:30 PM, lazuardi wrote:
yes, I have done checking both of the leopard and tiger's darwin
sources, before I ask to the mailinglists.
You are asking to the *wrong* mailinglist. This one is for Cocoa
(Foundation/AppKit/etc.) programming. Your question is about lower-
On 13 Mar '08, at 8:34 PM, Daniel Child wrote:
It sounds like my program shouldn't be freezing in the first place,
since my files are not THAT big. Here are the details.
The most useful details would involve a sample* of what your program's
doing. My guess is that it's just taking an
On 13 Mar '08, at 9:48 PM, Kyle Sluder wrote:
HTTP doesn't support writing.
It does, actually. That's what the PUT method does; Tim Berners-Lee
saw writeability as an important part of the Web architecture. But
everyone just ignored poor PUT, until a few years ago when the
buzzword
On 13 Mar '08, at 10:04 PM, lazuardi wrote:
I ask about the possibilities of doing that from Cocoa, because
lowlevel API has failed.
It's usually the other way around: you go to the low-level API if
Cocoa fails. There's not much in the OS that's only accessible from an
Obj-C API,
On 13 Mar '08, at 11:18 PM, Mayank Varshney wrote:
I am trying to set memory limit using setrlimit function function
using
resources RLIMIT_AS , RLIMIT_RSS , RLIMIT_DATA seperately . I also
tried to
Neither cocoa-dev nor carbon-dev is the right place to discuss this.
Try the
On 13 Mar '08, at 10:10 PM, Kyle Sluder wrote:
POST isn't usable for this: The action performed by the POST method
might not result in a resource that can be identified by a URI.
Not generically usable, no, but some web-apps have protocols that use
POST to save a resource in a PUT-like way
On 15 Mar '08, at 3:37 PM, Thomas Bartelmess wrote:
Does somebody know, if there is a way do disable Exposé / Spaces etc.
I'm working on a presentation mode... and I want so disable the keys
for Them.
System Preferences Keyboard Keyboard Shortcuts
Scroll through the outline and look for
On 15 Mar '08, at 9:39 PM, Dmitry Markman wrote:
I remember, previously (10.3.X) responder wasn't the same: it could
be NSTextView or NSTextField or something different
but now it is always WebHTMLView (something undocumented I suppose)
The textfields and textareas in WebViews used to be
One thing I still haven't figured out how to do in Core Animation is
how to schedule an animation to start after previous animations have
finished. Anyone know how?
For example, in GeekGameBoard, moving a checkers piece is done by
(1) Changing the piece's superlayer to be the root layer,
On 16 Mar '08, at 9:43 AM, Joachim Deelen wrote:
maybe the Delegation Method:
- (void)animationDidStop:(CAAnimation *)animation finished:
(BOOL)finished;
is what you are looking for?!
It would be, if I had a CAAnimation object. But I don't. All I did was
something like layer.position =
On 16 Mar '08, at 12:07 PM, John Harper wrote:
Implicit animations are useful in many scenarios, but due to the
simplicity of the API they don't cover everything. If there are
things you'd like to see them extended to support please file bugs.
Thanks for your detailed answers, John.
The
On 17 Mar '08, at 9:26 AM, Ryan Poling wrote:
applicationShouldHandleReopen:hasVisibleWindows:
No, that delegate call controls what happens if your app is double-
clicked when it's already running. Some apps respond to this by
opening a new untitled document, for consistency in behavior.
On 17 Mar '08, at 9:56 AM, Ryan Chapman wrote:
In MaxPostProcessing.app, how can I determine the file that was the
parameter passed to openFile: ??
In your class that's the NSApplication's delegate, implement the method
- (BOOL)application:(NSApplication *)sender openFile:(NSString
On 17 Mar '08, at 10:06 AM, Robert Tillyard wrote:
If you're looking fot the equivalent of argc/argv you might be
looking for...
NSProcessInfo *procInfo = [NSProcessInfo processInfo];
NSArray *args = [procInfo arguments];
But documents to be opened are never passed through argv; they're
On 17 Mar '08, at 10:42 AM, Jean-Daniel Dupas wrote:
Why no? The documentation says:
«These events are sent whenever the Finder reactivates an already
running application because someone double-clicked it again or used
the dock to activate it.»
That means clicked on its icon in the
On 17 Mar '08, at 11:38 AM, Andy Klepack wrote:
Does an 'event cycle' then include anything dispatched from a run
loop source? For instance, if I was to create a kqueue, create a run
loop source for it, and add that to the main run loop, does an
AutoReleasePool automatically get created
On 17 Mar '08, at 12:00 PM, Ryan Chapman wrote:
Is there any way to get this information from within a command-line
utility?
In my case, I have a command-line utility wrapped up in an
application bundle, so I
really don't need any GUI stuff, but I thought I could use the Cocoa
classes
to
On 17 Mar '08, at 2:25 PM, Andy Klepack wrote:
In the case of C callbacks wouldn't it be the case that an
autorelease pool would exist (that of the main thread) but that it
would not be emptied once the callback completes? You wouldn't see
any warnings if that were the case.
You're
On 17 Mar '08, at 3:20 PM, Nathan Vander Wilt wrote:
Does -dateWithString: really not support the
international [standard!] string representation of
ISO 8601?? What's the right way to convert such an
xsd:dateTime to an NSDate?
+[NSDate dateWithString:] is, I think, configured to recognize
On 17 Mar '08, at 4:30 PM, Nathan Vander Wilt wrote:
This works, BUT...I had to edit the format a bit because my time
strings (in this sample!) did not have the decimal seconds. However,
I wouldn't be surprised to see input with sub-second precision. How
can I specify optional format
On 17 Mar '08, at 7:55 PM, Matthew Miller wrote:
I am a complete and total new person to coca and I need to create a
horizontal Matrix of cells to house icons of applicationp URLs from
a table.
I totally don't know how to do this.
Start with something simpler, then. Take one of the many
On 18 Mar '08, at 12:32 AM, Scott Squires wrote:
I'm still getting the following error:
error: syntax error before 'AT_NAME' token
...
#import stdStuff/stdStuff.h
@class myClass;
(1) Does stdStuff.h include the AppKit, Foundation or Cocoa
framework headers? If not, then NSObject itself
On 18 Mar '08, at 9:11 PM, Chris Meyer wrote:
In older versions of Xcode (2.5!) it used to be possible to break on
console
output by putting a breakpoint on NSLog.
Is there any equivalent breakpoint to set to stop on console
messages in
Xcode 3.x (or 10.5)?
Not all console output is
On 18 Mar '08, at 5:51 PM, J. Todd Slack wrote:
I am just looking for the most efficient way
Some principles:
* Insertion into the middle of a string (or array) is inefficient.
It's faster to append.
* Creating new strings is inefficient (as with -
stringByAppendingString:).
*
On 18 Mar '08, at 9:53 PM, J. Todd Slack wrote:
So how do I write out a text file in UTF16-BE encoding? Maybe this
would
solve my problem.
You *are* writing it out in that encoding; that's the problem. It's
not the default text encoding, so apps won't interpret the text
correctly. You
On 22 Mar '08, at 12:40 PM, Marco Cassinerio wrote:
Using NSPropertyListSerialization means that the .plist file is a
binary representation and not an XML representation, is it true?
No. You can choose either format when writing a plist, and when
reading a plist it automatically detects
On 22 Mar '08, at 1:19 PM, Marco Cassinerio wrote:
I've done what you said, but nothing changed. I get the same data
content, like this:
ImgR\362FBIL\346\326\303\331\376\247H+\222!\222C\303\351-+
\377\376\377\377\377\377\222!\221\302\221\301
\2161\216a
mfile.icnsMacintosh
On 22 Mar '08, at 6:02 PM, Colin Cornaby wrote:
When I load the 5000x5000 image into my CALayer's contents,
Instruments does not see any change in my memory usage, while
Activity Monitor sees the 200 MB extra being allocated. Instruments
also does not find any leaks in my program.
On 22 Mar '08, at 3:23 PM, Guillem Palou wrote:
The debugger crashes in a MoviesTask call. The movie is loaded long
before the call, but the QTMovie object is created only a few
instants before. All the other objects look valid.
Maybe a Movie, or other important object, got deallocated.
On 23 Mar '08, at 7:00 AM, JanakiRam wrote:
I'm developing a cocoa application which needs to unload my
Launch
Daemon for one particular requirement. I've used Authorization
Services to
perform unload of Launch Daemon ( previlaged action ). But couldn't
succeed
in this. I'm getting
On 23 Mar '08, at 7:26 PM, Brian Kendall wrote:
I'm trying to write a preference pane that allows the user to
specify a hotkey.
Take a look at Nathan Day's NDHotKeyEvent utility code:
http://homepage.mac.com/nathan_day/pages/source.xml
The description is:
This is a class for
On 23 Mar '08, at 10:04 PM, charlie wrote:
I could care less what anyone else thinks about this decision.
I simply want to know how to suppress the warning.
That statement gives the impression of treating the members of this
mailing list as though they were some kind of natural-language
I've put an NSLevelIndicator into a panel, configured it to show
iTunes-style star ratings, and made it editable. Unfortunately it
doesn't draw the dots where stars would go; so if the current rating
is zero stars, the control is completely invisible. This presents a UI
problem, as the
Distributed notifications aren't the same thing as NSNotifications,
even though Foundation tries to give them a similar API. Regular
notifications aren't available to other processes; a notification has
to be explicitly posted as distributed, and few are. Distributed
notifications are
I always create a separate delegate object for each URLConnection. It
makes the delegate code simpler, and avoids problems like the one
you've run into.
—Jens
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list
On 24 Mar '08, at 2:06 PM, Justin Giboney wrote:
Putting this line
-L/usr/local/pgsql/lib -lpq
in my Other Linker Flags, made the error go away,
If you're using Xcode, you can do the same thing through the GUI by
adding the dylib (pq.dylib?) to the project using the Add File...
command.
This is REALLY not the right way to be doing this. I'm not talking
about what auth mechanism to use; I'm talking about what you should be
doing as root. I speak as someone who might download and use your
program someday.
(a) Most of what you're doing can be done in Cocoa without having to
Sorry for a 2nd reply but I just looked at what ImageMagick is.
If your app uses this library, you don't need to (and shouldn't)
install it at the root of the OS. Instead, put the shared library into
your application bundle. That way your app doesn't need authorization,
doesn't alter the
On 25 Mar '08, at 12:34 AM, Ivan C Myrvold wrote:
This works fine for the columns which have NSTextFieldCell, and it
also colors the column with the NSButtonCell,
but when I select a row, the column with NSButtonCell still have the
color as set above, and not the selection color.
You
On 27 Mar '08, at 6:10 PM, B.J. Buchalter wrote:
I am writing code that is linked to the 10.4u SDK. Does this mean
that I need to release the string?
Yes.
What happens if my app is run under 10.5?
Cocoa detects that your code was linked with the 10.4 SDK and follows
the old behavior.
On 27 Mar '08, at 7:59 PM, Kyle Sluder wrote:
On Thu, Mar 27, 2008 at 10:55 PM, Jeff Laing [EMAIL PROTECTED]
wrote:
What confuses me is that people keep talking about @constant as
though
it were a 'string constant'
Its not, it's an Objective-C object that you can send messages to.
[snip]
On 28 Mar '08, at 10:59 AM, C Sandeep wrote:
Im trying to access a custom http server via my cocoa app. I have
looked at various libraries, mainly CFNetwork, available from apple,
however Im not sure which one of them to use(Im comfortable using
Objective-C over C) .
Then why not use
On 28 Mar '08, at 3:34 PM, Vladimir Sokolov wrote:
How can I make fixed width of the left pane in the NSSplitView?
You need to implement the method
- (void)splitView:(NSSplitView *)sender resizeSubviewsWithOldSize:
(NSSize)oldSize
in the splitview's delegate. To do what you want, you
On 29 Mar '08, at 6:44 AM, Trygve Inda wrote:
Can I call the following from a thread?
Apologies for giving an opinion instead of an answer ... but here's my
opinion. I've always avoided calling AppKit from multiple threads.
Instead I run the app's entire UI on the main thread, use
On 29 Mar '08, at 8:32 AM, Davide Benini wrote:
repetitions = [[NSNumber alloc] init];
variantEnding = [[NSNumber alloc] init];
These lines don't really make sense. NSNumber (like its superclass
NSValue) is immutable. You can't store a different number in
On 30 Mar '08, at 8:34 AM, Trygve Inda wrote:
How did you work around this?
Basically I am opening a bitmap drawing an NSImage into it, then
pixel-level
tweaking the bitmap, and saving it to disk as a jpg.
You might want to drop down a level and use CGImage for your bitmap.
CG is
On 31 Mar '08, at 11:23 AM, Randall Meadows wrote:
My app places files in a known location in the hierarchy that apache
is serving, and I need to send out a notification when I make a
change that's visible via that hierarchy, so that remote apps can
pick up the changes. The docs for
On 1 Apr '08, at 1:35 AM, Hamish Allan wrote:
I disagree. If the updates are frequent, this makes a lot of work for
every other machine on the LAN to update their mDNSResponder caches.
If they're updating every second, then yes, TXT records would be
inappropriate. But Randall didn't say
On 1 Apr '08, at 5:39 AM, Brad Gibbs wrote:
Given this, I'm suspecting it responds to HTTP Posts, rather than
XML-RPC or SOAP requests.
But both those protocols do use HTTP POSTs. (XML-RPC can use alternate
transports, but in practice it's almost always over HTTP.)
I've seen references
On 1 Apr '08, at 8:25 AM, Randall Meadows wrote:
If they're updating every second, then yes, TXT records would be
inappropriate. But Randall didn't say whether the updates were that
frequent.
I would expect maybe 5-10 over a 2-3 minute period, and then a
downtime of about the same;
On 1 Apr '08, at 8:42 AM, Valentin Dan wrote:
I’d like to know if there’s any way to use a UNC path with a
NSURLConnection object ? Can the UNC perhaps be transformed in a
NSURL ?
I had to look up UNC on Wikipedia; I think what you're talking about
is a type of path string used on
On 1 Apr '08, at 10:22 AM, Kimo wrote:
ERROR: __CFURLCache::StepSQLStatement - step failed (exceed retry) -
ErrCode: 5
That's an internal error from CFNetwork's URL cache (which happens to
use a sqlite database.) Nothing to do with CoreData.
—Jens
smime.p7s
Description: S/MIME
On 1 Apr '08, at 10:44 AM, Jesse Grosjean wrote:
n my app it seems like it would be simpler to just setup a timer and
just directly update the ships position based on it's velocity for
each time interval from my timer. I'd still want to use the built in
core animation animations for other
On 1 Apr '08, at 11:07 AM, Nathan Vander Wilt wrote:
The NSImage that my FRPhoto holds on to should have invalidate[d]
and free[d] the offscreen caches of all image representations.
That doesn't mean the image representations themselves are flushed,
though. They're still there, typically
On 1 Apr '08, at 12:06 PM, Bill wrote:
Is my app causing it to happen? If so, should I try and correct
it? Or can I safely ignore it?
IIRC, sqlite error 5 means the database is locked. I think the only
way that could happen is if you have multiple copies of your app/
process running at
On 1 Apr '08, at 7:47 PM, Nathan Vander Wilt wrote:
Looks like I'll have to design a smarter architecture to keep the
right images in memory at the right time.
IKImageBrowserView (new in 10.5) pretty much does this for you. If its
look and feel are compatible with what you're doing (it's
On 1 Apr '08, at 4:53 PM, Martin Redington wrote:
You'd kind of hope that NSTask would clean up in its dealloc method,
but apparently not.
But you're not (and shouldn't be) calling -dealloc, you're calling -
release. My guess is that the NSTask retains itself while the process
is
That's not enough code to go on — it's not showing all the drawing.
Are you remembering to restore the saved graphics state after you
finish drawing an object?
Also, if you could paste in the code without the extra blank lines, it
would make it more readable.
—Jens
smime.p7s
On 1 Apr '08, at 10:59 PM, Valentin Dan wrote:
How can I access (from Cocoa, Objective-C code) a path like : \
\192.1.1.1\c$\SomeDir\AnotherOne\SomePicture.jpg ?
Well, you know the IP address of the server, and the path in its
filesystem. That's a start. The key question is: what
On 1 Apr '08, at 11:16 PM, Mike R. Manzano wrote:
Is there a way to get a window's z-depth in relation to my app's
other windows?
NSWindowList
Gets information about onscreen windows.
void NSWindowList (
NSInteger size,
NSInteger list[]
);
Discussion
Provides an ordered list of all
On 2 Apr '08, at 3:02 AM, Apparao Mulpuri wrote:
Is there any undocumented apis available to achieve this?
If there were, we wouldn't be allowed to talk about them on this list.
Maybe you can describe in more detail what you want to do, and we can
offer some advice. But keep in mind that
On 2 Apr '08, at 5:20 AM, Yogesh Potdar wrote:
How to make the service offered by myapp.prefPane continue even after
quitting system preferences? Is there any way by which I can run
service
offered by myapp.prefPane in background?
You'll need to create a separate executable that runs as
1 - 100 of 3277 matches
Mail list logo