Sorry for the late reply..
I will try it today, but something weird is that I did a fresh new test project
and didn't work either.
G.
On 16.5.2010, at 17:36, Henry McGilton wrote:
>
> On May 16, 2010, at 4:06 AM, Gustavo Pizano wrote:
>
>>
>>
>> Hello all.
>>
>> I was taking a look in
Hi Tony
> Ok, here is the magical answer as to why the remove: didn't work. Nice
> little warning in the Cocoa Bindings Programming topic:
>
> Warning: Providing the count key path to an NSTreeController instance
> disables the add:,addChild:, remove:, removeChild:, orinsert: methods.
>
> My
Hi Bill
> Cocoa - Using Add to Project to Organize Your Projects More Effectively.
I had already found out how to use this trick of dragging folders from Finder
to Xcode to organise my projects, but your screenshots revealed something I
didn't know - that I could drag applications to the Finder
Thanks for the information!
That's actually a bit disappointing to hear about the rulers but I'm glad I
asked before I started to really dig in.
I'll definitely check out DrawKit for the art. I had no idea that even existed.
Cheers
--
Philip Regan
http://www.oatmealandcoffee.com
On May 14, 2
On May 16, 2010, at 3:37 PM, Tobias Jordan wrote:
> Hey guys,
>
> I have a CA transition running which obviously doesn't support any blocking
> modes (CABasicAnimation). I must block the UI during the transition so the
> user can't click somewhere and something unexpected happens. I think all
Hello all.
I have a little problem here.
I need to get the value of a textfiled which has a NSNumberFormatter with
currency style.
Now, Im doing:
double d = [amountPayedTF doubleValue];
NSDecimalNumber * dm = (NSDecimalNumber *)[NSDecimalNumber
number
On May 17, 2010, at 1:21 PM, Paul Sanders wrote:
> The approach I use is to subclass NSApplication and throw awat mouse,
> keyboard and gesture events in -[MySubclassedNSApplication sendEvent:]
> instead of calling super. For added style, beep.
For the OP's case, you don't even need to subclas
The subject pretty much says it all. I need to access the Cancel button of a
search bar, so I can change its title. I couldn't find a way to set an outlet
to it in IB, and the docs don't show it as a property of the search bar. Any
ideas?
Thanks in advance.
WT___
On May 17, 2010, at 12:33 AM, Quincey Morris wrote:
> Your Model is being initialized because the NIB file that contains it is
> being loaded. The gory details of what happens can be found here:
>
>
> http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/LoadingResources/
On May 14, 2010, at 8:17 AM, David Duncan wrote:
> On May 12, 2010, at 12:52 PM, sebi wrote:
>
>> hello,
>>
>> sorry, this is probably a very simple thing, but i am quite puzzled right
>> now.
>>
>> when i do this in my view controller:
>>
>> -
>> (void)didRotateFromInterfaceOrientation:(U
Thanks for your nice ideas guys, both solutions, subclassing
NSApplication (overwriting -sendEvent:) and calling -
nextEventMatchingMask:untilDate:inMode:dequeue: in a loop work. Now
the only thing that's missing is disabling the application's menu
since it's still clickable during animation
On May 17, 2010, at 6:08 PM, Tobias Jordan wrote:
> Thanks for your nice ideas guys, both solutions, subclassing NSApplication
> (overwriting -sendEvent:) and calling
> -nextEventMatchingMask:untilDate:inMode:dequeue: in a loop work. Now the only
> thing that's missing is disabling the applicati
> On Fri, 2010/05/14, Thomas Wetmore wrote:
> From: Thomas Wetmore
> Subject: Re: TUTORIAL: Generating Unique ID Strings
> To: "Jens Alfke"
> Cc: "CocoaDev"
> Date: Friday, 2010 May 14, 12:30
> I must say that I am constantly
> amused by the nanniness of the Apple discussion lists,
> telling pe
You are right Uli, I'd definitely like to let the user decide what to
do but when taking a look at Apple's OS X animations I have to say
it's always completely blocking the UI so I thought that's a default
behavior. I don't know yet whether I'll need to disable the MainMenu
or not, it depen
Bear in mind most of the animations in the OS predate Core Animation, so tend
to behave a little differently.
Even so, take something like the Genie effect. It's possible to kill the
animation midway and have a distorted, but usable window.
On 17 May 2010, at 17:28, Tobias Jordan wrote:
> You
On Mon, May 17, 2010 at 9:21 AM, Uli Kusterer
wrote:
> Can't you just not not ask for mouseDown events in your event mask while
> running your event loop? My guess would be that that would keep any menus
> from opening.
Gah! That would be a bad idea. The HIG says menus should always be
openabl
Hi Matej,
Thanks for your answer. I checked what you said and indeed the pointer is null.
What I don't understand, is how this application doesn't have a
UINavigationController. How am I switching between the front and back view if
there isn't a navigation controller? I used the code you sugges
Hi Fritz, thanks for your reply. I actually did what you said, that was not the
problem. It seems that the "Utility Application" doesn't have a
UINavigationController, so the pointer I was trying to push the view on was
nil. I'm trying to figure out how to change the code of the "Utility
Applic
If you think that's confusing, wait until you try to use an external monitor
and see what the rotation does to you. So far, I've successfully managed to
counter-rotate the external view's window so my text stays upright, but
getting the view and its contents to scale properly is proving more elusi
Hi All,
I'm still coming to grips with Cocoa and I'm wondering if any list members
would be kind enough just to review a small code fragment for style advice...
The following occurs as part of the drawRect method of a UIView subclass. The
method simply draws concentric circles inside the view
First, make sure the "interfaceOrientation" property is correct on your view
controller after the rotation.
If it's the case, check that your view can be resized properly (either with
autoresizing masks or with a custom layoutSubviews, or any other custom
mechanism).
If it's not the case, it m
This is something I found useful, so I documented it, and thought I'd share
it...
Listed under :
Cocoa - Printing Documentation
Cocoa - Tips for printing selected portions of the documentation...
At : http://www.journey-of-flight.com/index.php
or you can reach the page directly at :
http://
I think is fine but If I were you I probably will try to find some kind of
function that gives me the same result as using enumerators
For example in this case I will use UIColor colorWithRed:green:blue:alpha
method and use the radius to determine components of a color
When numerator objects ar
On May 17, 2010, at 06:32, Carlton Gibson wrote:
> // Set up the stroke colors (and the variables for enumeration)
> NSArray *strokeColors = [NSArray arrayWithObjects:
>@"redColor", @"orangeColor", @"yellowColor", @"greenColor",
>@"blueColor", @"cyanColor", @"magentaColor", nil];
> NSEnum
On 17 May 2010, at 7:15 AM, Gustavo Pizano wrote:
>
> I need to get the value of a textfiled which has a NSNumberFormatter with
> currency style.
>
> Now, Im doing:
>
> double d = [amountPayedTF doubleValue];
> NSDecimalNumber * dm = (NSDecimalNumber *)[NSDe
HEllo Fritz
Yep. Im using the obejctValue of the TextField and getting the DecimalNumber
now.
and Im changing that double as you suggested.
Thanks for the reply.
On 17.5.2010, at 22:51, Fritz Anderson wrote:
> On 17 May 2010, at 7:15 AM, Gustavo Pizano wrote:
>
>>
>> I need to get the val
On May 15, 2010, at 12:31 AM, Ryan C. Payne wrote:
> On Apr 9, 2010, at 15:17, Nick Zitzmann wrote:
>
>>
>> On Apr 9, 2010, at 3:42 PM, Laurent Daudelin wrote:
>>
>>> However, the selection is the standard highlight, not the outline I see in
>>> any other table views in other Apple applicatio
Sorry for the late reply..
I will try it today, but something weird is that I did a fresh new
test project and didn't work either.
Just a stab in dark, but does your Language and Text setup match the
localization?For example, you have a French localization (fr_FR), but
are you setup fo
I'm in rather the opposite boat -- my app does NOT trigger the switch to
NVIDIA, and my OpenGL calls fail (actually, it's more complicated that this as
it's a screensaver and a helper app) but it sounds like if I simply link my
bundle to one of the GL frameworks (even if I don't need it?) that w
http://codykrieger.com/gfxCardStatus/
On May 17, 2010, at 4:10 PM, Michael Diehr wrote:
> I'm in rather the opposite boat -- my app does NOT trigger the switch to
> NVIDIA, and my OpenGL calls fail (actually, it's more complicated that this
> as it's a screensaver and a helper app) but it sound
Hey guys, it's funny, I just found a way of handling the animation
without blocking the UI. I thought it's impossible to be in control of
everything then but that's obviously not true. :-)
Thanks to everyone!
Best regards,
Tobias Jordan.
On May 17, 2010, at 7:02 PM, Kyle Sluder wrote:
On
Well, it's easy. I just created an animation queue, thus if one
transition is called while another one is still running (busy), it is
put into an array and executed when the running animation has
finished. It works pretty awesome!
— Tobias.
On May 18, 2010, at 2:42 AM, Jack Carbaugh wrote:
> Well I don't know what you're seeing exactly, but the cells in a table view
> are spaced out.
>
> - (void)setIntercellSpacing:(NSSize)aSize
>
> The default intercell spacing is (3.0, 2.0).
>
I've attached a small screenshot of what I'm seeing.
<>___
Update: it appears as if instantiating a dummy NSOpenGLView in my master
process helps the issue.
I'm not clear whether I actually need to go so far as to create the
NSOpenGLView and add it as a subview, or if simply linking with the OpenGL
framework is sufficient.
Also - not sure what pixel f
On May 17, 2010, at 5:48 PM, Shane wrote:
> [path moveToPoint:NSMakePoint(cellFrame.origin.x, cellFrame.size.height)];
> [path lineToPoint:NSMakePoint(cellFrame.size.width, cellFrame.size.height)];
If cellFrame = {500, 300, 120, 20}
You're drawing from {500, 20} to {120, 20}
--
Seth Willits
> I'm in rather the opposite boat -- my app does NOT trigger the switch to
> NVIDIA, and my OpenGL calls fail (actually, it's more complicated that this
> as it's a screensaver and a helper app) but it sounds like if I simply link
> my bundle to one of the GL frameworks (even if I don't need it?
On May 17, 2010, at 6:41 PM, Dave Keck wrote:
>> I'm in rather the opposite boat -- my app does NOT trigger the switch to
>> NVIDIA, and my OpenGL calls fail (actually, it's more complicated that this
>> as it's a screensaver and a helper app) but it sounds like if I simply link
>> my bundle to
A navigation controller is not something that you can expect to be always
there. It has to be created first - ether in code or in interface builder.
The flip isn't managed by a navigation controller. The main view controller is
simply presenting modal view controller (every UIViewController can
Hi,
I am trying to open the really old projects at the following link in the
current version of XCode.
Examples
I am not having success. Can someone supply some pointers?
David Arnold
College of the Redwoods___
Cocoa-dev mailing list (Cocoa-dev@lis
Hi,
I am trying to follow the app out of chapter 15 of Cocoa Applications, a
step-by-step guide, with example code at:
Examples
My BarView.m follows:
#import "BarView.h"
@implementation BarView
- (IBAction)takePercentage:(id)sender
{
[self setPercentage:[sender floatValue] ];
}
/* desig
That worked like a charm! Thank you Matej...
aa
On May 17, 2010, at 1:32 PM, Matej Bukovinski wrote:
> A navigation controller is not something that you can expect to be always
> there. It has to be created first - ether in code or in interface builder.
> The flip isn't managed by a navigation
MMM
I dunno about that.. I was just selecting French from the pop up list when I
clicked the "Make localizable" button under info of the xib file, and then I
put in the first position of the lang list under system preferences French
language... re build re run and nothing, I logout and login ag
On May 17, 2010, at 12:46 PM, David Arnold wrote:
> I am trying to open the really old projects at the following link in the
> current version of XCode.
>
> Examples
>
> I am not having success. Can someone supply some pointers?
This is really a question for the xcode-users list, but anyway,
43 matches
Mail list logo