On Feb 19, 2010, at 6:17 AM, Tom Davie wrote:
> Hi,
>
> I'm having some problems with an open panel. I display the panel, allow the
> user to chose and image, and then do some work, which involves showing a
> sheet while the work is done. This all works wonderfully, until the user
> clicks the
On Feb 16, 2010, at 6:31 PM, James Trankelson wrote:
> Hi,
>
> I'm trying to figure out the general feasibility of the following task.
>
> Imagine I have two separate applications, running side by side. Is it
> possible to take all of the mouse/keyboard inputs that are going into
> one of these
On Feb 13, 2010, at 7:57 PM, Trygve Inda wrote:
>> Trygve Inda (cocoa...@xericdesign.com) on 2010-02-14 22:13 said:
>>
>>> In code based largely on Apple's SourceView, I am drawing by IconAndTextCell
>>> and getting a crash...
>>>
>>> Anyone seen this and know what it might be?
>>>
>>> I have
On Feb 13, 2010, at 11:39 AM, Laurent Daudelin wrote:
> Is there anyway to have smaller segmented controls besides the large ones
> available in IB? I'm talking the size of the one in Settings->General for
> Location Services. Any idea?
Using Interface Builder's Attributes Inspector, set the
On Feb 12, 2010, at 8:34 PM, Laurent Daudelin wrote:
> I'm not sure what I'm missing but I know it must be big. I started the design
> of a TabBar-style app and now, I want one of the view to be a navigation one.
> I did drag a UINavigationController to my xib, put it inside the TabBarView
> a
On Feb 12, 2010, at 1:31 PM, Donald Klett wrote:
> Once again, I am not understanding some aspect of Objective C and/or Cocoa.
>
> I created a simple class that contains two NSTextField objects. I used IB to
> connect the Controller object with the two text fields. The code follows.
> This
On Feb 10, 2010, at 12:23 PM, James Walker wrote:
> I think at times I've written things like [[NSMutableArray alloc] init] with
> no apparent ill effects, but now I notice that the docs for NSMutableArray
> and NSArray don't say that there is an init method. The NSObject docs say
> that an i
ion options . . .Otherwise it
might be a
corrupted image . . .
Cheers,
. . . . . . . .Henry
>
> On Feb 7, 2010, at 6:16 PM, Henry McGilton (Boulevardier) wrote:
>
>>
>> On Feb 7, 2010, at 4:33 PM, Development wrote:
>>
>>> I am adding an imag
On Feb 7, 2010, at 4:33 PM, Development wrote:
> I am adding an image to a UIImageView and every time that I try to I get this
> error: : invalid distance too far back\n
>
> and only about the top 10 lines of the image appear in the view, the rest is
> black even though the image size is
> co
On Feb 6, 2010, at 6:45 PM, Kyle Sluder wrote:
> On Sat, Feb 6, 2010 at 3:45 PM, Development
> wrote:
>> I really like the sound of this solution. I've never worked with CGPaths, is
>> that anything at all like NSBezierPath?
>> because it seems like this might be the way to go. Can I use an Im
gt;
> On Feb 6, 2010, at 2:44 PM, Henry McGilton (Boulevardier) wrote:
>
>>
>> On Feb 6, 2010, at 11:28 AM, Paul Sanders wrote:
>>
>>> Perhaps you could use separate images and convert them to
>>> monochrome, saving them as 1 bpp bitmaps (
On Feb 6, 2010, at 11:28 AM, Paul Sanders wrote:
> Perhaps you could use separate images and convert them to
> monochrome, saving them as 1 bpp bitmaps (aka masks). Memory
> should not then be an issue.
>
> Paul Sanders.
>
> - Original Message -
> From: "Andrew Farmer"
> To: "Jens
On Feb 6, 2010, at 9:57 AM, Matthew Weinstein wrote:
> It's associated with an NSDocument...
>
> On Feb 6, 2010, at 9:41 AM, edole...@gmail.com wrote:
>
>> is it assoc with a view controller class?
>>
>> --
>> Sent from the Verizon network using Mobile Email
>>
>> --Original Messa
On Feb 1, 2010, at 2:11 PM, Eric Gorr wrote:
> Strange, I just replied to Richard saying that my selector is not performed
> until after the mouse button goes up. I can hold the mouse button down for
> several seconds and not see the selector performed.
>
> Of course, this may actually be due
On Jan 13, 2010, at 6:22 PM, William Squires wrote:
> I have a UITableView that's part of a Navigation-based Application. There's
> one .xib, a DrinkDetailViewController class (.m & .h files) and an
> AddDrinkViewController class which inherits from DrinkDetailViewController.
> Both share the
On Jan 7, 2010, at 8:53 AM, Eric E. Dolecki wrote:
> I don't care about the city, just that the zip code will work. On an iPhone
> testing against an array of 42,305 values... could that be pretty quick?
> Seems like a large set to go through looking. I'm sending the value to a
> webservice to re
On Jan 6, 2010, at 9:21 AM, David Blanton wrote:
> Here is the code:
>
> @interface MyDocumentView : NSView {
> @public
>
> NSBitmapImageRep* m_NSBitmapImageRep;
> NSRect m_frameRect;
> float m_sz;
> BBitmap
On Jan 5, 2010, at 1:43 PM, mmalc Crawford wrote:
>
> On Jan 5, 2010, at 1:35 pm, Kyle Sluder wrote:
>
>> On Tue, Jan 5, 2010 at 1:23 PM, mmalc Crawford wrote:
>>> An NSDate object represent a single point in time -- you can think of it
>>> basically as a wrapper for an NSTimeInterval from th
On Jan 4, 2010, at 11:17 AM, Nick Zitzmann wrote:
>
> On Jan 4, 2010, at 11:35 AM, Eric E. Dolecki wrote:
>
>> I am creating an iPhone view that has 12 months of views in it starting with
>> January.
>
> Don't make assumptions about calendars unless you are absolutely sure you can
> get away
On Dec 31, 2009, at 2:26 PM, David Blanton wrote:
> Given an array of color data (a generic bitmap) what is the best / fastest /
> recommended method to convert this to an NSImage?
Load your data into memory, create an NSBitmapImageRep from that pile of
data, then make an NSImage from the NSBit
On Dec 30, 2009, at 11:43 AM, Gustavo Pizano wrote:
> Henry hi.
> You mean with the NEEvent method that returns the timestamp?... I was trying
> that also, and as far as I understood its the timestamp between the App
> startup and the event... so I dunno how this might help me... maybe I
> mi
On Dec 30, 2009, at 2:53 AM, slasktrattena...@gmail.com wrote:
> Simple. Start a timer on mouse down, invalidate it on mouse up.
> Something like this (written in mail):
>
> NSTimer *timer;
>
> -(void)mouseDown:(NSEvent*)ev
> {
>timer=[[[NSTimer alloc] blah ...] retain];
> }
>
> -(void)mou
On Dec 28, 2009, at 3:27 PM, Graham Cox wrote:
>
> On 29/12/2009, at 4:00 AM, Joar Wingfors wrote:
>
>>> NSInteger i = 0;
>>> while ([[self trackingAreas] count]==0) {
>>> [self removeTrackingArea:[[self trackingAreas]
>>> objectAtIndex:i]];
>>> i++;
>>> }
>
I bashed into a problem with NSKeyedArchiver trying to encode
NSValue objects.
I am using NSValue to wrap up CGPoint and CGSize structures, then
doing an encodeObject: forKey: to encode the NSValue.
I get this message:
[NSKeyedArchiver encodeValueOfObjCType:at:]: this archiver canno
On Dec 23, 2009, at 7:41 PM, Richard Somers wrote:
> In my application when I do the following something strange happens.
>
> Add a managed object to the store, save the file, then save the file as
> another name.
>
> Upon saving the file with another name, core data will create and then
> de
On Dec 22, 2009, at 9:33 AM, Richard Somers wrote:
> How do you inspect or print the description of a Core Graphics object?
There's no analogue to the -description method of Objective-C frameworks.
Many of the specific Core Graphics types like CGColor and CGColorSpace and
CGImage and CGFont h
On Dec 21, 2009, at 8:02 PM, Development wrote:
> Then I don't understand how to do this.
>
> Do I create the context at this larger size? because that's what I did.
> Do I drawInRect the image at it's original size? Because that's what I did.
>
> As near as I can tell, no matter what I do, th
On Dec 14, 2009, at 12:45 PM, Eric E. Dolecki wrote:
> I was receiving malloc double free errors when a view removed itself, so all
> of the releases I was doing in the view I commented out, the view killing
> itself after it animates from visual view:
>
> - (void) killMe:(NSString *)animationID
On Dec 11, 2009, at 10:23 AM, Paxton Sanders wrote:
> Sorry if this is a bit too basic, but...
>
> I want to know when the user exits edit fields, so I can check values and
> provide immediate feedback. I'm using
> - (void)controlTextDidEndEditing:(NSNotification *)aNotification
> and it works
On Dec 10, 2009, at 4:51 PM, Joe Programmer wrote:
> I made a similar post to the Xcode list originally, but it was suggested that
> I redirect it to the Cocoa list. Here it is:
>
> I'm working with a Cocoa app compiling with gcc 4.0 in Xcode 3.2.1. Both the
> debug and the release builds la
On Dec 10, 2009, at 8:42 AM, Manfred Schwind wrote:
>> Be careful, though: Some MacOS versions have a bug where .strings files had
>> to be UTF16 to actually work. I don't think Apple has fixed that yet.
>
> Do you have more specific information about that?
> I consequently always used UTF-8 fo
On Dec 10, 2009, at 6:24 AM, Eric E. Dolecki wrote:
> If I create a UILabel in IB in a view & I place 1/2 of the label out of the
> view at the top, I can't seem to drag the view window around by the title
> bar where the label is. I know that having the control 1/2 out of the view
> isn't normal
On Dec 9, 2009, at 5:58 PM, Eric E. Dolecki wrote:
> Is there a way to define the touchesBegan in an added sub view to
> be constricted to a certain area and not allObjects? Thus leaving a "hole"
> to allow touches to be fired on the view below?
If I interpret your question correctly, you want t
On Nov 28, 2009, at 2:50 PM, Quincey Morris wrote:
> On Nov 27, 2009, at 14:58, Shane wrote:
>
>> I think I'm understanding this in part ...
>>
>> // *.h
>> NSMutableData *pointData;
>> NSPointArray *points;
>>
>> // *.m
>> pointData = [[NSMutableData alloc] init];
>>
>> .
On Nov 26, 2009, at 4:01 PM, Sandro Noël wrote:
> Thank you Alastair.
>
> Well it's pretty complicated, This is my third application, the first being
> Bonjour Mounter, the Second RDP Launcher.
> Others were created but never released. I've always used the OS's controls
> but now I find myself
On Nov 23, 2009, at 10:33 AM, PCWiz wrote:
> What I had in mind was a window vanishing effect for when the window is
> closed (for example a fade out is easy to do with [[window animator]
> setAlphaValue:0.0];) but something slightly more complex, such as the private
> "suckEffect" transition
On Nov 20, 2009, at 12:22 PM, Jens Alfke wrote:
>
> On Nov 20, 2009, at 12:09 PM, Michael de Haan wrote:
>
>> Does the, in your opinion, "optional" addition pretty much replace
>> categories as a whole, or is there still a role for them?
>
> It replaces informal protocols. There are many othe
I wonder if anybody else has seen this particular end case.
I googled for anything remotely like this problem and found nothing really
relevant, and CocoBuilder is down right now.
In a group learning situation last week, one of the people stumbled over a
problem defining and then trying to un-defi
On Oct 23, 2009, at 10:29 AM, Bob Barnes wrote:
Hi all,
I posted this a yesterday, but it never appeared on the list and
it's not showing up in the web archive so I thought I'd retry.
I have a UITableView that contains some cells with UITextField's
embedded in them. When I touch the U
On Oct 7, 2009, at 8:39 PM, John Baldwin wrote:
Perhaps that's what's tripping me up: bogus expectations. Here's
what I have set up.
In the xib file, the File's Owner delegate is set to an
AppController instance (an object in the xib).
The AppController has a +initialize method which ini
On Oct 7, 2009, at 4:35 PM, Luke the Hiesterman wrote:
If you subclass UITabBar you can get the touches yourself and
respond appropriately.
Luke
You can also set a delegate for the Tab Bar Controller and implement the
- (void)tabBarController:(UITabBarController *)tabBarController
didSe
On Sep 15, 2009, at 5:20 AM, Graham Cox wrote:
On 15/09/2009, at 10:07 PM, Mark Bateman wrote:
if I have a value of x= 10,000 y = 211.2 and an envelope
of 9500, 200: 13000, 211: 14000,214: 9500,214 can i use
NS range to check if the original coordinates are inside the
bou
On Sep 14, 2009, at 9:11 AM, jon wrote:
I thought i had read that NSNumber knew how to code itself in an
NSArray... is this not the case? or is this code below just set up
all wrong? and what would the proper way be to set this up?
bookMarkNode's coders are below, this object has the
On Sep 13, 2009, at 4:17 PM, Kyle Sluder wrote:
We already know the cause and the solution: MyViewController.h
imports MySubview.h, and MySubview.h imports MyViewController.h. The
standard C header preprocessor trick does not help in this
situation, and neither does import.
The solution
On Aug 27, 2009, at 8:13 PM, Seth Willits wrote:
drawAtPoint/drawInRect in NSString/NSAttributedString says...
"You should only invoke this method when an NSView object has focus."
"Don’t invoke this method while no NSView is focused."
When an image is focused, and you draw text, it'll defi
On Aug 23, 2009, at 10:57 PM, J J wrote:
I'm trying to write an app that will page through text .. I'm trying
to grab the text, find out how much with fit on a page, write the
text to a view (page), then perhaps paginate the pages around it
onto other views to be ready as needed.
Anyone ha
On Aug 9, 2009, at 9:59 PM, Adam Gerson wrote:
I would like to insert objects out of order into an NSMutableArray.
I create the array with
NSMutableArray* cards = [[NSMutableArray alloc] initWithCapacity:5];
initWithCapacity simply makes an array large enough to contain that
number
of ele
On Aug 8, 2009, at 1:23 AM, Brian Bruinewoud wrote:
Hi,
I'm a little confused about how this code works:
MyController *myController = [[ myController alloc ]
initWithNibName: @"myView" bundle: nil ];
[[ self navigationController ] pushViewController:
myController animated: Y
On Aug 8, 2009, at 6:09 PM, John Michael Zorko wrote:
Hello, all ...
I load a UIImageView with an array of PNG images, and call
startAnimating -- this works very well. However, I need to know
when the animation is done, because I need to have a thread load the
next animation. Unfortun
On Jul 29, 2009, at 11:27 AM, Eric E. Dolecki wrote:
This is good to use:
#define UIColorFromRGB(rgbValue) [UIColor \ colorWithRed:((float)
((rgbValue
& 0xFF) >> 16))/255.0 \ green:((float)((rgbValue & 0xFF00) >>
8))/255.0
\ blue:((float)(rgbValue & 0xFF))/255.0 alpha:1.0]
cell.textCol
On Jul 28, 2009, at 12:22 AM, Kyle Sluder wrote:
On Jul 27, 2009, at 10:38 AM, YongLi wrote:
I have installed the snow leopardbut i can't find the download link
of xcode
3.2
1. This is cocoa-dev. This list exists for the discussion of Cocoa,
not for downloading seeds or other non-Cocoa
On Jun 22, 2009, at 1:39 PM, Daniel Torrey wrote:
I'm looking at some sample iPhone code, and in the app delegate's
applicationDidFinishLaunching method, I see
// Set up the view controller
MyViewController *aViewController = [[MyViewController alloc]
initWithNibName:@"HelloWorld"
On Jun 18, 2009, at 10:39 AM, Chunk 1978 wrote:
agreed. the reason i asked is because i saw this snippet of code:
repeatCount = 1e100f; and i just though that seems awfully ambiguous
and hoped for something a little more universal.
Nothing ambiguous at all --- it's about 2 * 10 ^ 82 times th
On Apr 22, 2009, at 11:25 AM, Maryanna Rogers wrote:
This path will never be drawn.
~m
On Wed, Apr 22, 2009 at 8:23 PM, David Duncan
wrote:
On Apr 22, 2009, at 10:54 AM, Maryanna Rogers wrote:
I need to take a CGPath (a set of lines, curves, etc.) and scale the
entire thing as a whole.
54 matches
Mail list logo