On Sep 18, 2009, at 5:25 PM, Steve Cronin wrote:
Is this the 'best' this can be?
You need to call CFRelease on 'mdi', right after releasing 'arrayRef'.
I don't know why the analyzer isn't reporting that as a leak — you
could file a bug report.
On Sep 19, 2009, at 8:09 AM, Achint Sandhu wrote:
Is there a way to programatically capture content from different
applications in osx.
Not in general. It depends on how scriptable the application is.
As an example, I'd like to be able to get a webarchive of the
current web page being
On Sep 20, 2009, at 8:43 AM, Sixten Otto wrote:
One way to approach this might be to create N threads, each of which
would own a connection, and wait on the request queue
You don't need concurrency or threads to handle socket connections.
The 'Mac way' is to use asynchronous I/O, hooking
On Sep 21, 2009, at 8:15 AM, Scott Ribe wrote:
Within -windowWillClose, I need to know whether or not the user
clicked the
close button on the window.
Well, if the user clicked the close button your -windowShouldClose
delegate method will be called first. You could set a flag in there,
On Sep 21, 2009, at 8:28 AM, Graham Cox wrote:
Ideally if the list can't display more than, say 50 files at a time
(depends on how big your screen is, etc), then it shouldn't touch
more than 50 files on disk. It has never really managed that
however, and maybe there are fundamental
On Sep 21, 2009, at 5:08 AM, Michael C.Silva wrote:
Is there anyway to completely remove these headers from being
inserted by NSURLConnection?
They are not present in my NSMutableURLRequest, but show up in the
stream sent out by the NSURLConnection. I see no way to control this.
I don't
The best engineered approach would probably be to load the page up
into a WebView, BUT use the WebResourceLoadDelegate to stop it
wasting time downloading any resource that isn't the favicon.
WebView has a lot of overhead! It would be much more efficient to just
use NSXMLDocument to
On Sep 21, 2009, at 10:14 AM, Sixten Otto wrote:
I don't think that that gets me out of the problem I was really trying
to ask about, though, which is how to manage getting the work from the
(single) queue of requests from the user to the exactly N persistent
connections available to the
On Sep 21, 2009, at 1:24 PM, Kyle Sluder wrote:
You might want to review your favorite C documentation. I always
preferred KR.
Specifically, look up the keyword extern in the index.
—Jens___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
On Sep 21, 2009, at 2:15 PM, Frederick C. Lee wrote:
I'm assuming 'const datatype' is better then the compiler
directive '#define', due to the use of the compiler
for more-efficient code. Hence the attempt.
It depends. In C, a const variable of a primitive type like an integer
is less
On Sep 21, 2009, at 3:26 PM, dct wrote:
Prior to installing OS X 10.6 and Xcode 3.2 (64-bit), a bit of
FileManager code for replacing one file with another, to wit:
if( [mgr fileExistsAtPath:path1] ) [mgr removeFileAtPath:path1
handler:nil];
[mgr movePath:path0 toPath:path1
On Sep 21, 2009, at 3:40 PM, Keith Blount wrote:
My app uses a heavily modified version of the OS X text system and
has some typing lag issues. Generally it has always been fine, but
in some circumstances typing would slow down (sometimes this is in
part attributable to the fault of the
If you generate HTML you can get better control over formatting using
CSS.
Or you can build the formatted text directly using NSAttributedString,
although this can be a pain.
--Jens {via iPhone}
On Sep 22, 2009, at 7:56 AM, Arun arun...@gmail.com wrote:
Hi All,
I have a set of lines
On Sep 21, 2009, at 11:31 PM, Kyle Sluder wrote:
On Mon, Sep 21, 2009 at 11:30 PM, Erick Calder e...@arix.com wrote:
wow. ok. I guess that's not going to help much then. I must say
that
without daemons the range of applications possible seems rather
quite narrow
to me.
Background
On Sep 22, 2009, at 9:12 AM, Arun wrote:
I have written a sample code which displays the contents of RTF file
in Mutiline text filed.
The RTF file has a text which is styled like a web-link.
when i run the program, the link appears as a normal text. But if i
click on the textfiled area it
On Sep 22, 2009, at 9:47 AM, Mark Woods wrote:
However, when the task crashes, a Crash Reporter dialog appears
which could be confusing for the user and ugly if several appear at
once. Is there any way to suppress these messages and prevent them
from appearing?
I'm pretty sure there is,
On Sep 22, 2009, at 3:51 PM, Keith Blount wrote:
Initial tests suggest this has improved things a little, but I'm not
confident it's the only cause. The way that typing would get slower
and slower over time, and then speed up again once the app was quit
and relaunched, means that I'm
On Sep 22, 2009, at 3:44 PM, Erick Calder wrote:
one final recourse of a solution for me: is there such a thing as
cron on the iPhone whereby I could schedule a bit of processing to
occur every x seconds?
No. The current policy on the OS is that 3rd party code does not
execute unless
On Sep 22, 2009, at 5:53 PM, Eddie Aguirre wrote:
getting the data from the WebView through the mainFrame and
dataSource works for the initial contents but not the edited
contents. The dataSource always returns the unedited content. I've
tried editing in the WebView then turning off
Does your class have a subclass, which also has a +initialize method,
which doesn't call [super initialize]? That might cause this sort of
behavior, because the order in which the classes load may be
indeterministic.
In general, you cannot predict the order in which objects/classes are
On Sep 22, 2009, at 8:37 PM, jon wrote:
great, found it, Thank you. do you (or someone) know how to
get the current machine's default Email address for sending email?
I personally don't have a default email address. I have one for home
and two for work, and which one I want to use
On Sep 22, 2009, at 8:16 PM, Navneet Kumar wrote:
My intention was to get some general responses on two things: Memory
Management in a program on SnowLeopard (strictly needed?) and the
need for code signing.
Code signing has nothing to do with app stability. What it does is
guarantee to
On Sep 23, 2009, at 9:06 AM, Gerriet M. Denkmann wrote:
So I looked at Launch Services Reference, but could not figure out,
how to inform Lauch Services which app to use for some document.
But if Finder can tell Lauch Services, then my app should be also
able to do this, shouldn't it?
On Sep 23, 2009, at 9:44 AM, Matt Neuburg wrote:
Whoa, whoa. Let's be fair. There is some common initialization (such
as
registering defaults, esp. when bindings are also involved) that
*must* be
done in +initialize, as awakeFromNib is not early enough.
Sorry, you're right. In that
On Sep 23, 2009, at 12:31 PM, Rui Pacheco wrote:
How do you create that row? How do you keep a row of segmented cells
centered?
It's probably an NSSegmentedControl with springs on both the left and
right sides.
—Jens___
Cocoa-dev mailing list
On Sep 23, 2009, at 2:27 PM, Matt Gough wrote:
NSEnumerator *iter = [myMutableArray objectEnumerator];
while (syncInfo = [iter nextObject]) {
... Do some stuff
}
That's not a fast enumerator; that's the old-fashioned slow
enumerator. (Although as
On Sep 23, 2009, at 6:10 PM, Graham Cox wrote:
I thought that NSEnumerator was implemented in terms of fast
enumeration underneath - the docs seem to imply that, as does the
existence of __NSFastEnumerationEnumerator private class. It may be
still slower than directly using the fast
On Sep 23, 2009, at 9:38 PM, Gerriet M. Denkmann wrote:
If the document is a file, Finder will add a 'usro' resource which
contains the absolute path to the application to be used.
Thanks to Alistair who pointed me to: http://sutes.co.uk/2009/09/creator-codes-are-not-replaced.html
So the
On Sep 24, 2009, at 6:38 AM, Ricky Sharp wrote:
This is possible, but only over WiFi. I'm currently working on a
feature to do bi-directional syncing between the Mac and iPhone
versions of my app. I'm also using Bonjour for self-discovery (if
you go this route, make sure to register your
On Sep 24, 2009, at 4:11 AM, Arthur C. wrote:
The example is for inter-application communication on one machine; I'd
like to have that between two machines...
NSConnection is part of Distributed Objects. It's possible to run DO
between two machines across a TCP connection, but it takes a
On Sep 24, 2009, at 4:28 PM, gMail.com wrote:
It seems that the Front-Back drawing order of the subviews has been
reverted. How to fix this problem?
Overlapping sibling views aren't really supported in AppKit. If you
want to do this kind of thing, you're better off using CoreAnimation
On Sep 24, 2009, at 6:41 PM, Rick Mann wrote:
I'm scanning a directory for plugins for my app. Given a path,
what's the right way to tell if it's a path to a bundle?
-[NSWorkspace isFilePackageAtPath:].
—Jens___
Cocoa-dev mailing list
On Sep 24, 2009, at 5:07 PM, John McIntosh wrote:
I assumed that I could send the same deselectAll message in either an
awakeFromNib function or applicationDidFinishLaunching. However,
neither of these clears the selection.
Make sure you've checked the table's Empty checkbox (allow empty
On Sep 24, 2009, at 9:51 PM, Rick Mann wrote:
Thanks Jens. If I create a custom extension for my plugins (not even
sure I can do that), will this still work?
Yup, as long as you declare the extension properly in your Info.plist
and indicate that it's a bundle.
On Sep 25, 2009, at 3:02 AM, Florian Soenens wrote:
http://www.google.com/search?client=safarirls=en-usq=cocoa+get+pixel+rgb+valueie=UTF-8oe=UTF-8
In this case it might be better to check http://lmgtfy.com/?q=cocoa+get+pixel+rgb+value
first. One of my favorite references in these sorts of
On Sep 25, 2009, at 12:12 PM, Rick Mann wrote:
keyLSTypeIsPackage/key
false/
Shouldn't that be true, not false?
—Jens___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator
On Sep 25, 2009, at 8:52 AM, Sean McBride wrote:
So while you should absolutely do as Jens says,
you should additionally set the bundle bit for packages you create.
See
'man SetFile'. SetFile -a B /path/to/package.
Sounds like good advice, but SetFile is a command-line tool, not an
On Sep 27, 2009, at 7:04 AM, jon wrote:
so far i can find the chain of windows, like this, but i can't
figure out how to go deeper into them to be able to udpate the
custom view down deep maybe i'm approaching it wrong too...
The best way to do this is to use NSNotification. Post
On Sep 27, 2009, at 2:25 AM, Sergey Shapovalov wrote:
This makes me think that chunked upload from stream via
NSURLConnection has been broken in iPhone OS 3.x. Unfortunately, in
real life I can't upload my file by using setHTTPBody instead of
setHTTPBodyStream because it's too big to
On Sep 27, 2009, at 2:03 AM, Nick Rogers wrote:
1. Method returns an Objective-C object with a +1 retain count
(owning reference).
It means exactly what it says. The string was created by -alloc, so
you own a reference so it, so you need to call -autorelease on it
before returning it.
On Nov 14, 2009, at 9:21 AM, David Blanton wrote:
I need to create an app the is auto downloaded and installed from a
web site when the user clicks a web page button.
It can be downloaded when the user clicks a button, but of course it
can't automatically run or be installed that way;
On Sep 27, 2009, at 10:11 AM, Navneet Kumar wrote:
// Shall I do CFRelease(outputVolumeName); here?
Yes. You have to call CFRelease on any reference you got via a
xxCopyxx or xxCreatexx function.
—Jens___
Cocoa-dev mailing list
On Sep 27, 2009, at 11:19 AM, jon wrote:
the question it appears to me is: that this treeController also
is made into multiple instances with each new Document, is there
an already defined loop of these? (a list of the open document's
NSTreeController *treeController;)
No. I think
On Sep 27, 2009, at 8:57 PM, bosco fdo wrote:
I need to do RSA encryption for that i need to have SecKeyRef object
for the public Key i have. Do i still need to add to the Keychain and
get from the Keychain as a SecKeyRef ?
Doing crypto with the Security APIs is rather complex and
On Sep 28, 2009, at 8:17 PM, Andrew Thompson wrote:
Thread 68 Crashed: Dispatch queue: com.apple.root.default-priority
0 com.apple.CoreFoundation 0x7fff85ed8713 +
[NSMethodSignature signatureWithObjCTypes:] + 403
1 librococoa.dylib 0x0001145fa416
On Sep 28, 2009, at 1:49 AM, charlie dropbox wrote:
I was looking around for cookie state or some separation of data
sharing between WebViews.
There's a singleton NSHTTPCookieStorage object that you can use to
interact with cookie storage. But the design is such that there is one
single
On Sep 29, 2009, at 7:38 AM, Pascal Harris wrote:
I have an application with an NSArray of NSDictionary (with 18 keys)
which
populates an NSTableView. I am concerned that my method of
accessing the
contents of my array are sub-optimal and I'm therefore seeking
advice from
the experts.
On Sep 29, 2009, at 5:19 PM, jon wrote:
[fsBrowser setCellClass: [FSBrowserCell class]];
fsBrowser is an instance,
IBOutlet NSBrowser*fsBrowser;
yet isn't setCellClass a class method?
No, it's a regular instance method; just look in NSBrowser.h:
-
On Sep 29, 2009, at 5:12 PM, Steve Cronin wrote:
…. Object with +0 retain counts returned to caller where a +1
(owning) retain count is expected
this is shown at the end of a particular method.
I think this means the method has a name that by convention indicates
that it returns a
On Sep 29, 2009, at 11:30 PM, Kyle Sluder wrote:
2009/9/29 James ldl0313...@163.com:
Now I am developing an cocoa application. One of the app's
function is to
synchronize the audio and video files to the iPod/iPhone. The
function is same
as the iTunes Syncing function.
You have no
On Sep 30, 2009, at 3:41 AM, Gabriel Zachmann wrote:
This sort of works, EXCEPT that the string is always behind the image!
I tried to set the zPosition of my image sub-layer to either +1.0 or
-1.0, to no avail.
I think layers are always drawn in front of the view's own content.
I also
On Sep 30, 2009, at 5:03 AM, Ken Thomases wrote:
However, exactly because it's so tricky, the Cocoa frameworks are
not going to just arbitrarily invoke your code on some random thread.
Yup. Generally, the only time your code will run on a secondary thread
is if
— You create an NSThread
—
On Sep 30, 2009, at 9:17 AM, Christopher Kane wrote:
Since time immemorial the implementation looked like this:
- (void)configureAsServer {
}
So any apparently beneficial effect of calling it was entirely
coincidental.
No way! I know people who were cured of cancer by calling -
On Sep 30, 2009, at 9:59 AM, jonat...@mugginsoft.com wrote:
Before entering sleep I would like to send small amounts of data via
async instances of CFSocket to the local and some remote hosts.
It's usually best to close open sockets entirely before going to
sleep. The socket might not
On Sep 30, 2009, at 7:37 PM, Adam R. Maxwell wrote:
Does the Cocoa memory management documentation cover functions? It
specifically refers to ...a method whose name begins with I
wonder if something like the CF Create rule applies to Foundation?
No — Foundation functions almost
On Sep 30, 2009, at 1:32 PM, jonat...@mugginsoft.com wrote:
I intend to send off my bit of data, hang around ( = 30 secs) to
get notification and then close everything.
Why do you need to wait at all?
—Jens___
Cocoa-dev mailing list
On Oct 1, 2009, at 2:19 PM, Jacob Schwartz wrote:
NSMutableDictionary *defaultValues = [NSMutableDictionary dictionary];
NSURL *url = [NSURL URLWithString:[NSString stringWithFormat:@/
Users/jacobschwartz/Pictures/wallpapers]];
NSData *pathAsData = [NSKeyedArchiver
On Oct 1, 2009, at 4:09 PM, Colin Howarth wrote:
Before I go through the 550,000 hits (some of them quite old) dare I
ask if there's one Right Way (TM) to parse this sort of data?
If the data's not too huge, you can read the file into an NSString,
break that into lines (there are some
On Oct 2, 2009, at 2:50 AM, jonat...@mugginsoft.com wrote:
Seems that by the time I get the IOKit sleep notification my Bonjour
service has already disconnected so my packets end up going nowhere
anyway.
How exactly is your Bonjour service implemented? Bonjour itself only
does service
On Oct 2, 2009, at 4:05 AM, Gregory Weston wrote:
It would be a good idea to get into the habit of initializing your
local variables at the point of declaration.
At the risk of starting a religious debate, I disagree. It makes the
code somewhat bigger and slower, and worse, it can mask
On Oct 3, 2009, at 12:38 PM, Todd Heberlein wrote:
On Oct 3, 2009, at 12:30 PM, David Blanton wrote:
Should my cocoa app write an entry to com.apple.loginitems.plist so
it launches at login or is there a better way?
Look at the documentation for launchd.
No, launchd is not in charge of
On Oct 3, 2009, at 4:19 PM, jon wrote:
i want to have a WindowController object and it's own nib separate
from the main nib..
but i want this secondary nib and controller to fire up when the
application launches...
Create and open an instance of that WindowController subclass from
One oddity of low window levels is that below some level the windows
become immune to Exposé, i.e. they stay in place. I think this happens
because the Finder's desktop icons are in fact windows at a very low
level, and Exposé needs to leave them alone.
This can be a useful effect if you
On Oct 3, 2009, at 6:04 AM, Frank W. Tag wrote:
1. How can I debug my HelperTool? Obviously any breakpoints set in
XCode won't work because the HelperTool is launched outside by the
launchd.
You can use Xcode's Run Attach command to attach GDB to it once it's
launched. (Hopefully Xcode
On Oct 3, 2009, at 8:11 AM, Thomas Wetmore wrote:
1. Apparently reading a file to an NSString using the
NSASCIIStringEncoding returns each of the bytes of the file exactly
as they were, that is, the 8-bit bytes seem to be read exactly as
they were. So is it true that reading with
On Oct 5, 2009, at 3:12 PM, Iceberg-Dev wrote:
Is it the intended behavior that resizing an Alert Sheet in Mac OS X
10.5.8 on a MacBook Pro produces a lot of blinking?
I have a custom alert sheet that can be resized and when I resize it
on a MacBook Pro (either 9400 or 9600 GPU), the resize
On Oct 5, 2009, at 7:20 AM, Rui Pacheco wrote:
I've a class that extends NSWindowController and that class lists an
unknown
number of entries. Double clicking on an entry will open a window
where it
will be possible to interact with the real world object that entry
represents.
I plan to
On Oct 5, 2009, at 5:34 PM, jon wrote:
and i put the rest in the selector method like so... to be executed
when the page is fully loaded, which works... but the thing is,
the code immediately following the main call to loadThePage isn't
waiting, it keeps on executing... which defeats
On Oct 5, 2009, at 6:35 PM, Rick Mann wrote:
I have a need to tell if a class I'm loading dynamically is derived
from another class. How do I do this?
Class justLoadedClass = ... ;
if ([justLoadedClass isSubclassOfClass: [MyBaseClass class]]) {
...
}
—Jens
On Oct 6, 2009, at 3:29 PM, Iceberg-Dev wrote:
The contents. It's a bit as if there was a patchwork of rectangles
and a random set of these rectangles would not be redrawn when the
window size increases by 1 pixel and then another set for the
following pixel.
That sounds like a graphics
On Oct 6, 2009, at 11:30 PM, John Baldwin wrote:
When the application crashes on launch, there is no record of the
+initialize method being called. When the application launches
successfully, there is a record of the +initialize method being
called.
I haven't been following the whole
On Oct 7, 2009, at 10:58 AM, David Reitter wrote:
What is the easiest way to get my customized NSAlert to allow
multiple key equivalents for its buttons?
I think the best way is to create your own alert panel in a nib and
run it modally. That way you have total control — you can set your
On Oct 9, 2009, at 10:37 AM, Maggie Zhang wrote:
What I want is to hide existing mounted volumes whose names I don't
want to change.
Setting the HFS invisible bit is the way to go, then. I've done this
before. You can do this from the command line:
SetFile -a V /Volumes/HideMe
On Oct 9, 2009, at 7:23 AM, Gabriel Zachmann wrote:
http://zach.in.tu-clausthal.de/tmp/malloc1.png
http://zach.in.tu-clausthal.de/tmp/malloc2.png
http://zach.in.tu-clausthal.de/tmp/malloc3.png
Those are showing all malloc operations. Most of those are not garbage-
collected, so they don't
On Oct 9, 2009, at 11:05 AM, Philip White wrote:
The crash report is actually from my own crash reporter, not from
Apple's and it doesn't report what libraries are loaded. I slapped
together my own reporter because few users think to send the info
from Apple's crash reporter to the
On Oct 9, 2009, at 2:30 AM, Graham Cox wrote:
In init and dealloc, it is usual recommended to access the ivar
directly - not because self isn't defined (it is), but because at
those times you are usually only concerned with setting the ivar's
initial value (possibly to an object), or
On Oct 8, 2009, at 7:33 PM, Glen Low wrote:
1. The code is not GC friendly as between the end of start and the
beginning of finishWithSomething, there are no references to the
object, so it may be collected.
There must be references to it; otherwise how would that object's
methods get
A couple of points…
[1] Yes, it is possible to allocate wired memory that is forced to
stay in physical RAM and never be paged to disk. But this ability is
pretty much used only by low-level software like kernel extensions,
device drivers, and real-time audio processors. These are things
On Oct 10, 2009, at 2:25 AM, Glen Low wrote:
Not necessarily. In a pathological but presumably legit case,
whatever happens in initDelegate: might only form a weak reference
to the Something object, thus the Something object would be subject
to GC.
That's true, although unlikely. In
On Oct 10, 2009, at 1:14 AM, Gabriel Zachmann wrote:
So, is 20% CPU time for the GC thread normal?
That's a lot more than I'd expect based on what you're doing. Either
you've got code you haven't shown us that's allocating a ton of
objects during the animation, or some system framework
On Oct 10, 2009, at 12:35 PM, Thomas Wetmore wrote:
Please take this off list.
Why? This seems like a relevant discussion for cocoa-dev. Just because
you're not interested in it doesn't make it off-topic.
—Jens___
Cocoa-dev mailing list
On Oct 10, 2009, at 12:41 PM, jon wrote:
oh... that is good to know... hmm, well it looks like i need to
go lower in the mechanism, stuff i don't know anything about, so
i'll do research on the best way to get the info off the website at
a lower level.
RSS or Atom feeds are often
On Oct 10, 2009, at 1:01 PM, jon wrote:
drives me crazy the documentation... it is there, but you have
to know what to look for before you ever go down the correct tangent.
There's certainly a lot of stuff, and it takes a while to learn what's
in there. :/ The good part is that all
On Oct 10, 2009, at 1:13 PM, aaron smith wrote:
Quick question - I have a window that I run as a sheet, which contains
an NSTextField to enter a message. I have the window setup to close
the sheet when the Escape key is pressed, however, when the text field
is focused I can't figure out how to
On Oct 10, 2009, at 2:54 PM, jon wrote:
i was using a notification that was standard that told me when the
page finished loading... does this have the same sort of
mechanism? (or need it) when fetching the page?
NSURLConnection has a delegate object you can set, which will get
On Oct 11, 2009, at 7:44 PM, Karolis Ramanauskas wrote:
I have object1 that has a connection to object2, (object1.connection =
object2). And at the same time object2.connection = object1:
O1 - O2
O2 - O1
It's generally a bad idea to have two objects each retain the other.
It
On Oct 11, 2009, at 4:11 PM, Greg Guerin wrote:
Why would you do this? You're making one object responsible for the
internals of another object. This is a bad idea. It breaks the
individual encapsulation of each object.
But there are times you need to do this. One example is in some
On Oct 11, 2009, at 12:28 PM, Rick Mann wrote:
I'm trying to implement drag drop in my NSCollectionView,
following the 10.6 release notes. I've got my delegate set, but
nothing was happening. I then implemented each of the methods to see
if any were called, and none are. I've verified
On Oct 12, 2009, at 4:26 AM, Karolis Ramanauskas wrote:
As you can see each box has one or more little inputs and
outputs in
fact these inputs and outputs are instances of one class (KROMPort).
When I
drag a connection from output to an input, I set each port's
connection
property to
On Oct 12, 2009, at 2:47 PM, Dave Keck wrote:
I recommend adopting this rule too, and only making classes thread
safe if it makes sense.
+1
While making every class you ever write
thread-safe might be a good intellectual exercise, it's hard and time
consuming, and I doubt there's many of
On Oct 12, 2009, at 3:36 PM, Iceberg-Dev wrote:
Wouldn't there be an API I didn't see in Foundation that lets you
obtain the type without having to convert, at least, a NSURL to a
FSRef?
In 10.5 there were a bunch of mismatches between APIs like this, that
required clients to convert
On Oct 13, 2009, at 2:12 AM, Sven wrote:
I've found documentation on getting ID3 tag data from MP3s via
QuickTime, but I'm having a hard time finding information on
retrieving this data from AAC files.
You can get at AAC tags via QuickTime's movie-metadata API —
QTCopyMovieMetaData etc.
On Oct 13, 2009, at 2:53 AM, Philip Juel Borges wrote:
But it would be better to have just one segmented control in the
toolbar that can go back and forth in any of the views that is
swapped in.
You can either
(1) Set the segmented control's target property to point to the active
This code sample seems to be designed to verify the binary that it's
compiled into. That's sort of useless for security purposes, like
yelling downstairs are you a burglar? If your own code's already
been modified, it's easy enough for the hacker to disable the code
that does the checking.
On Oct 13, 2009, at 2:14 AM, Nick Rogers wrote:
When my program runs the VM grows from 50MB to around 550MB.
So when I release the memory, should VM shrink to the original 50MB,
in this case it isn't so?
Virtual size is not usually a useful value for telling you how much
memory am I
On Oct 13, 2009, at 8:35 AM, John Joyce wrote:
Part of the localization process in Cocoa is to create your
localized nib/xib files.
This includes adjusting interface elements and layout accordingly so
that it makes sense for different languages/cultures.
Even some ready-made interface
On Oct 13, 2009, at 9:30 AM, Sven wrote:
Thanks... I don't want to encode any audio files, I merely want to
be able to get and set tag data. For MP3s I can use id3lib no
problems, but that doesn't help me with AAC files. I guess if
there's no way to edit tags via the Apple libraries (if I
On Oct 13, 2009, at 9:25 AM, jonat...@mugginsoft.com wrote:
But it's not useless in the sense that it provides feedback that the
code IS signed.
The code merely allows me to detect if I have screwed up my build
settings and managed to break the code signing.
Sure, it's useful for that.
On Oct 13, 2009, at 8:58 AM, Arun wrote:
I have an application where i use webview to display links to
websites.
I need to know is there any way in which we can disable the clicking
on the links in the webview or is it possible to disable actions on
complete webview?
Look at the WebView
On Oct 13, 2009, at 11:49 AM, I. Savant wrote:
Nope. The docs are correct and I'm betting the file you specified
in fact *doesn't* exist.
The docs say it returns nil if the file doesn't exist, and he's
getting an empty array. That was his question.
/Documents/file.plist is probably
601 - 700 of 3277 matches
Mail list logo