Hi, All,
Please, anybody, help me to understand how this thing works:
I'm trying to set a breakpoint at the main() call in the main.m. I'd like to
see the arguments. Or maybe there is NS to get them? One way or another,
my bp doesn't work for some reason. Please take a look at the
On Jan 26, 2009, at 9:09 AM, Robert Monaghan wrote:
I am trying to wrap my head around using a plist.
When you refer to a plist, are you referring to a property list data
structure as it might exist in memory, or a property list file? Or
perhaps you're referring to user defaults?
In
On Jan 27, 2009, at 8:23 AM, Adam Venturella wrote:
Will thanks for the heads up, for my purposes this time around, the
input stream will be coming in off the file system, but I did not want
to load the whole thing into an NSData object.
Have you considered NSFileHandle and its
On 27 Jan 2009, at 23:07, Graham Cox wrote:
On 28 Jan 2009, at 2:24 am, Jeremy Pereira wrote:
Yes. That is correct, but since buffer is already a pointer to the
first byte of the array and then you are taking a reference to it,
key will end up containing the address of the buffer. You
Hello everyone,
I am developing some drawing software and needed some assistance. I
have a basic view: TSLabel which is just a small plain view that
doesn't really do anything - just a rectangle. This rectangle can be
dragged and moved around it's superview - TSCanvasView which is a
Few days ago I posted a querry that
I can move a Window i.e. a NSWindow object with the just a simple call
[myWindow setMovableByWindowBackground:TRUE]. This makes window movable from
every point I drag my mouse pointer. Now if I place an NSImage Object over
the window and try to drag the
Hi,
I am trying to perform some action on double click of image. Can anybody
suggest me some solution. something which gets called after double clicking
on the
image. any help will be appreciated.
Thanks in advance.
Regards,
PersistentSystemsPrivateLimited
P
Rahulkumar
I want to display Multiple NSTabViewItems that can't fit in a Single
NSTabView. In windows, if tabview items doesn't fit in a tab then they are
displayed by dividing them in 2 lines. Is there anything like this on Mac
platform so that I can display around 10 TabViewItems in a single NSTabView?
As a very cursory search with Google would have found you:
http://www.google.com/search?client=safarirls=en-gbq=nsimageview+double+clickie=UTF-8oe=UTF-8
http://lists.apple.com/archives/Cocoa-dev/2007/Mar/msg00542.html
Mike.
On 28 Jan 2009, at 09:47, Rahulkumar wrote:
Hi,
I am trying to
Look at -[NSView mouseDownCanMoveWindow]
On 28 Jan 2009, at 09:07, Rahulkumar wrote:
Few days ago I posted a querry that
I can move a Window i.e. a NSWindow object with the just a simple
call
[myWindow setMovableByWindowBackground:TRUE]. This makes window
movable from
every point I
On 28 Jan 2009, at 08:09, Rick Langschultz wrote:
Hello everyone,
I am developing some drawing software and needed some assistance. I
have a basic view: TSLabel which is just a small plain view that
doesn't really do anything - just a rectangle. This rectangle can be
dragged and moved
The same as Adium!
Nice, thank you...
Filip van der Meeren
fi...@code2develop.com
http://sourceforge.net/projects/xlinterpreter
On 28 Jan 2009, at 15:00, Scott Anguish wrote:
You want Sparkle.
http://sparkle.andymatuschak.org/
On 28-Jan-09, at 8:43 AM, Filip van der Meeren wrote:
Good
Hello everyone,
Is it possible to receive a notification when the active space changes?
Or is it possible to programatically make an application display on
all spaces?
h.a.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do
On Tue, 27 Jan 2009 17:10:20 -0800, Jerry Krinock je...@ieee.org said:
Butt if the possible problem involves a document, I believe it would
be a better user experience to use a sheet instead of a dialog. But,
arghhh, the method
-[NSApp
Rahul,
This is a classic sign that you really really need to rethink your UI.
No, really, tabs are the wrong solution to your problem. I don't know
your exact problem, so I can't tell you what is the best solution in
your case., but a multi-line tab control is definitely not it.
Off the
First off, I know this question is going to the wrong list, but I have NO idea
which list would be best. If anyone wants to jump in and tell me a better
list, I'll gladly move there.
Background:
I have an application that is working very, very hard to drive me insane. It
is multithreaded,
I am going to need to the same thing (dragging one or more items from
a NSCollectionView to some place else) and I found this old thread:
http://lists.apple.com/archives/cocoa-dev/2008/Oct/msg00104.html
Unfortunately, no clear solution was mentioned and I was wondering if
someone might be
Hello Everyone,
I had my project all working smooth using 1 nib file which contained
my MainMenu and my window. I have since separated them because a lot
of people suggested it. However this separation has led me to hit an
issue.
In my ManManu nib I have my App Delegate which then
Hello, I'm having a problem where [self
setIntercellSpacing:NSMakeSize(0.0, 0.0)]; will make all my rows
disappear from the table... I need this so I can have a custom
background for the selected rows.
How might I fix this?
Mr. Gecko
___
Thanks to everyone that responded. One off-list message I received
made me think about the problem a little more, and after some
debugging, I realized I had a PEBKAC problem on my hands. My app does
some fetch requests to check on existing data in the database,
compares it to what's in a
Using this code:
NSIndexSet *is = [NSIndexSet
indexSetWithIndex:rowIndex];
[_tableView selectRowIndexes:is
byExtendingSelection:YES];
to select rows, the rows are selected and highlighted, but the first
column is not
oops no subject previously, sorry.
Using this code:
NSIndexSet *is = [NSIndexSet
indexSetWithIndex:rowIndex];
[_tableView selectRowIndexes:is
byExtendingSelection:YES];
to select rows, the rows are selected and highlighted, but
yeah that wouldn't work for what I need, if I could just do
NSHTTPURLResponse *response = [NSURLConnection
responseForRequest:request]; that would work, but it's not in cocoa...
On Jan 19, 2009, at 5:39 AM, Mike Abdullah wrote:
Create a NSURLConnection for the HD URL. It will receive an
On Jan 28, 2009, at 10:33 AM, Karan, Cem (Civ, ARL/CISD) wrote:
First off, I know this question is going to the wrong list, but I
have NO idea which list would be best. If anyone wants to jump in
and tell me a better list, I'll gladly move there.
Background:
I have an application that is
Try turning off lazy loading of symbols, in Xcode's preferences.
--
Scott Ribe
scott_r...@killerbytes.com
http://www.killerbytes.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or
It only seemed to mess up when I resized the window. Now it seems to
not be doing it, I don't know what I changed...
On Jan 28, 2009, at 3:30 PM, Corbin Dunn wrote:
hi mr gecko,
you probably have something else wrong; the intercell spacing just
affects the spacing between cells in the
Le Jan 28, 2009 à 1:51 PM, Mr. Gecko a écrit :
It only seemed to mess up when I resized the window. Now it seems to
not be doing it, I don't know what I changed...
Oh, well, you forgot to mention that earlier. It may be due to live-
resize caching. Try subclassing the tableview, override
Le Jan 28, 2009 à 12:43 PM, David Blanton a écrit :
oops no subject previously, sorry.
Using this code:
NSIndexSet *is = [NSIndexSet
indexSetWithIndex:rowIndex];
[_tableView selectRowIndexes:is
byExtendingSelection:YES];
to
On 28 Jan 09, at 13:15, Mr. Gecko wrote:
yeah that wouldn't work for what I need, if I could just do
NSHTTPURLResponse *response = [NSURLConnection
responseForRequest:request]; that would work, but it's not in cocoa...
Actually, it is. It's just named slightly differently...
Jerry Krinock wrote:
Does anyone have an idiom or way of appreciating this problem which
does not produce such spaghetti and headaches?
How about a state machine:
enum State { STATE_INIT, STATE_PREPARE, STATE_EXECUTE, STATE_FINISHED,
STATE_DEAD };
State state;
HandleEvent(event)
{
That's how we do it. Of course, we try to handle all this in the
controllers, not in the model, so it propagates up to the controller
from the model via a delegate or something and then we use the state
machine there.
On Jan 28, 2009, at 4:19 PM, Jan Brittenson wrote:
Jerry Krinock
Good time, everybody. I use WebView in my app, which is loading html with
flash. I'm trying to catch keyboard events, so i added the next function to my
NSWindow's class - (void)keyDown: (NSEvent *) event
{ NSLog(@KEYDOWN: %@, event);
}
It works while i didn't press on any buttons in my flash,
Hey guys,
Im using a tableview linked up to an array controller. I want the
height of the tableview to grow with the # of objects in the array
controller. Like addressbook, add an e-mail and it just appears below
it.
Any ideas or code samples on how to do this would be great... Perhaps
Hello,
I'm happy to present a new release of NObjective bridge.
NObjective bridge to Objective-C provides the necessary classes to develop
and run .NET applications which interact with Objective-C frameworks and
libraries under Mac OS X with high performance, reliability and provides
On Jan 26, 2009, at 8:36 PM, Chris Idou wrote:
This method's list of allowedTypes when I do the drag doesn't
include my TokenPboardType. Now if I return TokenPboardType anyway,
it seems to work. my readSelectionFromPasteboard gets called with
TokenPboardType and it all seems to work. But
On Tue, Jan 27, 2009 at 8:33 AM, JongAm Park
joshua_park2006-applel...@yahoo.com wrote:
However, I have difficulty in making it to send data and receive ack from a
server.
Sometimes, it receives some meaningful data about changed information from a
server, if a client send a request to change
On Jan 28, 2009, at 1:50 PM, Jason Cox wrote:
Im using a tableview linked up to an array controller. I want the
height of the tableview to grow with the # of objects in the array
controller. Like addressbook, add an e-mail and it just appears
below it.
Maybe I'm not understanding
I've been following some Apple sample code with respect to mouse
dragging logic (within a table - but that's probably not important).
The particular approach involves maintaining full control of the drag
state by starting a loop that processes all pertinent events until the
mouse button is
On Jan 28, 2009, at 7:15 PM, Sean McBride wrote:
Smiley aside, I think it's more than just 'typical'. Unless I'm
missing some magic incantation, IB does not let you remove a
tableview from its scrollview. No doubt it's possible
programatically...
Select the table (the scroll view
Is there some means of detecting if an instance has been initialized?
I'm thinking not. Apple's NSObject Class Reference says The init
method defined in the NSObject class does no initialization, and
googling around on the topic has not produced any means of doing so. I
ask here in case someone
On 1/28/09 7:26 PM, I. Savant said:
Smiley aside, I think it's more than just 'typical'. Unless I'm
missing some magic incantation, IB does not let you remove a
tableview from its scrollview. No doubt it's possible
programatically...
Select the table (the scroll view becomes selected),
but wouldn't that return the data of the file it self as well? Because
I don't want the data because it's like 130MB and it'll take a long
time to get the data just for a check...
On Jan 28, 2009, at 4:12 PM, Andrew Farmer wrote:
On 28 Jan 09, at 13:15, Mr. Gecko wrote:
yeah that wouldn't
On 28 Jan 09, at 16:30, Mr. Gecko wrote:
but wouldn't that return the data of the file it self as well?
Because I don't want the data because it's like 130MB and it'll take
a long time to get the data just for a check...
It'll return whatever response is appropriate for your request.
On 29 Jan 2009, at 11:06 am, David H. Silber wrote:
Is there some means of detecting if an instance has been initialized?
I'm thinking not. Apple's NSObject Class Reference says The init
method defined in the NSObject class does no initialization, and
googling around on the topic has not
How are custom class bindings exposed to Interface Builder?
Richard
___
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
Just found my answer in Interface Builder User Guide.
Objects with bindable properties can expose those properties in
Interface Builder through their Interface Builder plug-in object.
You configure bindings in Interface Builder by starting at the object
that exposes a bindable property.
On 29 Jan 2009, at 00:30, Mr. Gecko wrote:
but wouldn't that return the data of the file it self as well?
Because I don't want the data because it's like 130MB and it'll take
a long time to get the data just for a check...
Which is precisely why the URL loading system is asynchronous by
Hi all,
When I render text into a CGBitmapContext that has been filled with a
solid color, sub-pixel font smoothing is not applied and text looks
suboptimal compared to text rendered elsewhere. How can I enable font
smoothing? Calling CGContextSetShouldSmoothFonts doesn't seem to help.
Slava
I'm trying to get this NSOpenPanel to select all plain text files.
This should be *simple* right? Sheesh. So I thought I'd use a UTI (in
addition to some specific extensions and the HFS type 'TEXT'), so I
added kUTTypePlainText. That really should be just dandy for my needs.
Except it's
On Thu, Jan 29, 2009 at 11:39:21AM +1100, Graham Cox wrote:
On 29 Jan 2009, at 11:06 am, David H. Silber wrote:
Is there some means of detecting if an instance has been initialized?
I'm thinking not. Apple's NSObject Class Reference says The init
method defined in the NSObject class
Seth Willits (sli...@araelium.com) on 2009-01-28 8:56 PM said:
I'm trying to get this NSOpenPanel to select all plain text files.
This should be *simple* right? Sheesh. So I thought I'd use a UTI (in
addition to some specific extensions and the HFS type 'TEXT'), so I
added kUTTypePlainText. That
found out, I forgot to run -reloadData
On Jan 28, 2009, at 4:02 PM, Corbin Dunn wrote:
Le Jan 28, 2009 à 1:51 PM, Mr. Gecko a écrit :
It only seemed to mess up when I resized the window. Now it seems
to not be doing it, I don't know what I changed...
Oh, well, you forgot to mention that
According to the documentation its not exactly recommended to use them
in 10.5 either, even though it appears to draw just fine in 10.5. If
my client wants to keep overlapping sibling views to save the time of
refactoring is this a terrible idea if he only plans to support 10.5+?
For performance
On Jan 28, 2009, at 7:24 PM, Sean McBride wrote:
So it does. Neat. Odd that the click-and-hold that works for
moving other views around in the hierarchy does not work with the
tableview.
Very odd. First thing I noticed when I double-checked my assertions
when I saw your message. :-)
On Jan 28, 2009, at 9:44 PM, Adam Gerson wrote:
According to the documentation its not exactly recommended to use them
in 10.5 either, even though it appears to draw just fine in 10.5. If
my client wants to keep overlapping sibling views to save the time of
refactoring is this a terrible idea
On Jan 28, 2009, at 4:24 PM, Sean McBride wrote:
On 1/28/09 7:26 PM, I. Savant said:
Smiley aside, I think it's more than just 'typical'. Unless I'm
missing some magic incantation, IB does not let you remove a
tableview from its scrollview. No doubt it's possible
programatically...
On Jan 28, 2009, at 4:46 PM, cocoa-dev-requ...@lists.apple.com wrote:
On Thu, Jan 29, 2009 at 11:39:21AM +1100, Graham Cox wrote:
On 29 Jan 2009, at 11:06 am, David H. Silber wrote:
Is there some means of detecting if an instance has been
initialized?
I'm thinking not. Apple's
Hello,
I need my application to set in system menu bar.
I am able to set in menu bar. and i am getting all the events associated
with application click menu.
I stetted two click events on menu bar. openWindow and quit. on click of
openWindow I am loading nib file. this nib contains multiple
I can put together my own solution, but I'm *sure* there has to be
some real way of doing this built-in *somewhere*, so I have to ask...
My app has a URL handler, and I want the user to be able to click a
link to save some time to things. The URL would have the form:
On Wed, Jan 28, 2009 at 2:04 PM, Joseph Crawford codeb...@gmail.com wrote:
Hello Everyone,
I had my project all working smooth using 1 nib file which contained my
MainMenu and my window. I have since separated them because a lot of people
suggested it. However this separation has led me to
I'm fiddling with a URL handler in my app and I noticed that if a
modal session was running, the handler - registered with my NSApp's
delegate - was not being called, even after the dialog closed. I
looked around the docs for a bit to find a reason/workaround and
discovered by chance
On Jan 28, 2009, at 9:50 PM, Seth Willits wrote:
Does anyone know what's really going on here? Should AppleEvents
always be firing during a modal session?
Call me a fool on this one. I didn't realize my AppleEvent handler was
being set up after the call to runModal, thus it never would
Hi All,
I created one NSStatusMenuItem and i am displaying it to Menubar.I want to get
position of that item in screen coordinates.
How can i get that position of that item?
Pleasle suggest. Any pointer should be appreciated.
Thanks Regards,
R.
--
On Wed, Jan 28, 2009 at 10:57 AM, Thomas Davie tom.da...@gmail.com wrote:
This solution will also throw sub-pixel anti-aliasing in the bin.
Perhaps the better solution is to draw the text as normal and then
re-draw the background with the appropriate alpha on top.
--Kyle Sluder
On Jan 28, 2009, at 22:32, Kyle Sluder wrote:
On Wed, Jan 28, 2009 at 10:57 AM, Thomas Davie tom.da...@gmail.com
wrote:
This solution will also throw sub-pixel anti-aliasing in the bin.
Perhaps the better solution is to draw the text as normal and then
re-draw the background with the
Hello all,
Still have problems with predicate editor. My items have tags and I
want to be able to filter items by those tags. My document has array
of all tags, so I added a row template with three popup buttons and
wanted to bind the third one to that array. I tried the following:
NSPopUpButton
Hello once again, just a quick question:
It seems that predicate editor remains what right view was used for
each operation. If I add a row with numeric parameter and two
operators (less and greater) and then switch between them - predicate
editor will remember value I entered for less and when I
67 matches
Mail list logo