Download the 10.7 version of the Sketch sample app - it's the one they showed
at WWDC. It uses the window delegate methods to customize the transition. The
default fullscreen transition gives you a fixed-size window that covers the
whole screen; Sketch customizes it to give you a resizable one.
On Aug 14, 2011, at 1:41 AM, Jens Alfke wrote:
>
> On Aug 13, 2011, at 12:27 PM, Leo wrote:
>
>> You can also use libcurl which supports the 'file' protocol along with ftp,
>> http, etc. It's also not Cocoa, but easy to use and there's also its Cocoa
>> wrapper CURLHandle (I'm not sure if they
I think Ross's confusion stems from your statement that:
>>> There is one NSLayoutManager and one NSTextStorage behind each text view
You make it sound as if a single NSTextView is responsible for completely
showing all the text in each NSTextStorage. In other words, that each of your
NSLayoutM
I have an app with a large number of nib files.
These have all worked very happily in xCode 3 - and function perfectly at run
time.
Interface Builder with xCode 3 has never produced any warnings in relation to
these nib files.
When I build the same project in xCode 4 I get a huge number of warn
Change the version of the nib (which is in one of the inspector panels) to
something lower than it is, i.e. tell Xcode they are old NIBs.
On Aug 14, 2011, at 4:52 PM, Peter Hudson wrote:
> I have an app with a large number of nib files.
> These have all worked very happily in xCode 3 - and func
On Aug 13, 2011, at 3:24 PM, Nick Zitzmann wrote:
> Each text view represents one page of text. None of the text views are
> embedded in individual scroll views, though all of the text views are
> subviews of a view that is in a scroll view. Think like a word processing app
> that shows multipl
On 8/14/11 3:37:07 AM, Charles Srstka wrote:
On Aug 14, 2011, at 1:41 AM, Jens Alfke wrote:
On Aug 13, 2011, at 12:27 PM, Leo wrote:
You can also use libcurl which supports the 'file' protocol along with ftp,
http, etc. It's also not Cocoa, but easy to use and there's also its Cocoa
wrapper C
On Aug 14, 2011, at 11:22 AM, Leo wrote:
> Well there's also another convoluted way - but I think it will copy all the
> attributes: calling 'ditto' with NSTask and reading its progress in the
> background (actually it's quite easy because there's an example somewhere on
> Apple's site how to do
> On 8 Aug 2011, at 11:28 AM, Sean McBride wrote:
>
>> Sandboxing, IMNSHO, is still half-baked. Note that on Lion, only TextEdit
>> and Preview have it enabled. That should tell you something. I tried with
>> my app, and hit bug after bug. In addition to limitation after limitation.
>
> Ah.
If you're targeting Mac OS X 10.6 or later, you can set arbitrary properties on
your objects in Interface Builder that will be set via KVC at nib load time.
These are called "User Defined Runtime Attributes" and are specified in the
Identity Inspector right under the place where you can set an o
On Aug 12, 2011, at 3:03 PM, Charles Srstka wrote:
> You could use the copyfile() API. It’s not Cocoa, but it might be a little
> cleaner than FSCopyObjectAsync.
It appears copyfile() doesn't give progress callbacks during a single file's
copy?
FSPathCopyObjectAsync isn't too bad. I wrote a w
Hi Guys,
I'm thinking about releasing a beta version of my software. Im thinking
about use the same strategy as Reeder for Mac did, betas with fixed time to
expire.
What you recommendations to make it safer? Im thinking about do an internet
request do get a world clock, and check with this time t
Having spent the weekend trying to migrate to supporting sandboxing, I think I
have hit a snag that may well be terminal.
The situation:
My application contains a bundle that embeds a set of programs (a local
instance of the PostgreSQL RDMS). Outside of the sandbox, it properly creates
the
Hi, I have the following code to run a save panel:
NSSavePanel *sp = [NSSavePanel savePanel];
[sp setExtensionHidden:NO];
[sp setTitle:NSLocalizedString(@"Export image to PNG file", @"")];
[sp setRequiredFileType:@"png"];
[sp setAccessoryView:bitmap
I believe the recommended advice would be to move to XPC services, which can be
separately entitled.
But all of your apps should automatically receive permission for
~/Library/Application Support/$COMPANY_NAME. We recently had to update
OmniGraffle to look in ~/Library/Application Support/The O
On Aug 14, 2011, at 2:37 PM, Wilker wrote:
> Hi Guys,
>
> I'm thinking about releasing a beta version of my software. Im thinking
> about use the same strategy as Reeder for Mac did, betas with fixed time to
> expire.
>
> What you recommendations to make it safer? Im thinking about do an intern
I agree, and would like to add that I have done this, and did encounter an
issue where people had an expired beta and therefore couldn't use the program
until they had downloaded an update, and were annoyed by that - especially if
they were on the road and had no internet connection. Although I
The network is not a main issue, since my program is useless without network
at all.
And the idea is to people try it before it launched, in fact it will be an
closed beta, I thing I will follow the Nick mind and use local clock just
for speed up, anyway the program can be cracked anyway (easier o
Old follow up to help anyone else who might wish to print PDFs.
Having just run into the same problem as Waldo. I found the Apple Sample Code:
PDFView a good starting point.
While it no longer opens in Xcode 4.2 adding PDFImageView to my project worked
fine.
By changing the load code to use p
On 2011 Aug 14, at 13:37, Wilker wrote:
> You have any other hints for doing this?
One more thing. Remember to leave some kind of back door for yourself. I've
wanted to punch myself in the nose when I needed to reproduce a bug report and
my app told me that it wouldn't launch because it was
On Aug 14, 2011, at 2:59 PM, Andrew Satori wrote:
> When I enable the sandboxing it all goes into the toilet. As far as I can
> tell, the NSTask calls are not inheriting the sandbox entitlements and are
> there fore failing to be able to have any file IO against the container.
I think I'd crea
While this certainly is a nifty feature (thanks Chris, hadn't known about that
yet), it's in no way a replacement for having proper live in-editor previews of
your actual interface objects.
While it allows you to save a couple of lines of code per object, it at the
same time—instead of giving yo
22 matches
Mail list logo