set the style property of the table view to UITableViewStyleGrouped
controller.view.style = UITableViewStyleGrouped
http://developer.apple.com/library/ios/#documentation/UIKit/Reference/UITableView_Class/Reference/Reference.html
On Dec 1, 2010, at 1:02 AM, Donald Hall wrote:
Hi all,
I
That property is read only.
On 01-Dec-2010, at 8:23 PM, Jack Carbaugh wrote:
set the style property of the table view to UITableViewStyleGrouped
controller.view.style = UITableViewStyleGrouped
You are correct ... my apologies ... you can set the table style in the XIB or
when programmatically with the initWithFrame:style:
initWithFrame:style:
On Dec 1, 2010, at 8:17 AM, Roland King wrote:
That property is read only.
On 01-Dec-2010, at 8:23 PM, Jack Carbaugh wrote:
set the
Hi all,
I am making an application in which I have to store data from remote db into
local sqlite3 db.
Problem is - when any string to be inserted contains unicode character such
as: \U00a0 or \U2022 or \U2019, it crashes.
The part of code which crashes is this-
NSString *insertQuery = @insert
On Mon, 29 Nov 2010 12:05:42 -0500, Phillip Mills phillip.mil...@acm.org said:
While attempting to track movement during a long press, I was surprised to
discover that the x direction of an application's UIWindow seems to be for the
portrait x dimension no matter how the device is turned. Using
On Mon, 29 Nov 2010 12:39:52 -0800, David Duncan david.dun...@apple.com said:
Objective-C is a dynamic enough language that it cannot fully check for
conformance at compile time (which is why the message above is a warning and
not an error). Technically you don't even need to conform to the
On Dec 1, 2010, at 7:26 AM, Devarshi Kulshreshtha wrote:
The part of code which crashes is this-
The code you posted won't even compile. Try posting the real code, and the
stack trace.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
On Wed, 1 Dec 2010 00:02:00 -0600, Donald Hall d...@appsandmore.com said:
What is the best way to set the style of the table views? I want at
least one of my table views to have a grouped style, but I can see no
easy way of specifying this.
You don't see:
(1) table view's initWithFrame:style:
On Dec 1, 2010, at 7:41 AM, Matt Neuburg wrote:
Still, the OP has a point. If everything in a protocol is optional, then (1)
why should the compiler care whether we formally adopt the protocol or not,
and (2) what sort of error checking could the compiler do? In other words
I'm suggesting
Hi,
I can quite create a streaming from a QT movie file placed on my server with
mQTMovie = [[QTMovie alloc] initWithURL:mMovieURL error:nil];
It works well.
Now I would like to do the same from a QT movie embedded within a file
placed on my server. Of course I know the offset and the length of
On 1 Dec 2010, at 14:26, Devarshi Kulshreshtha wrote:
Problem is - when any string to be inserted contains unicode character such
as: \U00a0 or \U2022 or \U2019, it crashes.
The part of code which crashes is this-
NSString *insertQuery = @insert into XYZ(field1,field2) values
Hello,
I have an application for which I need to create a second version that's
basically the same but doesn't use a Framework the original uses. I've done
this by creating a second target where I removed all references to the
framework in the target setup.
In a NIB file the application
On 1 Dec 2010, at 17:08, Markus Spoettl wrote:
Hello,
I have an application for which I need to create a second version that's
basically the same but doesn't use a Framework the original uses. I've done
this by creating a second target where I removed all references to the
framework
Well I feel a little dumb now. After lots of debugging and digging at values
that looked correct everywhere, checking object creating again again, and
what not, It turns out I forgot to actually redraw the window:
[[[self loadingWindowController] window] display];
Everything worked all along
On Dec 1, 2010, at 6:14 PM, jonat...@mugginsoft.com wrote:
On 1 Dec 2010, at 17:08, Markus Spoettl wrote:
Hello,
I have an application for which I need to create a second version that's
basically the same but doesn't use a Framework the original uses. I've done
this by creating a second
Could you mock/stub the framework? Supply stub objects/functions that would
cause failing assertions if they are ever called to do real work and simply
do nothing in cases where they are harmless. That way you can silence the
warnings and also test your assumption that the outlet really does
On Wed, Dec 1, 2010 at 10:09 AM, Mikkel Eide Eriksen
mikkel.erik...@gmail.com wrote:
Well I feel a little dumb now. After lots of debugging and digging at values
that looked correct everywhere, checking object creating again again, and
what not, It turns out I forgot to actually redraw the
On Dec 1, 2010, at 7:41 PM, Kyle Sluder wrote:
On Wed, Dec 1, 2010 at 10:09 AM, Mikkel Eide Eriksen
mikkel.erik...@gmail.com wrote:
Well I feel a little dumb now. After lots of debugging and digging at values
that looked correct everywhere, checking object creating again again, and
what
On 2010 Nov 30, at 18:44, Junior ABC wrote:
//call and search on first tab (how??)
In your code, create an outlet (IBOutlet) to the first tab view item, the table
view in the first tab item, and/or whatever else you
need.___
Cocoa-dev mailing list
The document window in a Core Data app has now grown to the point where it has
several tabs and sub-tabs. Some of them, a Reports tab in particular, can
take a long time to load for large documents, so that upon opening such a
document, the beachball spins while, mostly, array controllers for
On Dec 1, 2010, at 1:44 PM, Jerry Krinock wrote:
The document window in a Core Data app has now grown to the point where it
has several tabs and sub-tabs. Some of them, a Reports tab in particular,
can take a long time to load for large documents, so that upon opening such a
document, the
Hello all.
in my iPad app I have a superview screen size and there im placing smaller
subviews, when I touch one of those I need to place on top another custom view
which draw a circle around the taped subview, so the subview is exactly in the
middle of the circle which is drawn in that view
It sounds like you might be best off doing your touch handling all in the
superview. You can marshal all your subviews the way you want from there. There
shouldn't be any reason to call touch handling methods yourself.
Luke
On Dec 1, 2010, at 12:06 PM, Gustavo Pizano wrote:
Hello all.
in
On Dec 1, 2010, at 11:08, Mikkel Eide Eriksen wrote:
See line 48 onwards below:
http://code.google.com/p/cocoa-gedcom/source/browse/trunk/GCCoreData/src/GCDocument.m
(there are probably lots of terribly ugly non-Cocoa things in here, I'm only
just starting out and come from a mostly
Hello Luke,
Yes thats another solution, the thing is that the view Im drawing the circle,
It purpose is to allow the user to rotate the subview which is bellow and which
have a week reference, also to allow enlarging the view, so managing this 2
things form the superview I don't see how.
G.
Hello again.
I was reading the docs, and it says precisely what David said, if I rotate a
view, but i wan to know it's original dimensions width and height, how can I
get them? because after rotating the view those width and height that comes
form the frame, are not the same, and well the
On Dec 1, 2010, at 2:53 PM, Gustavo Pizano wrote:
I was reading the docs, and it says precisely what David said, if I rotate a
view, but i wan to know it's original dimensions width and height, how can I
get them? because after rotating the view those width and height that comes
form the
GREAT!!... Im sorry my head is overheated already, its 12 midnight here... :S
Thanks David.
On Dec 1, 2010, at 11:54 PM, David Duncan wrote:
On Dec 1, 2010, at 2:53 PM, Gustavo Pizano wrote:
I was reading the docs, and it says precisely what David said, if I rotate
a view, but i wan
How would I put a clickable URL in an NSPanel?
-koko
___
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
How does one track state in Cocoa?
I have a message receiver which manages a number of TCP-connected processes
(100
or so). However, I need to keep track of the state of each connected process
(registered, busy, waiting, etc) to know what operations are 'legal' or
appropriate for dealing with
The code below explodes on the loadNibNamed call but I have done this
many times ... where am I wrong?
@interface About : NSPanel {
}
- (IBAction)about:(id)sender {
About *aboutpanel = [[About alloc] init];
[aboutpanel retain];
BOOL ok = [NSBundle
On 1 Dec 2010, at 3:31 PM, Jon Sigman wrote:
I have a message receiver which manages a number of TCP-connected processes
(100
or so). However, I need to keep track of the state of each connected process
(registered, busy, waiting, etc) to know what operations are 'legal' or
appropriate
On Dec 1, 2010, at 4:43 PM, k...@highrolls.net wrote:
The code below explodes on the loadNibNamed call but I have done this many
times ... where am I wrong?
I'd recommend you scrap what you're doing and try it again using an
NSWindowController subclass, with that subclass as the nib's file
So instead of having struct arrays, etc, I replace all that with a custom
object, an instance of which represents each process, and manage them by
associating them with different state collections as appropriate.
Thanks, I think that's doable.
On Dec 1, 2010, at 15:43, k...@highrolls.net wrote:
The code below explodes on the loadNibNamed call but I have done this many
times ... where am I wrong?
@interface About : NSPanel {
}
- (IBAction)about:(id)sender {
About *aboutpanel = [[About alloc] init];
On 02/12/2010, at 10:43 AM, k...@highrolls.net wrote:
but I have done this many times ... where am I wrong?
NSWindowController is what you need. Subclasses of NSPanel, NSWindow etc are
extremely rare.
Doing something 'many times' doesn't make it right if it isn't the right way to
do it,
On 02/12/2010, at 10:00 AM, k...@highrolls.net wrote:
How would I put a clickable URL in an NSPanel?
Borderless NSButton?
--Graham
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to
On Dec 1, 2010, at 3:00 PM, k...@highrolls.net k...@highrolls.net wrote:
How would I put a clickable URL in an NSPanel?
http://www.google.com/search?client=safarirls=enq=cocoa+clickable+URLie=UTF-8oe=UTF-8
or
Thanks Jonathan,
I thought this would be the case and your suggestion works well.
On 30/11/2010, at 8:53 PM, jonat...@mugginsoft.com wrote:
On 30 Nov 2010, at 01:12, Peter Zegelin wrote:
Hi All,
I have successfully bound most of the columns of my table to the contents of
an
Cocoa.
I have a view that shows the coordinates of the current mouse location in it. I
update this via -mouseMoved: But if the user scrolls the view with a scroll
ball, I don't get mouse moved events.
1) What's the best way to react to scroll changes? I'm currently observing the
On Dec 2, 2010, at 12:19 PM, Rick Mann wrote:
Cocoa.
I have a view that shows the coordinates of the current mouse location in it.
I update this via -mouseMoved: But if the user scrolls the view with a scroll
ball, I don't get mouse moved events.
1) What's the best way to react to
On Dec 1, 2010, at 19:22:01, John Joyce wrote:
If the user is only scrolling, the mouse likely has not moved.
But let me be the first to ask,
What are you really trying to do?
I thought that would be obvious from my post. I update a label showing the
mouse coordinates. This is relative
On Dec 1, 2010, at 9:19 PM, Rick Mann wrote:
I have a view that shows the coordinates of the current mouse location in it.
I update this via -mouseMoved: But if the user scrolls the view with a scroll
ball, I don't get mouse moved events.
1) What's the best way to react to scroll
On 02/12/2010, at 2:19 PM, Rick Mann wrote:
I have a view that shows the coordinates of the current mouse location in it.
I update this via -mouseMoved: But if the user scrolls the view with a scroll
ball, I don't get mouse moved events.
1) What's the best way to react to scroll changes?
On Dec 1, 2010, at 19:35:37, Ricky Sharp wrote:
See:
- (void)scrollWheel:(NSEvent *)theEvent
Oh, thanks Ricky. That works well. Took me a while to be sure, because the docs
SUCK at explaining what you get in that event.
Graham Cox noted some issues, so I'll see what I can get from his
On Dec 1, 2010, at 19:42:44, Graham Cox wrote:
Scrolling might occur for some reason other than an event, such as a timer
when autoscrolling, so listening for a bounds change is probably the right
approach, assuming it is triggered for a scroll. Otherwise you may have to
resort to polling
Matt, Jack, and Roland,
Thanks for your replies.
I have come to the conclusion that what I wanted to do is not easily
done unless the table view controller has its own nib file. In IB if
you don't specify that the table view controller that is the root
view controller of a navigation
On Wed, Dec 1, 2010 at 7:19 PM, Rick Mann rm...@latencyzero.com wrote:
Cocoa.
I have a view that shows the coordinates of the current mouse location in it.
I update this via -mouseMoved: But if the user scrolls the view with a scroll
ball, I don't get mouse moved events.
1) What's the
On Dec 1, 2010, at 20:14:09, Kyle Sluder wrote:
On Wed, Dec 1, 2010 at 7:19 PM, Rick Mann rm...@latencyzero.com wrote:
Cocoa.
I have a view that shows the coordinates of the current mouse location in
it. I update this via -mouseMoved: But if the user scrolls the view with a
scroll ball,
I am having trouble getting a change in a value in my preferences to be
automatically saved, using bindings.
The defaults contain an array (called Workspaces) with two values: displayName
and displayType ( which is a number ).
I have an arrayController that is bound to the Workspaces value in
On Wed, Dec 1, 2010 at 8:15 PM, Rick Mann rm...@latencyzero.com wrote:
On Dec 1, 2010, at 20:14:09, Kyle Sluder wrote:
On Wed, Dec 1, 2010 at 7:19 PM, Rick Mann rm...@latencyzero.com wrote:
Cocoa.
I have a view that shows the coordinates of the current mouse location in
it. I update this
51 matches
Mail list logo