On Jan 1, 2011, at 5:13 PM, Ben Golding wrote:
Controller key selection
This binding is wrong in your case. Refer to the examples in the Bindings
Programming Topics document:
http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/CocoaBindings/CocoaBindings.html,
On Fri, 31 Dec 2010 21:52:29 +0800, Roland King r...@rols.org said:
I've read the UITableView / UITableViewCell documentation for reordering
several times now. As I understand it in order to have a reorder control shown
when the table goes into editing mode you have to have the following
1)
On Fri, 31 Dec 2010 20:13:15 -0600, William Squires wsqui...@satx.rr.com said:
What are the proper dimensions of a .png for use by a UITabBar item? I've got
one project (which works) which has two 57x57xmillions-of-colors png's using a
simple black-and-white coloration. I have another project
On Sat, 01 Jan 2011 10:36:01 -0600, Donald Largen don.lar...@me.com said:
Here is my situation. I have UIViewController, call it ViewControllerA, that
contains an UITableView and UISearchDisplayController. ViewControllerA is the
root view controller in a UINavigationController. Things seem to
Thank you guys for your assistance. I come from a C++ background and
have done embedded design in ASM. But this way of working and
particularly the framework is very new to me. I understand what you are
saying, but the literature I am reading is very disappointingly. I have
solved the issue with
On Jan 2, 2011, at 5:17 PM, Brian Durocher wrote:
- (void) setCaption: (NSString*)input
{
[caption autorelease];
caption = [input retain];
}
For this (and for the rest of the NSString ivars), it’s generally better to use
-copy rather than -retain. The reason for this is that it is
Hi List,
I was wondering if any one could provide some guidance on this?
Thanks,
Phil
On Dec 26, 2010, at 2:04 PM, Philip Vallone wrote:
Hi List,
In iOS 4.2, you can search within a webpage in Safari. Is there a search bar
object that can do this in a UIWebView?
Thanks,
Phil
On Jan 2, 2011, at 5:17 PM, Brian Durocher wrote:
Thank you guys for your assistance. I come from a C++ background and
have done embedded design in ASM. But this way of working and
particularly the framework is very new to me. I understand what you are
saying, but the literature I am reading
On Sun, Jan 2, 2011 at 5:17 PM, Brian Durocher brian.duroc...@gmail.com wrote:
#import Foundation/Foundation.h
@interface Calculator : NSObject
{
double accumulator;
NSString* caption;
NSString* name;
NSString* temp;
}
- (id) init;
- (void) setAccumulator:(double) n;
-
On Jan 2, 2011, at 6:10 PM, Stephen J. Butler wrote:
- Charles asks 'why the @' and I can answer that question: because
you couldn't figure out another way to call stringByAppendingFormat:
could you? The answer is that in this case you should be calling
+[NSString stringWithFormat:].
On 03/01/2011, at 10:17 AM, Brian Durocher wrote:
This line of code seems to work for exactly what I was looking for:
temp = [[temp stringByAppendingFormat:@ %@ %@ \n, input1, input2]
retain];
Except it's quite wrong from a memory management point of view.
As well as the excellent
ok that's what I've effectively done by implementing 3), which makes 2) return
YES for all rows, which is what I wanted.
So, err what is 1) for? It's a property, it exists, it's in the documentation
but it doesn't seem to do anything.
On 03-Jan-2011, at 5:14 AM, Matt Neuburg wrote:
On Fri,
With Xcode 3.2.5 and the corresponding IB, I have a custom NSView into which I
want to draw. This view has 15 static text views in front of it, in the
contentView only, all of which are filled in before the custom drawing and none
of which draw their own backgrounds. The code for the custom
Hi cocoa-dev,
I'm using CGContextShowGlyphsWithAdvances to render fixed-width text
because it is very fast. If a glyph is missing, I use
CTFontCreateForString() to pick a better font, and that usually works.
I ran into a case that I just can't solve with this technique: the
glyph for code point
Each time -drawRect: is called, the rect parameter is a dirty rectangle
calculated by the frameworks to be the smallest area that needs to be redraw.
With your implementation, you are probably filling several small sub-rectangles
of the view's bounds with white and then stroking lines in only
On Jan 2, 2011, at 10:36, Michael McLaughlin wrote:
With Xcode 3.2.5 and the corresponding IB, I have a custom NSView into which
I want to draw.
What you describe below doesn't entirely make sense, so perhaps you can clarify
a bit.
This view has 15 static text views in front of it, in
16 matches
Mail list logo