On Tue Jun 10 2014 13:14:51 GMT+1000 (PGT) Graham Cox wrote:
On 10 Jun 2014, at 11:28 am, John Brownie wrote:
I think that the problem is likely to involve the fact that documents can be
owned by both the bundle document class and the simple document class, and
trying to save the same docume
On 10 Jun 2014, at 11:28 am, John Brownie wrote:
> I think that the problem is likely to involve the fact that documents can be
> owned by both the bundle document class and the simple document class, and
> trying to save the same document may be leading to the problem.
But is it the same fi
My app opens SQL files so I declared a UTI for it in Exported UTIs in the app
Info.plist with my own identifier, uses sql as an extension, has a text/plain
mime type, and conforms to public.plain-text.
My app opens a new document window, I edit it, it autosaves, and on relaunch
Cocoa yells at
My app can handle documents in two different forms. One is a simple
file, while the other is a bundle that can contain one or more of that
same kind of file plus some metadata about them.
The simple file is handled as an NSDocument subclass, and is written out
with dataOfType:error:. It return
On 10 Jun 2014, at 8:01 am, Peters, Brandon wrote:
> Is it safe to invalidate a timer from within the timer callback function?
Yes.
--Graham
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator co
Is it safe to invalidate a timer from within the timer callback function?
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.ap
On Monday, June 9, 2014, Daniel Luis dos Santos
wrote:
> Hello all,
>
> I have a IKImageBrowserView that I want to customise. I want to add a
> button to each IKImageBrowser|Cell that when pushed does some action.
>
> How can I do that ?
Is using NSCollectionView an option?
>
> Thanks
>
>
> _
Hi Kyle, thank you.
I am just approaching this method.
I create a parentView, then from the API beginPageInRect I replace its
content with the current page's view.
The problem is that when I move to the parentView the page's view currently
displayed on the screen, this page disappears from the wind
On Jun 9, 2014, at 10:05 AM, Leonardo wrote:
>
> I have a document with several pages. Each page has its own custom view.
> When I print it using printOperationWithView: I must pass here one only
> view. But I have several views.
> If I pass the first page's view, then when I click on the preview
Hello all,
I have a IKImageBrowserView that I want to customise. I want to add a button to
each IKImageBrowser|Cell that when pushed does some action.
How can I do that ?
Thanks
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not
I have a document with several pages. Each page has its own custom view.
When I print it using printOperationWithView: I must pass here one only
view. But I have several views.
If I pass the first page's view, then when I click on the preview next page
button, nothing happens.
And there is no way t
On Jun 8, 2014, at 7:40 PM, Seth Willits wrote:
> Use mipmaps, and if that's still not high enough quality, anisotropic
> filtering.
Thanks! That is much better.
Side note: when setting GLKTextureLoaderGenerateMipmaps to YES, the texture
(apparently) should be a power of 2 (I'm using 512 x
On Jun 9, 2014, at 5:03 AM, Devarshi Kulshreshtha
wrote:
> Any ideas on how to properly use NS_DESIGNATED_INITIALIZER?
Are you using the Xcode 6 beta, and does your target use the OS X 10.10 or iOS
8 SDK?
If not, that keyword isn’t defined (it’s a preprocessor macro) and will cause a
syntax
On Jun 9, 2014, at 8:27 AM, William Squires wrote:
> Okay, clearly I'm still missing something. Let's say I have a model object:
>
> @interface SMPLPlayer : NSObject
>
> ...
> @property (nonatomic, assign) NSUInteger pcLevel;
> ...
> @end
>
> and now I also have an NSWindowController subclass:
On Jun 8, 2014, at 9:30 AM, William Squires wrote:
> Okay, I have several classes in my (somewhat large, and growing) project
> that implement the singleton pattern via a [ shared]
> class method (and a file-scope static reference) that uses lazy loading to
> instantiate the singleton the fir
Okay, clearly I'm still missing something. Let's say I have a model object:
@interface SMPLPlayer : NSObject
...
@property (nonatomic, assign) NSUInteger pcLevel;
...
@end
and now I also have an NSWindowController subclass:
@interface SMPLRollPCWindowController : NSWindowController
...
@proper
On Jun 9, 2014, at 7:03 AM, Devarshi Kulshreshtha
wrote:
> I am trying to declare a designated initializer like this:
>
> - (instancetype)initWithDelegate:(id )delegate
> NS_DESIGNATED_INITIALIZER;
>
> But it is showing me this compilation error:
>
> Expected ':'
>
> Interestingly when I try
I am trying to declare a designated initializer like this:
- (instancetype)initWithDelegate:(id )delegate
NS_DESIGNATED_INITIALIZER;
But it is showing me this compilation error:
Expected ':'
Interestingly when I try to write it like this (reference link:
https://developer.apple.com/library/prer
18 matches
Mail list logo