On Mar 13, 2011, at 1:51 AM, Indragie Karunaratne wrote:
Andreas,
That predicate syntax (and block predicates) won't work in my case because
I'm using them in a Core Data NSFetchRequest.
This is true only if you use a sqlite store - but this is also most likely ;)
If you were not using
Thanks Andreas,
I see your point, but as far as I know, IN looks for an exact match (in this
case, the attribute would have to match the term for the predicate to return
true) where as I need it to check if the attribute CONTAINS the term (which is
more appropriate for Spotlight-style search).
On Mar 13, 2011, at 3:08 PM, Gideon King wrote:
I'm seeing a strange thing with a predicate. When I apply the predicate to a
fetch request, it doesn't return any results, but when I do the fetch without
the predicate and then use filteredArrayUsingPredicate to filter the results,
it has
On Mar 14, 2011, at 3:10 PM, Indragie Karunaratne wrote:
Thanks Andreas,
I see your point, but as far as I know, IN looks for an exact match (in
this case, the attribute would have to match the term for the predicate to
return true)
Well, just to clarify the things:
IN is a set
Thanks for that information - that's an important distinction to understand. I
guess that may be something to do with what I'm observing, but am not sure
exactly how.
In my case, I am using an NSAtomicStore subclass. The actual storage behind the
scenes maps that attribute to an id attribute
We've previously integrated with iAds. While testing ADBannerView, I noticed in
the sandbox that the bannerView:didFailToReceiveAdWithError: delegate method
would intermittently be called. It would fail on one to two minute intervals
and then start indicating content was available. I assumed
Hello,
in one of my projects, a UITableView instance displays a number of objects
whose information is gathered from the web. As it turns out each of these
objects can be in one of two states, with visual differences.
In the loading state, only a minimal amount of information about the object
On Mar 13, 2011, at 10:33 PM, Martin Hewitson wrote:
I'm working on an app which will show a grid of CALayers (a few hundred in
total), each layer is constrained so that its size scales up and down with
the super layer. The super layer is then hosted by a view and resizes with
the view.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
WT wrote:
When the object displayed in a given UITableViewCell is in the
loading state, the cell's height is just a bit larger than a
UILabel's height. When the object is in its loaded state, the cell
is quite a bit taller, to accommodate the rest
Duh... I should have searched the web before firing the question to the list.
It turns out there are many references to this exact task and its solution.
Here's one such: http://www.alexandre-gomes.com/?p=482
Basically, the idea is to call -reloadRowsAtIndexPaths: withRowAnimation: at
the
On Sun, 13 Mar 2011 15:14:53 -0700, Steve Christensen puns...@mac.com said:
On Mar 13, 2011, at 11:05 AM, Matt Neuburg wrote:
On Tue, 08 Mar 2011 17:01:33 -0800, Steve Christensen puns...@mac.com said:
The setup has a MPMoviePlayerController instance that is playing a local
audio file. There
On Mar 14, 2011, at 2:27 PM, Conrad Shultz wrote:
WT wrote:
When the object displayed in a given UITableViewCell is in the
loading state, the cell's height is just a bit larger than a
UILabel's height. When the object is in its loaded state, the cell
is quite a bit taller, to accommodate the
I'm having trouble getting drag and drop to work with an NSOutlineView. What
I've done is below. The problem is that
tableView:writeRowsWithIndexes:toPasteboard never gets called. I found a few
people with the same issue and it seems that the cause of the problem is that I
am using a custom
Your custom cell needs to properly implement:
- (NSUInteger)hitTestForEvent:(NSEvent *)event inRect:(NSRect)cellFrame
ofView:(NSView *)controlView NS_AVAILABLE_MAC(10_5);
See the header for details or the AnimatedTableView demo.
--corbin
On Mar 14, 2011, at 12:20 PM, Carter R. Harrison wrote:
The custom cell I'm using is a modification of ImageAndTextCell from the
DragNDropOutlineView sample project. In that class they have some comments
that describe how hitTestForEvent:inRect:ofView: works. It's my
understanding that if I return anything other than NSCellHitTrackableArea a
drag
On Mar 14, 2011, at 12:20, Carter R. Harrison wrote:
I'm having trouble getting drag and drop to work with an NSOutlineView. What
I've done is below. The problem is that
tableView:writeRowsWithIndexes:toPasteboard never gets called. I found a
few people with the same issue and it seems
Ack! I can't believe I missed that. The correct method to implement is:
- (BOOL)outlineView:(NSOutlineView *)outlineView writeItems:(NSArray *)items
toPasteboard:(NSPasteboard *)pboard
Once I changed the method declaration and a few of the implementation details
drag and drop is now working!
On Mar 14, 2011, at 12:33 PM, Quincey Morris wrote:
On Mar 14, 2011, at 12:20, Carter R. Harrison wrote:
I'm having trouble getting drag and drop to work with an NSOutlineView.
What I've done is below. The problem is that
tableView:writeRowsWithIndexes:toPasteboard never gets called.
Greetings,
I posted this question to the Mac OS X/Graphic/Core Animation
forum several weeks ago and no one's been able to answer it, so
I'm trying here.
I have a fairly complex hierarchy of NSViews (window - split
view - tab view, which hosts a variety of table, outline,
browser, and
I have an NSCollectionView with NSCollectionViewItems that have, amongst other
things, a layer-hosting NSView with CALayers. The collectionView has
wantsLayers set, and everything there is working nicely - draw, scroll, reorder
animation.
The trouble comes when I try to drag them. The
On Mon, Mar 14, 2011 at 1:15 PM, Lee Ann Rucker lruc...@vmware.com wrote:
Is there something I'm missing that would cause it to create the right drag
image for me?
If you think about it, you pretty much have to use the old raster
drawing path to generate drag images. Even if you don't call
On Mon, Mar 14, 2011 at 1:13 PM, James Bucanek subscri...@gloaming.com wrote:
Here's the weird thing: sometimes, but not all the time, the CALayers in the
nested subviews draw ON TOP OF the CALayers in the top-level overlay view.
It's almost as if whatever the last CALayer that gets drawn,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 3/14/11 12:01 PM, WT wrote:
thanks for your reply. As I posted subsequently to my original
message, I found that very answer you recommended in several places
online, but some of them suggest bracketing the call to
On Mar 14, 2011, at 5:40 PM, Conrad Shultz wrote:
No problem, happy to help, even if you independently found the solution.
As for begin/endUpdates, what these do is synchronize animations that
otherwise might be performed serially. If you are updating a single row
there is no reason,
On Mar 14, 2011, at 1:29 PM, Kyle Sluder wrote:
On Mon, Mar 14, 2011 at 1:15 PM, Lee Ann Rucker lruc...@vmware.com wrote:
Is there something I'm missing that would cause it to create the right drag
image for me?
If you think about it, you pretty much have to use the old raster
drawing
And is it what I need?
Here's what I have: an iOS (for iPhone/iPod Touch) app that - mostly - works;
enough to be usable in a production environment, but doesn't have all the
'spit-and-polish' of a fully completed app.
Currently, the project for it resides on my laptop, and whenever I receive
Ad hoc distribution has nothing to do with the app store. It is essentially the
same distribution mechanism that you have been using, except the expiration of
the provisioning profile is much longer.
On Mar 14, 2011, at 6:45 PM, William Squires wrote:
And is it what I need?
Here's what I
On Mar 14, 2011, at 6:48 PM, cocoa-dev-requ...@lists.apple.com wrote:
I'd like to distribute this on the app store so they can d/l it there, and
not have to put up with the reminder notices, but I don't want just anyone
to be able to find the app on the App Store. Is this what Ad-hoc
I recommend Beginning Mac Programming: Develop with Objective-C and Cocoa by
Tim Isted. I concur with Cocoa Design Patterns after you learn a bit. I also
liked Cocoa and Objective-C: Up and Running by Scott Stevenson. I would also
suggest getting a membership from safaribooksonline.com and
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 exact control over horizontal
positioning (regardless of whether the font
I searched a lot, and all thing that hidden the keyboard is when you are in
a UITextField.
This is the problem. I am in a UIWebView and the user click in a text box in
the web page, so the iOS open the keyboard. I can know when the keyboard
will show by the UIKeyboardWillShowNotification. But, I
I've been needing an interface similar to the polished metal in Mac OS X 10.4
in my 10.6 app. First of all, is there a way to get back the brushed metal
using an API call, or how would I implement this? I've accomplished rendering
the metal on the window itself, but the little 'shine' and the
I need to intercept repeat keys in one window of an application. I see some
references from about 10 years ago about the GLUT key handling routines, but
they don't seem to work. In particular glutIgnoreKeyRepeat(TRUE) does not do
anything. Should I be using other code? Is there a better way to
I am looking to replicate the user interface of the Mac OS7 abandonware
application MIDIGraphy.
Most of my experience has been with the QuckDraw toolbox (over 30
years?) I used to work for Apple Imaging and was one of the Postscript
Gurus on the Laserwriter team, so KV coding is second
Ok I'm rendering my images slightly larger than the view's that they are being
printed from.
Basically the quality is less than great. Is there a way to change the CGImage
dpi? Or a way to change the quality of the print to maximum?
Or is print quality basically just what it is on
Kyle Sluder mailto:kyle.slu...@gmail.com wrote (Monday, March
14, 2011 1:33 PM -0700):
On Mon, Mar 14, 2011 at 1:13 PM, James Bucanek subscri...@gloaming.com wrote:
Here's the weird thing: sometimes, but not all the time, the CALayers in the
nested subviews draw ON TOP OF the CALayers in the
36 matches
Mail list logo