I believe that the single nib approach has been made more viable by Auto
Layout in Lion, and expect to see more developers using single nib in the
future.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or
Okay, 'nuther dumb question. How do I hook the different arrows in an NSStepper
to actions in my view controller? Or how do I ask (id)sender which arrow was
clicked?
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin
Hi,
I have an NSTextView subclass and I need it to inform another object of when it
becomes first responder - along the lines of overriding -becomeFirstResponder
something along the lines of this:
- (BOOL)becomeFirstResponder {
[someOtherObject textViewBecameFirstResponer:self];
On Sat, 18 Feb 2012 16:45:56 -0800, Greg Parker gpar...@apple.com said:
Precisely. clang now warns about this case (or will soon; I don't know which
release of Xcode has this).
test.m:9:33: warning: variable 'x' is uninitialized when captured by block
[-Wuninitialized]
id x = [Foo
On Fri, 17 Feb 2012 16:06:01 -0800, Greg Parker gpar...@apple.com said:
No. objc_msgSend() also reads from the class's method cache and method list.
It's possible for the receiver object to be valid, but still crash because of
a memory smasher that hit the method cache or method list
It's also
On Sat, 18 Feb 2012 01:24:00 -0500, Dave Keck davek...@gmail.com said:
The root of your problem seems to be your assumption that GCD runs the run
loop.
NSURLConnection case: the delegate methods aren't called because
NSURLConnection machinery requires the run loop to be run, which GCD
isn't
On Feb 19, 2012, at 3:11 PM, William Squires wrote:
Now, I can bind the label's value to File's Owner's self.stringInterval
without Xcode/IB complaining.
I think you can all see where this is going... yep, the label doesn't update
because it's static; there's nothing to tell the label to
On Fri, 17 Feb 2012 16:06:01 -0800, Greg Parker said:
Those of us who wrote objc_msgSend() can sometimes track down the
problem by finding which data structure was damaged and examining the
bad data. Everyone else should try Zombies, Guard Malloc, and Malloc Scribble.
And valgrind... if it works
Don't hold your breath for a new API.
Apple does not want sandboxed apps to communicate with each other
except through extremely limited means: OS X Services (which is
limited to static Services only) and what appears to be a one-way
mechanism defined under Mtn Lion (not sure what part of it is
Dear list,
If an app uses iCloud to sync data between machines, should we provide the user
a check-box to opt-out of iCloud syncing? Is there are recommended best
practice here? What are others doing?
Reading the iCloud documentation I find this phrasing:
What user interface support is
Hello,
Receigen has been updated and now supports InApp purchase validation.
Receigen is a smart code generator for both Mac App Store receipt and InApp
purchase validation. The generated code is ready-to-integrate, fully
debuggable and integrates various protection mechanisms to harden the
Hi,
I have two ArrayControllers in IB, ArrayControllerA and ArrayControllerB, who's
content are setup to show in two TableViews, TableViewA and TableViewB.
Pressing a button in the interface will perform some actions on the selected
objects from TableViewA or TableViewB. I can of course select
First of all, I apologise if this is not the right topic for this list.
Some beta testers of an application I'm working on experience rather strange
and sudden crashes, very often when the application is doing nothing, just
sitting idle in the background. The crash happens in a thread named
I have a usb glucometer that keeps the user's blood sugar level in a
database on the device. The data base file does not appear on the thumb drive
part of the device but I would like to find it use it. This involves learning
how to program a usb device. I expect to do this, of course
HI,
I'm working on a Cocoa Desktop application, which we recently migrated from
Manual memory to ARC.
Application is sometimes crashing when the alert is closed.
Here is the crash log and stack trace.
*** -[NSPanel release]: message sent to deallocated instance 0x111c74a60
#0
Hi,
I have a problem in an AudioUnit plugin with NSView GUI - it takes the
keyboard routines to get info about keys being pressed. But there actually
2 crazy cases in different hosts :
1) in Logic it blocks the spacebar - I need when user presses spacebar to
let logic know about that, not use it
and now see:
Catchpoint 2 (throw)Pending breakpoint 1 - objc_exception_throw
resolved
No further details. The app appears to be fine with no errors or
warnings. Is this a problem?
(SnowLeopard Xcode 4)
___
Cocoa-dev mailing list
In Xcode 4.2 (Snow Leopard), I have a window with several tab views. Inside
each tab view is a matrix of radio buttons with one preselected as default.
I am seeing a problem in which I select a radio button in a view, flip to
another tab then back again. When I do this for one of the tabbed
On Feb 19, 2012, at 4:11 PM, William Squires wrote:
Okay, 'nuther dumb question. How do I hook the different arrows in an
NSStepper to actions in my view controller? Or how do I ask (id)sender which
arrow was clicked?
You don't. You ask for the stepper's value.
--
Seth Willits
On Sun, Feb 19, 2012 at 9:29 PM, Jim McGowan jim_mcgo...@mac.com wrote:
However, I'm a bit confused by the docs. -becomeFirstResponder is marked as
being deprecated for NSTextView, but not deprecated in its superclass
NSResponder. The NSTextView docs for this method reads:
Informs the
On 19 Feb 2012, at 6:11 PM, William Squires wrote:
Okay, 'nuther dumb question. How do I hook the different arrows in an
NSStepper to actions in my view controller? Or how do I ask (id)sender which
arrow was clicked?
It's not useless, it just doesn't have the use you hope for.
NSStepper is
Hi all, I am seeing quite a number of reports from users of my software where
on the console, there are errors like the ones below, but I haven't been able
to reproduce the problem here:
2012-02-21 23:49:05 +0800[3]: kCGErrorIllegalArgument: CGSDeviceCreate: Invalid
window
2012-02-21 23:49:05
On 20/02/2012, at 11:11 AM, William Squires wrote:
Okay, 'nuther dumb question. How do I hook the different arrows in an
NSStepper to actions in my view controller? Or how do I ask (id)sender which
arrow was clicked?
You can't, it works differently. Instead it has a value , just like a
On Feb 19, 2012, at 3:11 PM, William Squires wrote:
Now, I can bind the label's value to File's Owner's self.stringInterval
without Xcode/IB complaining.
I think you can all see where this is going... yep, the label doesn't update
because it's static; there's nothing to tell the label
24 matches
Mail list logo