Thanks for the suggestion. How would I check or correct that?
On Wed, Mar 16, 2011 at 1:13 AM, Scott Anguish wrote:
>
> On Mar 15, 2011, at 1:13 PM, Nicholas Zaccardi wrote:
>
>> I am trying to make an NSTableView with only one column. Here is what I do:
>>
>> 1. Open nib
>> 2. Add TableView
>>
This is a weird solution that worked for me:
1. Decrease column count to one
2. Click the "Headers" checkbox to disable table headers
3. Click the "Headers" checkbox again to re-enable table headers, and it
automatically sizes your single column to fill the entire width of the table
This seems t
I was just wondering if there were any books people would recommend, apart from
Apple's documentation on the topic ( http://bit.ly/gz36Bn, etc. ), which
discuss security issues and best-coding practices for iOS.
Thank you.
___
Cocoa-dev mailing list
I've just been adding code to support NSWorkspaceWillSleepNotification. Having
lowered my Computer sleep time right down and left the Mac untouched for
several minutes, my code never fires and the Mac doesn't actually go to sleep.
Even without my app running and leaving the Mac for several hours
> I've just been adding code to support NSWorkspaceWillSleepNotification.
> Having lowered my Computer sleep time right down and left the Mac untouched
> for several minutes, my code never fires and the Mac doesn't actually go to
> sleep. Even without my app running and leaving the Mac for seve
On 16 mars 11, at 21:37, Matt Gough wrote:
> So it seems that something else is preventing idle sleep, but I've no idea
> how to find the culprit. Is there some defaults setting I can use that will
> log what the OS wants to do at sleep time and what is blocking it?
Do you have an external dis
That did not work for me, I resized it manually and it works, but I
want to have IB do it automatically.
Thanks for any more suggestions.
On Wed, Mar 16, 2011 at 10:13 AM, Indragie Karunaratne
wrote:
> This is a weird solution that worked for me:
>
> 1. Decrease column count to one
> 2. Click th
On Wed, Mar 16, 2011 at 8:09 AM, Nicholas Zaccardi
wrote:
> That did not work for me, I resized it manually and it works, but I
> want to have IB do it automatically.
Have IB do what automatically? NSTableView doesn't autoresize its
columns unless they fit the exact visible width of the enclosing
On Mar 16, 2011, at 8:37 AM, Matt Gough wrote:
> So it seems that something else is preventing idle sleep, but I've no idea
> how to find the culprit. Is there some defaults setting I can use that will
> log what the OS wants to do at sleep time and what is blocking it?
Leaving a Terminal sess
On Wed, Mar 16, 2011 at 5:37 AM, Matt Gough wrote:
> So it seems that something else is preventing idle sleep, but I've no idea
> how to find the culprit. Is there some defaults setting I can use that will
> log what the OS wants to do at sleep time and what is blocking it?
According to the I/O
Okay. This is not a problem per say, but let me make sure I understand you.
In order for a single column to fill the entire width of a scroll
view, I have to make the width of the column the width of the scroll
view - the scroll bars?
For example, a scroll view is 100 wide and my NSTableView is
On Wed, Mar 16, 2011 at 8:44 AM, Nicholas Zaccardi
wrote:
> In order for a single column to fill the entire width of a scroll
> view, I have to make the width of the column the width of the scroll
> view - the scroll bars?
>
> For example, a scroll view is 100 wide and my NSTableView is also 100
>
On Wed, 16 Mar 2011 10:20:49 -0400, Eric Gorr said:
>I was just wondering if there were any books people would recommend,
>apart from Apple's documentation on the topic ( http://bit.ly/gz36Bn,
>etc. ), which discuss security issues and best-coding practices for iOS.
Since you're likely working in
In the jungle the quiet jungle...
The lion sleeps tonight...
In the jungle the quite jungle
The lion sleeps tonight
Owimboeh... owimboeh...
Owimboeh... owimboeh...
Owimboeh... owimboeh...
Owimboeh... owimboeh...
> From: sc...@cocoadoc.com
> Date: Wed, 16 Mar 2011 01:13:27 -0400
> To:
http://developer.apple.com/library/ios/#documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/Introduction/Introduction.html#//apple_ref/doc/uid/TP40007072
I've looked. This is the best. The examples are all there, and it does a pretty
good job of explaining how to do things.
> From: s...@
On 16 Mar 2011, at 15:32, Kyle Sluder wrote:
> On Wed, Mar 16, 2011 at 5:37 AM, Matt Gough wrote:
>> So it seems that something else is preventing idle sleep, but I've no idea
>> how to find the culprit. Is there some defaults setting I can use that will
>> log what the OS wants to do at sleep
Thanks Greg. The initWithCoder is indeed at launch, so Guard Malloc shouldn't
be a huge problem. I'll give it a try.
cheers,
J.
On 2011-03-15, at 6:45 PM, Greg Parker wrote:
> On Mar 15, 2011, at 4:10 PM, James Maxwell wrote:
>> I'm getting a crash in initWithCoder, which seems related to deco
Hi,
If I have a master detail interface bound to a array controller.
To explain my problem (the actual structure is different but as an explanation):
The list shows a some persons. Then I have a switch that selects if the detail
view shows the private or the work address. Is there any easy way d
oops... How do I enable Guard Malloc in Xcode 4?
J.
On 2011-03-15, at 6:45 PM, Greg Parker wrote:
> On Mar 15, 2011, at 4:10 PM, James Maxwell wrote:
>> I'm getting a crash in initWithCoder, which seems related to decoding a
>> property called "value", which is of type id. Sometimes this objec
On Mar 16, 2011, at 9:35 AM, Matt Gough wrote:
> Apart from user interactions, what other sorts of activity automatically
> prevent idle sleep?
Time Machine, I think?
--Kyle Sluder___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not
I haven't read it so it's just to add a reference to the list:
Professional Cocoa Application Security
Graham J. Lee, Wrox, 2010
ISBN 978-0-470-52595-1, £33.99
http://eu.wiley.com/WileyCDA/WileyTitle/productCd-0470525959.html
___
Cocoa-dev mailing list
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 3/16/11 7:20 AM, Eric Gorr wrote:
> I was just wondering if there were any books people would recommend,
> apart from Apple's documentation on the topic ( http://bit.ly/gz36Bn,
> etc. ), which discuss security issues and best-coding practices for
>
On Mar 16, 2011, at 10:59 AM, Kyle Sluder wrote:
> On Mar 16, 2011, at 9:35 AM, Matt Gough wrote:
>
>> Apart from user interactions, what other sorts of activity automatically
>> prevent idle sleep?
>
> Time Machine, I think?
Also, I know that turning on Internet connection sharing in the Sh
Okay, strange discovery.
I wasn't sure how to enable Guard Malloc in Xcode 4, so I just ran it with the
Allocations Instrument. Lo and behold, it doesn't crash. This didn't make much
sense to me, so I tried running the release build, rather than the debug build.
No crash. Switch back to debug..
On Wed, 16 Mar 2011 10:31:26 -0700, James Maxwell said:
>Okay, strange discovery.
>
>I wasn't sure how to enable Guard Malloc in Xcode 4
Someone on the Xcode list could probably help there...
>, so I just ran it
>with the Allocations Instrument. Lo and behold, it doesn't crash. This
>didn't make
> Apart from user interactions, what other sorts of activity automatically
> prevent idle sleep?
I seem to recall an issue where a program's logging was preventing
sleep, which I believe was simply due to the file activity. fs_usage
may help there.
___
Edit your Scheme and go to the "Run" section. Then go to the Diagnostics tab.
On Mar 16, 2011, at 12:35 PM, Sean McBride wrote:
> On Wed, 16 Mar 2011 10:31:26 -0700, James Maxwell said:
>
>> Okay, strange discovery.
>>
>> I wasn't sure how to enable Guard Malloc in Xcode 4
>
> Someone on the X
On Mar 16, 2011, at 09:57, Georg Seifert wrote:
> If I have a master detail interface bound to a array controller.
>
> To explain my problem (the actual structure is different but as an
> explanation):
> The list shows a some persons. Then I have a switch that selects if the
> detail view shows
On Mar 16, 2011, at 09:35, Matt Gough wrote:
> On 16 Mar 2011, at 15:32, Kyle Sluder wrote:
>
>> On Wed, Mar 16, 2011 at 5:37 AM, Matt Gough wrote:
>>> So it seems that something else is preventing idle sleep, but I've no idea
>>> how to find the culprit. Is there some defaults setting I can us
On Mar 16, 2011, at 10:31 AM, James Maxwell wrote:
> I wasn't sure how to enable Guard Malloc in Xcode 4, so I just ran it with
> the Allocations Instrument. Lo and behold, it doesn't crash. This didn't make
> much sense to me, so I tried running the release build, rather than the debug
> build.
Ah, got it. Thanks!
Unfortunately, Guard Malloc doesn't appear to reveal anything special.
Here's the top several lines of my log:
GuardMalloc: Allocations will be placed on 16 byte boundaries.
GuardMalloc: - Some buffer overruns may not be noticed.
GuardMalloc: - Applications using vector inst
Hi all,
Is it really impossible to create an NSExpression of the form
"$variableName.someKeyPath"? I can create an NSExpression for
$variableName, and I can create an NSExpression for someKeyPath, but I
can't create one that contains both.
The actual problem is that I'm trying to create an NSPred
Le 16 mars 2011 à 19:00, Laurent Daudelin a écrit :
> On Mar 16, 2011, at 09:35, Matt Gough wrote:
>
>> On 16 Mar 2011, at 15:32, Kyle Sluder wrote:
>>
>>> On Wed, Mar 16, 2011 at 5:37 AM, Matt Gough wrote:
So it seems that something else is preventing idle sleep, but I've no idea
h
Directly, yes. NSExpression stores a keypath as a single string, whereas
variables are store in their own kind of NSExpression object. When you replace
variables with new values, it's only looking for the certain kinds of
NSExpression objects to replace. Everything else stays the same.
Some
On Mar 16, 2011, at 11:28 AM, Dave DeLong wrote:
> - If you want to use a keypath with a variable, you could do:
>
> FUNCTION($x, 'text') CONTAINS[cd] $searchString
Or put another way:
FUNCTION($x, 'valueForKeyPath:', 'foo.bar.baz')
Dave
___
Cocoa-
On Wed, Mar 16, 2011 at 11:28 AM, Dave DeLong wrote:
> Directly, yes. NSExpression stores a keypath as a single string, whereas
> variables are store in their own kind of NSExpression object. When you
> replace variables with new values, it's only looking for the certain kinds of
> NSExpressi
Thanks, Graham.
On Mar 8, 2011, at 12:39 AM, Graham Cox wrote:
You could just make it bigger - it's a very transient piece of
memory on the stack (or, if that's a problem, just malloc and free a
chunk). Since getxattr allows you to pass in the max size of the
buffer, it's also safe from a
On Mar 16, 2011, at 11:23, Jean-Daniel Dupas wrote:
>
> Le 16 mars 2011 à 19:00, Laurent Daudelin a écrit :
>
>> On Mar 16, 2011, at 09:35, Matt Gough wrote:
>>
>>> On 16 Mar 2011, at 15:32, Kyle Sluder wrote:
>>>
On Wed, Mar 16, 2011 at 5:37 AM, Matt Gough wrote:
> So it seems that
On Mar 16, 2011, at 8:37 AM, Matt Gough wrote:
> I've just been adding code to support NSWorkspaceWillSleepNotification.
> Having lowered my Computer sleep time right down and left the Mac untouched
> for several minutes, my code never fires and the Mac doesn't actually go to
> sleep. Even wit
Not sure if it was mentioned, but did you look at the
/var/log/DiagnosticMessages log, it should have all the sleep activity
messages.
Tony Romano
On 3/16/11 11:36 AM, "Michael Nickerson" wrote:
>
>On Mar 16, 2011, at 8:37 AM, Matt Gough wrote:
>
>> I've just been adding code to supp
On Mar 16, 2011, at 2:50 PM, Laurent Daudelin wrote:
>> Just calling UpdateSystemActivity() once every minute is enough to prevent
>> sleeping. no need to keep the system busy nor to install PMNotification
>> visible in pmset.
>> And checking if a running process call this function from time to
I am trying to use the Quartz Debug app to scale up my app (for a screenshot
for MAS). My content looks great in the scaled up windows, but the window
frames themselves look terrible. For example the title bar and title in it are
all screwed up.
Is there a setting I can use to make the title ba
On Mar 16, 2011, at 2:25 PM, Todd Heberlein wrote:
> Is there a setting I can use to make the title bar scale up correctly?
No, resolution independence has never worked completely.
--Kyle Sluder
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
A customer running 10.5.8 gets this message when launching my app.
Dyld Error Message:
Symbol not found: _OBJC_CLASS_$_NSURL
Referenced from: /Applications/Convert It Mac.app/Contents/MacOS/Convert It
Mac
Expected in:
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundatio
On Wed, Mar 16, 2011 at 6:08 PM, koko wrote:
> A customer running 10.5.8 gets this message when launching my app.
>
> Dyld Error Message:
> Symbol not found: _OBJC_CLASS_$_NSURL
> Referenced from: /Applications/Convert It Mac.app/Contents/MacOS/Convert It
> Mac
> Expected in:
> /System/Library/Fra
On Mar 16, 2011, at 5:08 PM, koko wrote:
> A customer running 10.5.8 gets this message when launching my app.
>
> Dyld Error Message:
> Symbol not found: _OBJC_CLASS_$_NSURL
> Referenced from: /Applications/Convert It Mac.app/Contents/MacOS/Convert It
> Mac
> Expected in:
> /System/Library/F
Thanks so much for all these informative answers!
-koko
On Mar 16, 2011, at 5:29 PM, Nick Zitzmann wrote:
>
> On Mar 16, 2011, at 5:08 PM, koko wrote:
>
>> A customer running 10.5.8 gets this message when launching my app.
>>
>> Dyld Error Message:
>> Symbol not found: _OBJC_CLASS_$_NSURL
>>
> I'm currently drawing text one character at a time with -[NSAttributedString
> drawWithRect:options:], and it is really slow. I'm looking for a faster
> alternative.
>
> I draw one character at a time because I need exact control over horizontal
> positioning (regardless of whether the font i
On Sun, Mar 13, 2011 at 3:03 PM, George Nachman wrote:
> Hi cocoa-dev,
>
> I'm currently drawing text one character at a time with
> -[NSAttributedString
> drawWithRect:options:], and it is really slow. I'm looking for a faster
> alternative.
>
> I draw one character at a time because I need exac
Hello everybody,
I want to develop an application that the user can manage it using some
keystrokes but the user can use these keystrokes when the window of the
application is not focused.
For example, my app is opened and the user is writing in pages. The user can
activate a feature of my appl
On Mar 16, 2011, at 10:56 PM, Jonathan Chacón Barbero wrote:
> I want to develop an application that the user can manage it using some
> keystrokes but the user can use these keystrokes when the window of the
> application is not focused.
> For example, my app is opened and the user is writing
Hello,
thanks for your answer.
I'm developing using Cocoa because I want to develop an accessible app. I
didn't know Carbon Event Manager. I'll study it but Can I use it in a Cocoa
application?
thanks and regards
Jonathan Chacón
El 17/03/2011, a las 06:15, Nick Zitzmann escribió:
>
52 matches
Mail list logo