On Aug 13, 2014, at 14:53 , Jonathan Mitchell jonat...@mugginsoft.com wrote:
At one point i need to invoke a manual KVO notification like so:
[submission willChangeValueForKey:@“status”];
[submission didChangeValueForKey:@“status”];
This raises like so:
Terminating app due to uncaught
On Aug 11, 2014, at 16:14 , Greg Parker gpar...@apple.com wrote:
Do you have an example?
For example (beta 5), enter some source that uses type “Array”, then
command-click on “Array”. (I don’t know how to get Xcode to display the
resulting file directly, so I’ve been using this technique. I
On Aug 10, 2014, at 06:46 , Roland King r...@rols.org wrote:
And if anyone thinks Swift is all simplicity and scripty loveliness I came
across this StackOverflow question and answer today. It will be a while
before I entirely understand it, it will be a long while before I could
attempt to
On Aug 10, 2014, at 09:01 , Luc Van Bogaert luc.van.boga...@me.com wrote:
I was thinking of using a weak property for my custom view to reference the
document and set this property from the same windowDidLoad: method, but I'm
not sure if this is a good approach to take. Any advise on this?
On Aug 10, 2014, at 10:15 , Kyle Sluder k...@ksluder.com wrote:
OTOH, C++ has historically proved that generics (i.e. templates)
I really wish people would stop referring to C++ templates as generics.
Point taken, dope-slap administered.
___
On Aug 10, 2014, at 13:16 , Luc Van Bogaert luc.van.boga...@me.com wrote:
Let's see if I understand this correctly: do you mean I could create a
separate model class, eg. Drawing with all of it's properties and reference
this in my document class as an instance variable or even as a
On Aug 10, 2014, at 14:39 , Roland King r...@rols.org wrote:
I haven't yet understood why there are two different syntaxes for
class/function generics, with the X,Y,Z syntax but protocols are unadorned
but have associated types. Naively I would have expected both to look the
same, with
On Aug 8, 2014, at 23:48 , Gerriet M. Denkmann gerr...@mdenkmann.de wrote:
let b = NSXPCInterface( protocol: Xpc_CommonProtocol )
When I try it, the “protocol” is syntax highlighted as a keyword, so I suspect
that’s the first problem. Taking a cue from the declaration of NSXPCInterface
On Aug 9, 2014, at 01:46 , Roland King r...@rols.org wrote:
I do sometimes wish the revision history was a bit more verbose, or at least
there was a way to see the various revisions of the document to see what
actually changed.
The 2011-09-16 revision note was correct, because at that time
On Aug 9, 2014, at 09:48 , Gerriet M. Denkmann gerr...@mdenkmann.de wrote:
Are bindings supposed to work in Swift?
I haven’t played with them at all, yet, but they have to work (eventually, even
if not yet), or interoperability couldn’t work. But …
1. Don’t forget to mark your observable
On Aug 9, 2014, at 18:13 , Roland King r...@rols.org wrote:
If this is where we are then it would be handy to have the runtime throw, or
at least log, if you attempt to KVO a Swift property which isn't dynamic.
Yes, though I expect (hope?) that there is eventually something better than
On Aug 7, 2014, at 20:50 , Gerriet M. Denkmann gerr...@mdenkmann.de wrote:
Problem: on iPhone the DetailView does not make sense in landscape (iPad is
fine with landscape).
A while back I went through some self-immolation trying to sort out a similar
difficulty. I don’t remember the details,
On Aug 5, 2014, at 09:38 , Daryle Walker dary...@mac.com wrote:
The type of “obj” was originally “id,” but I changed it to what I knew the
NSArray object actually held. The compiler accepted it. Can I change any
block parameter, or only ones that are Objective-C objects? (For example,
On Aug 1, 2014, at 12:03 , Jerry Krinock je...@ieee.org wrote:
Unfortunately, I’m not able to justify my design pattern based on the Cocoa
Bindings API documentation.
As I said earlier in the thread, that fact that the error messages go away
doesn’t mean the problem doesn’t exist. However, I
On Jul 31, 2014, at 09:05 , Sean McBride s...@rogue-research.com wrote:
Other than use of 'weak', how else might something be changed in a
non-KVO-compliant manner in ARC but not GC? Again, the error is only in ARC
and not GC.
I’m not sure this is the most productive way to approach this.
On Jul 29, 2014, at 22:38 , Graham Cox graham@bigpond.com wrote:
Unfortunately I don't think this will work for me if I understand what you're
saying correctly, because my document content is in fact a drawing canvas
that has a fixed size (that the user can set) but this is independent
On Jul 30, 2014, at 00:39 , Graham Cox graham@bigpond.com wrote:
it seems to simply be shifting the problem to another place, not solving it
Yeah, I suppose so.
Typically, NSClipView *not* intended to be responsible for constraining its
document view” subview in at least one direction
On Jul 30, 2014, at 13:33 , Sean McBride s...@rogue-research.com wrote:
File's Owner (my NSViewController subclass) responds to 'windowController'
because I have a vanilla synthesized weak property relating my
NSViewController to its containing window's controller.
This is the problem. Weak
On Jul 29, 2014, at 18:52 , Graham Cox graham@bigpond.com wrote:
What I want is to have my enclosed custom view 'stick' to the top, left (or
wherever it's scrolled to) of the clip view as long as it's larger than the
clip view, but become horizontally and vertically centered in the clip
On Jul 26, 2014, at 22:19 , Luther Baker lutherba...@gmail.com wrote:
Are you hoping that when the keyboard comes up -- it shortens the parent view
you are referring to?
No, it’s more complicated than that, but I think it’s the *question* that’s
complicated, more than the answer.
First you
On Jul 26, 2014, at 20:58 , Luther Baker lutherba...@gmail.com wrote:
I have a pretty good frames based background but I'd like to consider an
iPhone screen done with AutoLayout on a UIScrollView such that the bottom
UITextView grows vertically to fill the vertical space remaining from the
On Jul 26, 2014, at 21:09 , Quincey Morris
quinceymor...@rivergatesoftware.com wrote:
Isn’t the answer to this …
Sorry, I quoted the wrong thing. I meant, isn’t the answer to the stuff about
the keyboard in that documentation?
Is the scroll view there only to deal with the case
On Jul 24, 2014, at 11:58 , edward taffel etaf...@me.com wrote:
NSStreamEventOpenCompleted = 1 0,
a point of style?
Supposition:
It’s point of API self-documentation. The shift indicates that this is a bit
mask (or bit field) value, and hence that the enum’s members can usefully be
OR’ed
On Jul 24, 2014, at 14:35 , Cody Garvin c...@servalsoft.com wrote:
I think I’ll try your’s and Edward’s suggestion on attempt mouseEntered /
mouseMoved with a single tracking area.
From one point of view, I would recommend *not* taking this approach, since it
comes near to flailing, and
On Jul 17, 2014, at 20:01 , Jens Alfke j...@mooseyard.com wrote:
The only thing I’ve found that works is
CFRetain((__bridge CFTypeRef)self);
at the top of the method, and a corresponding CFRelease at the end, but this
is pretty ugly
This seems to be the right way to do it. A
On Jul 12, 2014, at 13:50 , Bill Cheeseman wjcheese...@gmail.com wrote:
__block id returnItem = nil;
__block void (^findItemForIdentifierInArray)(NSArray *) = ^(NSArray
*contents) {
[contents enumerateObjectsUsingBlock:^(id obj, NSUInteger idx, BOOL
*stop) {
if
On Jul 10, 2014, at 23:34 , Ken Thomases k...@codeweavers.com wrote:
Have you connected the delegate outlet of your text view (field?)?
This was my first thought, too, but:
1. The delegate method ‘control:textShouldBeginEditing:’ seems like it’s called
too late. Presumably the selection
On Jul 11, 2014, at 00:24 , Shane Stanley sstan...@myriad-com.com.au wrote:
Just seems a lot of work for something that doesn't strike me as an uncommon
need.
In such a case, it’s also worth re-considering your UI at a higher level.
I wonder, for example, whether there’s an alternative that
On Jul 10, 2014, at 00:25 , Shane Stanley sstan...@myriad-com.com.au wrote:
I fear I'm doing something basic incorrectly, but I can't see what. My
-outlineView:viewForTableColumn:row: is not even getting called, which seems
very odd. (And yes, I commented out
On Jul 1, 2014, at 11:21 , William Squires wsqui...@satx.rr.com wrote:
Use-case:
I have a (fictitious) FPS game in which the players or bots can damage the
scenery by leaving blast marks. A timer should remove these decorations
after a given delay, but I want the timers to pause if any
On Jun 26, 2014, at 11:44 , William Squires wsqui...@satx.rr.com wrote:
the delegate method (of interest):
-(void)comboBoxSelectionDidChange:(NSNotification *)notification
doesn't pass the reference to the NSComboBox whose selection changed,
It does. It’s usual for these sorts of delegate
On Jun 25, 2014, at 14:44 , Rick Mann rm...@latencyzero.com wrote:
The problem I need to solve is for that destination view controller to know
which represented object was associated with the cell in which the source
UIButton was. But I can't see how to do that.
Doesn’t ‘prepareForSegue:’
On Jun 25, 2014, at 16:00 , Rick Mann rm...@latencyzero.com wrote:
The button is the sender. But there's no way to determine in which cell that
button is.
Sure there is. Walk up the tree of superviews from the button till you find the
enclosing cell.
On Jun 25, 2014, at 16:06 , Rick Mann rm...@latencyzero.com wrote:
Well, I suppose, but that sort of forces the -prepare method to know a lot
about the view hierarchy. I'd rather not do that.
Your original question was about finding the cell for the button. Therefore,
it’s already implicit
On Jun 24, 2014, at 07:55 , Sean McBride s...@rogue-research.com wrote:
I guess it's omission could be a bug, but assuming not, Sketch gets a
compiler warning if you tag its own designated initializer (init) with
NS_DESIGNATED_INITIALIZER, since it doesn't call one of super's designated
On Jun 24, 2014, at 15:31 , Alex Kac a...@webis.net wrote:
I’m sure I’m missing something simple.
I have an NSButton with an image. I’d like to have the button look etched
when unselected - and tinted blue when selected
It was a while back since I was missing the same thing. IIRC, what you
On Jun 23, 2014, at 17:30 , Graham Cox graham@bigpond.com wrote:
I interpret that to mean it must call a designated initializer *eventually*,
not necessarily directly. Since all -initXXX methods of the superclass must
call the superclass's designated initializer, your subclass's D.I. can
On Jun 23, 2014, at 20:16 , Graham Cox graham@bigpond.com wrote:
And the example code is Obj-C. Why would Swift come into it?
Sorry, I wasn’t carping at you. It just occurred to me that “no one cares” in
the pure Obj-C case — we know that invoking ‘super initWithWindowNibName:’ is
safe,
On Jun 20, 2014, at 16:44 , John Brownie john_brow...@sil.org wrote:
I have a complex document bundle, and I'm trying to figure out which files
within the package have unsaved changes, and it looks like there's no support
for that model in NSDocument.
I haven’t been following this thread
On Jun 19, 2014, at 08:24 , Alex Zavatone z...@mac.com wrote:
There is no message thrown in the console and the applicationWillTerminate:
method isn't called at all.
Generally, since iOS 4, applicationWillTerminate: is never invoked. You get
applicationDidEnterBackground, and that’s where
On Jun 17, 2014, at 15:21 , Trygve Inda cocoa...@xericdesign.com wrote:
Thoughts on the pros and cons of both methods?
I strongly agree with Lee Ann that the custom class is a better approach. It
almost always happens that you (eventually) want to associate behavior with the
properties. There
On Jun 16, 2014, at 13:36 , Trygve Inda cocoa...@xericdesign.com wrote:
In the later method, if the encoded object does not contain kValueCKey, the
object created will still have the correct default value for valueC (9).
It won’t, because you assigned nil to valueC *after* it’s set to the
On Jun 14, 2014, at 11:03 , Bill Cheeseman wjcheese...@gmail.com wrote:
I must be overlooking something in those examples.
I have a vague recollection of once trying to use the IB source list item and
running into something that seemed oddly configured.
It might be simplest to try deleting
On Jun 14, 2014, at 13:09 , Ken Thomases k...@codeweavers.com wrote:
For convenience.
Specifically, IIUC, the point is that NSDate? and NSDate are different,
incompatible types. The convenience comes from not having to “cast” NSDate? to
NSDate by using the “!” operation in expressions.
On
On Jun 8, 2014, at 21:46 , Graham Cox graham@bigpond.com wrote:
Can anyone think of a way to achieve this?
'outlineView:selectionIndexesForProposedSelection:’ ?
It’s preferred over ‘outlineView:shouldSelectItem:’ these days anyway.
___
On Jun 6, 2014, at 01:05 , Lee Ann Rucker lruc...@vmware.com wrote:
There's no supported way to do it and never has been
I was able to do it — at least partially — in IB:
— Select the checkbox
— Display the “Core Animation Layer” tab of the inspector palette (the last
icon on the right)
—
On Jun 4, 2014, at 12:24 , Alex Zavatone z...@mac.com wrote:
His response was Well, I was able to autorelease any offending bits within
the loop without a problem, what's the big deal?
I think the deeper problem is that a while loop of this kind in an
asynchronously executed block is a bit
On Jun 4, 2014, at 14:45 , Alex Zavatone z...@mac.com wrote:
But I need to come up with an explanation of explain why that is a bad idea
and why it smells
It smells because a computationally intensive while loop will stall the
dispatch queue that’s stuck on it.
If you’re programming with
On May 24, 2014, at 21:08 , 2551 2551p...@gmail.com wrote:
Are there any performance implications that would suggest preferring one or
the other of these different styles?
NSString *s = @sing me a song;
[myClass aMethod: s];
and
[myClass aMethod: @sing me a song”];
Basically — if
On May 16, 2014, at 01:01 , Torsten Curdt tcu...@vafer.org wrote:
the debugger only stops in UIApplicationMain.
That’s most likely because your “level of detail” slider (the horizontal slider
below the call stack in the Debug pane) isn’t at the extreme right end.
What I am seeing in the log
On May 16, 2014, at 16:46 , William Squires wsqui...@satx.rr.com wrote:
Why doesn't NSData have a +[NSData dataWithString:(NSString *)] or -[NSData
initWithString:(NSString *)] method?
Because strings consist of *encoded* data, which (in principle) has no meaning
outside the internals of
On May 13, 2014, at 13:03 , Trygve Inda cocoa...@xericdesign.com wrote:
NSAppleEventDescriptor *appleEvent = [NSAppleEventDescriptor
appleEventWithEventClass: kMyAEClass
eventID: kMyAEEventID
targetDescriptor: targetDescriptor
returnID: kAutoGenerateReturnID
transactionID:
On May 13, 2014, at 21:14 , Jim Geist velocity...@rodentia.net wrote:
Can anyone point me at sample code and/or docs around implementing bindings
to an NSArrayController from a custom view (i.e. what a control like
NSTableView might do under the covers?)
AFAIK, the only documentation is
On May 11, 2014, at 17:30 , William Squires wsqui...@satx.rr.com wrote:
I'm getting a mysterious message
Yes, me too. I think the explanation is that someone subscribed to the list has
had their email account hacked (or possibly just misconfigured), and there is
some kind of bounce from their
On May 10, 2014, at 12:06 , William Squires wsqui...@satx.rr.com wrote:
How can I make sure MyFile.txt exists before trying to read it in?
You can’t, so don’t even try. :)
Because the file system gets modified asynchronously by other processes,
there’s always a potential race condition
On May 10, 2014, at 15:17 , Charles Srstka cocoa...@charlessoft.com wrote:
Since that's the case Quincey was talking about (greying out files that don't
exist in the UI), I'd say checkResourceIsReachableAndReturnError: is the
appropriate API to use. It's certainly more efficient than reading
On May 9, 2014, at 02:59 , Jakob Egger ja...@eggerapps.at wrote:
Adding an empty 5px spacer column at the end is possible, but an ugly hack.
If I can't think of anything better, I'll have to go with that.
Just to clarify the scenario for posterity, you’re envisaging a situation where:
— the
On May 7, 2014, at 11:17 , Carl Hoefs newsli...@autonomy.caltech.edu wrote:
(1) I see that NSDictionary has an encoding method:
- (void)encodeWithCoder:(NSCoder *)coder;
but this returns (void), which is puzzling to me. I would expect it to return
(void *) to a malloced region containing
On May 7, 2014, at 13:55 , Jakob Egger ja...@eggerapps.at wrote:
The problem only occurs when you have many columns and the table view
scrolls horizontally. Then you can't make the last column wider.
Dragging the left side only makes the second-to-last column narrower,
and dragging the right
On May 7, 2014, at 14:42 , Avery Pierce aapier...@gmail.com wrote:
If I'm understanding Jakob's issue, the table view doesn't scroll more than
it needs to, so the rightmost column divider is exactly at the edge of the
window. It can never be scrolled inside.
You’re right. He said “rightmost
On May 7, 2014, at 15:08 , Mills, Steve smi...@makemusic.com wrote:
Is this all safe and legal, releasing self right before it returns to
whatever called it?
I believe it’s safe in manual RR, though you could perhaps do ‘[self
autorelease]’ if you feel uncertain. I’m not sure it’d be safe
On May 5, 2014, at 12:06 , Jens Alfke j...@mooseyard.com wrote:
How can I map a byte offset in a UTF-8 string back to the corresponding
character offset in the NSString it came from?
I’ve been thinking about this since your original question, and it seems to me
that this is a subtler problem
On May 6, 2014, at 11:23 , Mills, Steve smi...@makemusic.com wrote:
I'm looking at a crash log for our app that shows our app is initting. During
init ([NSApplication finishLaunching]) we discover a problem and put up a
modal dialog using [NSApplication runModalForWindow:]. During this modal
On May 6, 2014, at 11:55 , Mills, Steve smi...@makemusic.com wrote:
We're in [FinaleAppDelegate applicationWillFinishLaunching:] (like you
mentioned later), which is where we call our cross-platform InitApp function
to load things up, set up audio, etc. The audio engine has discovered a
On May 6, 2014, at 12:28 , Lee Ann Rucker lruc...@vmware.com wrote:
This may be obvious, but did you try moving it all to
applicationDidFinishLaunching: instead?
IIUC, Steve’s point was that it won’t help in this case, because state
restoration is initiated before
On May 1, 2014, at 23:03 , Varun Chandramohan varun.chandramo...@wontok.com
wrote:
I ran ‘tableView:viewForTableColumn and it is always tableColumn == nil as I
have just 1 column.
No. ‘tableColumn == nil’ means that you’re being asked for a view for a *group
row*. A group row:
(a) spans
On May 2, 2014, at 14:06 , Lee Ann Rucker lruc...@vmware.com wrote:
You might find it useful to get one of the Apple sample apps, like
TableViewPlayground, and experiment with that - it's easier to figure out
what's happening when you have a fully-implemented example than it is to
start
On May 1, 2014, at 15:16 , Varun Chandramohan varun.chandramo...@wontok.com
wrote:
However this is not the case with the same table
populated manually using NSPasteboardReading and NSTableViewDataSource,
NSTableViewDelegate. I noticed a grey background to all the entries to the
table.
It
On May 1, 2014, at 17:25 , Varun Chandramohan varun.chandramo...@wontok.com
wrote:
Yes I have implemented tableView:isGroupRow.
- (BOOL)tableView:(NSTableView *)tableView isGroupRow:(NSInteger)row {
DesktopEntity *entity = _tableContents[row];
if ([entity
On Apr 30, 2014, at 16:00 , Jonathan Hull jh...@gbis.com wrote:
I also find that it is good practice to set variables returned by reference
to nil before passing them.
NSError *error = nil;
Otherwise, they will contain garbage, and cannot reliably be tested to see if
the value was set.
On Apr 29, 2014, at 06:18 , Arved von Brasch co...@atgo.org wrote:
sendAction:to:from: seems to be the preferred way to invoke the responder
chain to implement the clear: method in the Window controller.
This puzzles me. What are you actually trying to do?
If you’re trying to invoke *the*
On Apr 28, 2014, at 13:02 , Ken Thomases k...@codeweavers.com wrote:
I've seen this discussed before, but I don't remember where. One of the
Apple engineers acknowledged the issue. This check is not done (or not
effective) if the semaphore is created with a value of 0.
It was here, a few
On Apr 26, 2014, at 17:13 , William Squires wsqui...@satx.rr.com wrote:
I'd show you what this looks like, but I don't think users are supposed to
post pics to this group.
You can post screen shots in the Developer Forums, and you’ll find more people
with SpriteKit experience there.
Any
On Apr 27, 2014, at 09:29 , William Squires wsqui...@satx.rr.com wrote:
Thanks - reducing the scene to just the score label reveals that - without
the background - the (solid) background color is now a dark gray, rather than
black, and I can just make out the (simulated) title bar at the top
On Apr 26, 2014, at 12:02 , Kyle Sluder k...@ksluder.com wrote:
FWIW, I’ve been of the opinion for a while that including dispatch_sync in
the API was a mistake. Too often it becomes a crutch used without
understanding, resulting in stop-start behavior across threads or cores.
I don’t know
On Apr 24, 2014, at 22:49 , Jens Alfke j...@mooseyard.com wrote:
It is, but most of it appears to be memory management _caused_ by GCD, since
it goes away when I replace the dispatch calls with @synchronized. GCD is
apparently causing a lot of blocks to get copied to the heap.
Well, you
On Apr 24, 2014, at 08:20 , Sean McBride s...@rogue-research.com wrote:
Tracking areas are nice, but limited to rects, and I have circular areas to
deal with too.
Not really. According to the event handling guide, if a responder's
cursorUpdate: declines the event (by invoking super), the
On Apr 24, 2014, at 06:47 , Gilles Celli gilles.ce...@ecgs.lu wrote:
1. With KVO in a Controller object: Observing the NSOperation's isFinished
value and then in observeValueForKeyPath:ofObject:change:context:
update the UI (graph display) on the main thread with
On Apr 24, 2014, at 14:21 , Andy Lee ag...@mac.com wrote:
I still don't see how
foo = [@Something fallbackIfNil:foo];
has any advantage over
foo = foo ?: @Something;
I don’t see how the latter has any advantage over your earlier suggestion [more
or less]:
if (!foo)
On Apr 24, 2014, at 20:14 , Jens Alfke j...@mooseyard.com wrote:
On my MacBook Pro this gave me a nice speedup of 50% or more.
But when I tested the code on my iPhone 5 today, I found performance had
dropped by about a third.
I know that dispatch queues aren’t free, but I wasn’t expecting
On Apr 23, 2014, at 03:01 , Dave d...@looktowindward.com wrote:
If I changed the names of commandDownloadImageWithFileURLString to be
newCommandDownloadImageWithFileURLString, this would cause it to release
myImage on each iteration rather than using Autorelease?
It would remove one — and
On Apr 23, 2014, at 16:58 , Ken Thomases k...@codeweavers.com wrote:
If the cursor is appropriate for a given view, that's a *strong* indication
to the user that a click will act on that view. So, the view controlling the
cursor at a given point should also be the view that receives the
On Apr 22, 2014, at 15:36 , Eric Shepherd the.she...@gmail.com wrote:
When the cursor is at the top edge of my window, the Y value is off by 10
pixels.
When the cursor is at the bottom edge of my window, the Y value is off by 40
pixels.
As I suggested previously, this could indicate
On Apr 22, 2014, at 15:18 , Dave d...@looktowindward.com wrote:
I assumed that ARC would release myImage on each interation of the loop,
however, this seems not to be the case
The ‘myImage’ variable gives up *ownership* of the previous image object when
you create a new one in the loop, but
On Apr 20, 2014, at 23:53 , Graham Cox graham@bigpond.com wrote:
The toolbar view is actually added as a PEER of the window's content view,
and the content view is resized to accommodate the toolbar when it is shown
or hidden.
That sounds correct, but IIRC the methods that convert
On Apr 21, 2014, at 08:13 , William Squires wsqui...@satx.rr.com wrote:
Question: given an SKLabelNode (reference), is there some way to render it,
and turn the rendered image into an SKSpriteNode? I know about [SKSprite
spriteWithImageNamed:], but that takes a filename of an image in the
On Apr 21, 2014, at 15:23 , Eric Shepherd the.she...@gmail.com wrote:
I added code to dump the Y-coordinate of my mouse while I move it around in
the NSOpenGLView, and sure enough, it's reaching the value that should be the
bottom edge well above the bottom.
Are you sure you’re using the
On Apr 21, 2014, at 16:46 , Eric Shepherd the.she...@gmail.com wrote:
where = [self convertPoint:where fromView:nil]; // Convert to the view's
frame of reference
NSLog(@Mouse Y: %3.0f, where.y);
And ‘self’ is the NSOpenGLView, yes? It sounds like your view’s bounds origin
has been
On Apr 21, 2014, at 17:15 , Eric Shepherd the.she...@gmail.com wrote:
I've checked -- [self bounds].origin.y is 0.
That can’t be! What is ‘where.y’ at the very top of your view? Can you log
self.bounds so we can see all of it?
Well, it can be. A couple of other possibilities:
— Your view is
On Apr 21, 2014, at 18:28 , Kyle Sluder k...@ksluder.com wrote:
Why not?
Let’s assume for the sake of an example, the toolbar is 40 points high, and the
OpenGL view (its visible rect, at least) is 200 points high. According to Eric,
when the cursor is 40 points *above* the bottom of the
On Apr 20, 2014, at 11:58 , Cody Garvin c...@servalsoft.com wrote:
Second, while using instruments use the “mark heap” tool.
Third, keep in mind that blocks keep strong references to self (especially
callbacks).
While these are important debugging steps, I’d suggest that this isn’t the
On Apr 20, 2014, at 12:54 , Eric Shepherd the.she...@gmail.com wrote:
Nope. :(
The only *technical* suggestion I can add — beyond Ken’s excellent suggestions
— is to move the OpenGL view down a level. That is, assuming it’s a subview of
the window’s content view, make it a subview of a custom
On Apr 20, 2014, at 13:22 , Dave d...@looktowindward.com wrote:
This App was an iOS application and previously it handled manual memory
management - mostly using autorelease. I converted it by hand (didn’t use the
ARC coversion process).
Ah, then ignore everything I said. :)
if ([prop1
On Apr 20, 2014, at 13:34 , Kyle Sluder k...@ksluder.com wrote:
Do you override any other NSDocument saving methods?
Also, there *may* be a relevant interaction between ‘terminate:’, sudden
termination and automatic termination, even though technically they’re separate
things. Opting in to
On Apr 20, 2014, at 22:26 , Kyle Sluder k...@ksluder.com wrote:
In a Save the dirty mark is not cleared until the file is written, thus it
asks before quitting about saving the document.
Come to think of it, does your app adopt Lion Autosave?
The implication of “dirty mark” — if taken
On Apr 18, 2014, at 06:32 , Colas colasj...@yahoo.fr wrote:
— in my real project, I have an error :
-[MyCBDLockManager loadWindow]: failed to load window nib file
'MyCBDLockManager’.
In regards to CocoaPods issues, this list isn’t the place to ask.
In regards to nib-loading issues:
— Check
On Apr 18, 2014, at 14:14 , Gerd Knops gerti-cocoa...@bitart.com wrote:
Dangerous (and entirely wrong) assumption.
I know perfectly well that Mac HFS+ can be made case sensitive, so perhaps I
should have worded it better: “…even *when* the Mac file system is case
insensitive.”
However, both
On Apr 14, 2014, at 21:10 , Varun Chandramohan varun.chandramo...@wontok.com
wrote:
I was thinking what if I want to keep this persistent?
This doesn’t sound like such a good idea. There’s nothing to guarantee that
your saved data will actually match the state of the file system the next time
On Apr 8, 2014, at 16:15 , Jens Alfke j...@mooseyard.com wrote:
IIRC, the AppKit release notes for 10.9 (or 10.8?) talk about behavior
changes in +[NSImage imageNamed:]. Putting that together with what you’re
saying, it may be that it now memory-maps the image data instead of copying
it
On Apr 7, 2014, at 03:00 , jonat...@mugginsoft.com wrote:
I have a function like macro:
#define DBDispatchMonoEvent(KLASS, NAME) \
do { \
[DBManagedEvent dispatchEventFromMonoSender:monoSender \
eventArgs:monoEventArgs \
1101 - 1200 of 3195 matches
Mail list logo