On Mar 3, 2011, at 23:54, Nick Rogers wrote:
But the problem is that I don't have anything common in the rows.
The image (128x128) are different, the four lines of text are different and
the lines I draw are different in each cell.
On 3 Mar 2011, at 04:06, Nick Rogers wrote:
I have a table
All,
thank you for your replies. It made me re-read the Resource Programming Guide.
And it works exactly as it is described (except that the description for
-awakeFromNib in the Reference could be more accurate). Though, I have mixed
feelings about how it works.
Unfortunately, due to the
On 4 Mar 2011, at 07:54, Nick Rogers wrote:
Hi,
Thanks for the reply.
But the problem is that I don't have anything common in the rows.
The image (128x128) are different, the four lines of text are different and
the lines I draw are different in each cell.
Any Ideas?
I use
Hi,
I am developing an Desktop application in which I want to perform some
operation if the System screen is zoomed.
Is there any API to identify if the screen is zoomed or not.
If notification is the solution that will not work for me. Because, the screen
might have been zoomed before my app
I have a window with a large number of editable text fields, and a big Go
button. The text fields are bound to values in my class. At the moment if there
is an edit of one of the values in progress and then I press Go then the
old value for that field is the one in my class variable that is
On Mar 3, 2011, at 8:16 PM, Matt Neuburg wrote:
Except that as Robert Vojta told you (and as Luke Hiesterman has clearly
stated on other occasions) it is wrong to assume that viewDidLoad means that
the view is now in the *interface*, or even that it is *about* to be put into
the
Hi Scott.
Here are my two questions:
1) Which delegate can I use to inform table view B to update and reload its
data when I have dragged an item inside table view A?
If you’re adding it to the object array, you can easily do the update
notification then.
Thank you for your suggestion.
That worked!
Embarrassingly, I looked at the documentation for NSXMLDocumentTidyXML
and found my answer, as well:
Changes malformed XML into valid XML during processing of the document.
It also eliminates “pretty-printing” formatting, such as leading tab
characters. However, it respects the
On Mar 4, 2011, at 03:40, Jonathan Taylor wrote:
I have a window with a large number of editable text fields, and a big Go
button. The text fields are bound to values in my class. At the moment if
there is an edit of one of the values in progress and then I press Go then
the old value for
On Mar 4, 2011, at 11:09, Quincey Morris wrote:
Instead of binding your text fields directly to your data model, bind them
instead to a NSObjectController object in your NIB file, which is in turn
bound to the data model.
Just to clarify, in case you haven't used this trick before:
-- You
On 4 Mar 2011, at 19:09, Quincey Morris wrote:
On Mar 4, 2011, at 03:40, Jonathan Taylor wrote:
I have a window with a large number of editable text fields, and a big Go
button. The text fields are bound to values in my class. At the moment if
there is an edit of one of the values in
On Mar 1, 2011, at 12:45 AM, Gerriet M. Denkmann wrote:
NSMutableAttributedString *attributedString = [ [ NSMutableAttributedString
alloc ] initWithString: firstChar ];
[ attributedString fixFontAttributeInRange: NSMakeRange(0,[ attributedString
length ]) ];
NSFont *aFont = [
I'm trying to parse a document with a namespace declared on a non-root element:
rootexample:foo xmlns:example=http://example.com/foo;This is an
exemplary foo!/example:foo/root
I can read this xml into an NSXMLDocument just fine, but the following
XPath query on root returns a non-nil, but empty
Creating the NSNumber objects using unsignedLongLong instead of longLong solved
my problem. Thanks to everyone who participated in the lively discussion.
Sorry for being a little slow in closing the loop.
-Michael
On Feb 21, 2011, at 9:50 PM, Wim Lewis wrote:
On 19 Feb 2011, at 2:17 PM,
On 4 Mar 2011, at 19:25, Jonathan Taylor wrote:
On 4 Mar 2011, at 19:09, Quincey Morris wrote:
On Mar 4, 2011, at 03:40, Jonathan Taylor wrote:
I have a window with a large number of editable text fields, and a big Go
button. The text fields are bound to values in my class. At the
From the Tree-Based XML Programming Guide:
http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/NSXML_Concepts/Articles/CreatingXMLDoc.html#//apple_ref/doc/uid/TP40001255-BCIGHBDI
Preservation. The enum constants beginning with NSXMLNodePreserve
support document fidelity. They
After spending a good deal of time with Uncle Google and some of his
friends, I still have unanswered problems using NSXMLParser with an XML file
that has entities in it. It appears that most of my questions have been asked
over the last few years, but I haven't found any postings about
Is there a way to determine how much memory a given UIImage is using for the
in-memory image data?
Thanks,
Rick
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 3/4/11 2:18 PM, Rick Mann wrote:
Is there a way to determine how much memory a given UIImage is using for the
in-memory image data?
Shot in the dark: access its CGImage to get the the underlying
CGImageRef, then use the CGImage functions to
I asked a similar question to this one in the xcode-users list because I
thought it related to Instruments but, actually, the question maybe has more to
do with Cocoa.
After reading the very interesting and informative blog from Bill Bumgarner
(bbum) titled When is a Leak not a Leak? Using
On Mar 4, 2011, at 9:00 AM, Ulf Dunkel wrote:
Hi Scott.
Here are my two questions:
1) Which delegate can I use to inform table view B to update and reload its
data when I have dragged an item inside table view A?
If you’re adding it to the object array, you can easily do the update
On Mar 4, 2011, at 17:54, Laurent Daudelin wrote:
So, can anybody explain what is going on here and whether I should be
concerned by those leaks? For each heapshot, I scan 31770 items on disk and
each heapshot results in between 8.84KB and 16.97KB leaked each time. The
other strange
I doubt you could find out *exactly* how much memory is being used. You could
probably get an approximation by multiplying pixelHeight * pixelWidth * 4
(assuming A, R, G, B channels), since the image bitmap is likely to be the
biggest chunk for images of any real size.
On Mar 4, 2011, at 2:18
Unfortunately, if I create the image from a PNG, it's possible iOS stores it
compressed, and only decompresses when rendering. I'd like to know how much
it's using at any given moment.
Thanks, though.
--
Rick
On Mar 4, 2011, at 20:14:26, Steve Christensen wrote:
I doubt you could find out
Hi,
Guys
I am kind of want to extend the functionality of the iCal, like a plug-in or
something.
But I notice there is no offical plug-in SDK for iCal.
I am thinking to develop a background app which will show a floating window
when it detect the iCal is the front most app, this floating window
Hi All,
I want to develop a plugin for extending the functionality of the
finder in snow leopard by adding the contextual menu to it.
I couldn't find any resource or sample on the web, which provides some
sort of help on my above queries. It's highly appreciated if someone
could share
On Fri, Mar 4, 2011 at 8:50 PM, Vinay Jain
vi...@metadesignsolutions.com wrote:
Hi All,
I want to develop a plugin for extending the functionality of the finder in
snow leopard by adding the contextual menu to it.
I couldn't find any resource or sample on the web, which provides some sort
Hi All,
I want to develop a service in snow leopard to add contextual menu to
the finder. As i do research on, its not possible to add contextual
menu in snow leopard directly.
Instead i have to write a service for it. I got a tutorial of system
services from the apple's website:
28 matches
Mail list logo