I am implementing a view to allow the user to select his preferences from
within the app while it is running instead of having to exit the app to use the
settings app to do so and then restarting my app.
The preferences view is controlled by the controller I am trying to define. It
knows how to
Except the view and the controller are in separate xib's so they can't be
connected in this way.
On Dec 23, 2009, at 4:08 PM, Seth Willits wrote:
> On Dec 23, 2009, at 11:19 AM, Charlie Dickman wrote:
>
>> In an iPod Touch/iPhone app where the view is in 1 xib and it's controller
>> is in a d
If I understand the question what happens is that you receive a mousedown event
with the modifier key set in the event. It is then up to you how to process a
modifier-click. Vertical selection is something, I think, you have to do for
yourself.
Perhaps there's some sample code at Apple's site.
I cannot uncheck the NSbuttonCell inside the tableView. When running the
program, i set all the checkbox to NSOnState. meaning they are all check when
running my program.
But when clicking the checkbox it will no t uncheck. Is there a way i could
uncheck? because setting the state to NSOffState
Am 25.12.2009 um 06:40 schrieb Brian Bruinewoud:
> I don't understand how the value of 'score' breaks things. If I get rid of
> the negation in this code:
>int score;
>if( self.isGood ) score = sender.tag;
>else score = - sender.tag;
> everything works f
On Dec 24, 2009, at 21:48, Brian Bruinewoud wrote:
> Oh, sorry, here is the message in the Console:
>
> *** -[NSCFType controllerDidChangeContent:]: unrecognized selector sent to
> instance 0x3a11d70
You need to pay attention to this first, since it suggests that you have a
memory management e
On Wed, Dec 23, 2009 at 1:18 PM, Charlie Dickman <3tothe...@comcast.net> wrote:
> Except the view and the controller are in separate xib's so they can't be
> connected in this way.
Who/what is the "file owner" of the two xib's you are talking about?
Most commonly those are the objects that load
Of course they can. In the view's xib, the "File's Owner" object
represents the object that is doing the loading of the xib. In this
case, that is your view controller.
Sent from my iPhone
On Dec 23, 2009, at 16:18, Charlie Dickman <3tothe...@comcast.net>
wrote:
Except the view and the
On Dec 25, 2009, at 12:48 AM, Brian Bruinewoud
wrote:
*** -[NSCFType controllerDidChangeContent:]: unrecognized selector
sent to instance 0x3a11d70
Usually this is a sign of a memory management error, specifically an
overrelease. Run with zombies enabled to find it.
--Kyle Sluder
_
As far as I know, Apple is encouraging developers to move to Instruments.
Can you use instruments with: Object Allocation or Leaks instead?
Jesper
On Dec 24, 2009, at 3:12 PM, Richard Somers wrote:
> Start with an Apple core data document based application project
> template. Build and start wi
On Dec 25, 2009, at 8:59 AM, Jesper Storm Bache wrote:
As far as I know, Apple is encouraging developers to move to
Instruments. Can you use instruments with: Object Allocation or
Leaks instead?
Instruments also hangs. It would appear that Instruments uses
MallocDebug to check for leaks.
On Dec 23, 2009, at 4:34 PM, Lance Kwan wrote:
> I cannot uncheck the NSbuttonCell inside the tableView. When running the
> program, i set all the checkbox to NSOnState. meaning they are all check when
> running my program.
> But when clicking the checkbox it will no t uncheck. Is there a way i
I tried setting the content directly but it only generated errors.
Am I right to assume that collectionviews cannot be used without
bindings ?
(like with datasources for example) ?
Maybe it's a question of filling in the binding settings in the right
"magic" order...
Le 24 déc. 2009 à 22:0
On 25/12/2009, at 5:25 AM, Joshua Garnham wrote:
> How would I set the Line Height/ Line Spacing in an NSTextView? e.g How
> tall each line is or how much space is between each line.
These are all properties of a NSParagraphStyle, which is itself a property
applied to a range of characters wit
Ironically, it wasn't that I was overreleasing something but rather that I was
under releasing.
Specifically, the fetchedResultsController's delegate was a view controller.
The view controller owned the fetchedResultsController. Presumably a fairly
common pattern.
However, the view controller's
Hi folks,
I'm building a class Card that represents a playing card in a simulation. I
want instances of Card to be initialized with two integers that represent
the suit and value. When an instance of Card is queried for its suit or
value, it returns an NSString (@"Club", @"Spade", @"4", @"King", e
Presumably you're not using garbage collection. If that's the case,
suitArray is being deallocated because you didn't retain it. Probably
time to check out the memory management guidelines:
http://developer.apple.com/mac/library/documentation/cocoa/Conceptual/MemoryMgmt/Articles/mmObjectOwner
Ah, that makes perfect sense. Thank you!
Michael S Craig
On Sat, Dec 26, 2009 at 12:12 AM, Dave Keck wrote:
> Presumably you're not using garbage collection. If that's the case,
> suitArray is being deallocated because you didn't retain it. Probably
> time to check out the memory management gu
Hi All
I there a way to detect, on a system wide basis, that the dim/
brightness keys (or volume keys) have been pressed?
I tried using the event-tap API using a HID + head based intercept,
running as root with assistive access switched on, but even that
doesn't receive the events.
My ai
Hello,
I'm working on an iPhone app and need help passing entered text from a
UITextfield into NSLog. Any thoughts?
Happy Holidays,
Chad Eubanks
Sent from my iPhone
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin
I have been looking for a simple way to create a knob controller with
a custom image. I have attempted subclassing NSSlider, using
setSliderType NSCircularSlider and drawing a new knob using the
drawKnob method. Apparently it appears drawKnob is not called under
Leopard when the setSliderTy
On 26/12/2009, at 3:52 PM, Michael Craig wrote:
> I'm building a class Card that represents a playing card in a simulation. I
> want instances of Card to be initialized with two integers that represent
> the suit and value. When an instance of Card is queried for its suit or
> value, it returns a
On Fri, Dec 25, 2009 at 10:52 PM, Michael Craig wrote:
> #import
>
> static NSArray *suitArray;
I doubt you really mean this. When you put this in your header file,
every file that includes "Card.h" has its own, separate copy of
suitArray. If you want to export a shared global into every file, t
23 matches
Mail list logo