I'm trying to write a simple demo app and need to know two things:
1) How can I translate the output from the accelerometer into an angular
deflection from the x- or y-axis (if you think of the device as an airplane,
with the cockpit near the FaceTime camera, and the tail near the home button,
> On Oct 27, 2014, at 10:03 AM, William Squires wrote:
>
> I'm trying to write a simple demo app and need to know two things:
>
> 1) How can I translate the output from the accelerometer into an angular
> deflection from the x- or y-axis (if you think of the device as an airplane,
> with the
> On Oct 24, 2014, at 8:31 PM, Rick Mann wrote:
>
> Anyway, once I realized what was going on, I was able to get the behavior I
> wanted. It's not perfect, because now I have to declare my function types
> like this to get some documentation in them. I want to document at the
> function decla
I did: 18771081
> On Oct 27, 2014, at 11:37 , Greg Parker wrote:
>
>
>> On Oct 24, 2014, at 8:31 PM, Rick Mann wrote:
>>
>> Anyway, once I realized what was going on, I was able to get the behavior I
>> wanted. It's not perfect, because now I have to declare my function types
>> like this t
just updated my dev machine to yosemite. closing a document window (command-W)
from within my app, causes the following log:
[NSSavePanelAlertStyleContentView layout]. NSSavePanelAlertStyleContentView or
one of its superclasses may have overridden -layout without calling super. Or,
something m
I finally got a chance to try out using more than one custom cell XIB in a
UITableView and with different cell reuse identifiers, using more than one cell
XIB is pretty straightforward.
One issue that appeared though is that the cell heights are those of the cell
that gets dequeued. If each ce
Apple bug - according to classdump, that class has had a “layout” method since
before autolayout even existed, and I know from experience it doesn’t grok
autolayout.
You can ignore it.
On Oct 27, 2014, at 11:56 AM, edward taffel wrote:
> just updated my dev machine to yosemite. closing a docu
Hi All,
Sorry, I have to turn this around.
The problem turned out not to be the static objects at all, though I can't
explain why for a short while, the crash was gone after removing them.
The actual cause is the dictionary definition itself: I used a constant
that is only available for iOS7.0+,
thanks for your speedy reply lee ann!
pleased someone else thinks it a bug.
cheers,
edward
ps: that should have read: ‘i have not sub-calssed NSSavePanel’.
> On Oct 27, 2014, at 3:49 PM, Lee Ann Rucker wrote:
>
> Apple bug - according to classdump, that class has had a “layout” method
> sin
I am a little confused on how to load NSWindowController from a bundle
other than the mainbundle.
While this code works just fine
controller = [[self alloc] initWithWindowNibName:@"TCAboutWindow"];
I now moved the the nib into it's own bundle inside the main bundle.
Since I could not figure
This is Yosemite, in Swift under Xcode 6.1.
The summary: I don’t understand NSStoryboard containment relationships. I’ve
never received a prepareForSegue(_, sender:), and without it, I can’t figure
out how to propagate data from a document into its views.
This is completely elementary. I can’t
On Oct 27, 2014, at 15:10 , Torsten Curdt wrote:
>
> My first thought was that passing in "nil" as the owner would actually
> default to "self" I really want - but that does not seem to be the case.
It’s documented as “cannot be nil”.
> On the next thought
>
>controller = [self alloc];
>
I've successfully built an NSOutlineView and configured the items for
editing. Got that working.
Now, in my delegate/datasource, I am implementing
- (BOOL)outlineView:(NSOutlineView *)outlineView
shouldEditTableColumn:(NSTableColumn *)tableColumn
item:(id)item {
NSLog(@"hi");
}
QUESTION:
Is there code I can write to get the key(s) pressed during NSMenuDelegate's
menuNeedsUpdate:nsmenu method?
Not modifiers, which can be directly queried, but key(s).
Specifically, I want to test whether any of the Function keys F1, F2, etc are
down, *during* menuNeedsUpdate,
though it
On Oct 27, 2014, at 7:02 PM, Luther Baker wrote:
> I've successfully built an NSOutlineView and configured the items for
> editing. Got that working.
>
> Now, in my delegate/datasource, I am implementing
>
> - (BOOL)outlineView:(NSOutlineView *)outlineView
> shouldEditTableColumn:(NSTableColumn
> On 28 Oct 2014, at 7:30 am, Fritz Anderson wrote:
>
> This is Yosemite, in Swift under Xcode 6.1.
>
> The summary: I don’t understand NSStoryboard containment relationships. I’ve
> never received a prepareForSegue(_, sender:), and without it, I can’t figure
> out how to propagate data from
>
> My first thought was that passing in "nil" as the owner would actually
> default to "self" I really want - but that does not seem to be the case.
>
>
> It’s documented as “cannot be nil”.
>
Yup - and it also barfs if it is :)
Still it was my first thought and expectation.
> On the next thoug
On Oct 27, 2014, at 18:16 , Torsten Curdt wrote:
>
> I know - it smells horrible.
It doesn’t just smell, it’s actually wrong.
> My next thought was to just add
>
> - (id) initWithMyWindowNibPath:(NSString *)nibPath
> {
> return [super initWithWindowNibPath:nibPath owner:self];
Thanks Ken. Just what I needed.
-Luther
On Mon, Oct 27, 2014 at 7:47 PM, Ken Thomases wrote:
> On Oct 27, 2014, at 7:02 PM, Luther Baker wrote:
>
> > I've successfully built an NSOutlineView and configured the items for
> > editing. Got that working.
> >
> > Now, in my delegate/datasource, I
I'm writing my first Document based app for OSX and have reached a spot
where I'd like to actually save and open a file. It is a Core Data backed
Document within which I create some arbitrary data and display it via two
NSOutlineViews. I also have the ability to edit the data inline and save it
bac
I'm glad of the correction.
Yes, I am speaking exactly about the "relationship" link between the window in
a window controller scene and the view in the view controller as provided in
the template's Main.storyboard.
I think it absurd that there is no obvious way for a document class that loads
... of the _view_ controller.
― F
> On Oct 27, 2014, at 10:40 PM, Fritz Anderson wrote:
>
> the contents of the vote controller
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to
Sent from my iPad
> On Oct 27, 2014, at 8:33 PM, Luther Baker wrote:
>
> I'm writing my first Document based app for OSX and have reached a spot
> where I'd like to actually save and open a file. It is a Core Data backed
> Document within which I create some arbitrary data and display it via t
23 matches
Mail list logo