On Jul 31, 2010, at 12:15 PM, Ken Thomases wrote:
> On Jul 31, 2010, at 2:24 AM, Michael Thon wrote:
>
>> I am indexing a large set of files using Search Kit. I find that memory
>> usage (reported by Activity Monitor) keeps growing in my app, as it indexes
>> more documents. I don't find any
Roland, Luke and David,
I think you're right and I misunderstood the dequeue…
I looked at the AdvancedTableViewCells sample. Each time the dequeue… doesn't
return a cell, it loads a new cell from a xib file, so, I guess, in effect
creating a new cell.
I'll have to bundle my cell that is curren
Well I will put myb problem clearly here -
1>. I have an App with language being mentioned in radio button.
2>. Being in english user can choose French/German/Japanese etc. And my app
should change the *language/input method/keyboard layout* without being
terminated.
Any example or code snippet w
Your browser's -imageBrowser:itemAtIndex: data source method returns objects
that conform to the IKImageBrowserItem informal protocol. You can specify
-imageRepresentationType to return IKImageBrowserNSImageRepresentationType and
have -imageRepresentation return a reasonably-sized thumbnail imag
I think you've missed the point of what Luke's saying. If
dequeueReusableCellWithIdentifier: returns nil then you create a cell with that
identifer, correct, and that cell can be recycled later by the tableview.
That's what the [ [ [ UITableViewCell ] alloc ] initWith... ] autorelease ]
does, s
On Jul 31, 2010, at 10:25 PM, Laurent Daudelin wrote:
> Isn't the purpose of dequeueReusableCellWithIdentifier: of reusing
> tableview's objects? I've used this in the past and it never failed me. The
> documentation says "For performance reasons, a table view'€™s data source
> should generally
Isn't the purpose of dequeueReusableCellWithIdentifier: of reusing tableview's
objects? I've used this in the past and it never failed me. The documentation
says "For performance reasons, a table view's data source should generally
reuse UITableViewCell objects when it assigns cells to rows in
Are you returning the same cell 4 times? That's not right. You're going to need
4 separate cell instances even if they are of the same class and layout. It
sounds like you might be taking 1 cell instance out of a nib and returning that
each time.
Luke
Sent from my iPhone.
On Jul 31, 2010, at
On Sat, Jul 31, 2010 at 4:39 PM, douglas welton
wrote:
> - use a layer-backed view and apply a CI scaling filter
> - use the movie view delegate and apply a CI scaling filter
> - use raw QuickTime and futz with the movie matrix
> - use the View's -scaleUnitSquareToSize method to affect the view's
On Sat, Jul 31, 2010 at 8:22 PM, Martin Stanley
wrote:
> I agree that it would be nice to let Core Data handle as much of the
> referential integrity, etc. as possible; in fact that was why I posed the
> question in the first place. The problem is that one cannot "convert from
> NSPredicate ins
I've got an NSTableColumn that uses a custom class for the table
header cells which is inherited from an NSPopUpButtonCell. I list the
code below how I create the table header cells and put them in the
NSTableColumn's.
Attached are two images that show what my problem looks like. The
'cell-before'
Thanks to everyone who responded with ideas on this.
John's suggestion of the TEC* functions was promising, but I ended up not using
them when I discovered that they're not available on the iPhone. Ditto for
Martin's suggestion of using getxattr.
I eventually ended up using Rainer's method (wh
I've been banging my head on this for over a day now and I just can't find
what's wrong with my tableview and the tableview cells.
Basically, as you can see here:
http://nemesys.dyndns.biz/Images/iPhoneScreenshot.png
I have a table view made of 2 sections. Section 1 has only one tableview cell
On 2010-07-31, at 12:54 AM, Kyle Sluder wrote:
>
>> However, my subclass of NSPredicateEditor overrides the objectValue method
>> (to catch errors such as the one I described earlier). It would be possible
>> to parse the predicate and create back-pointers at this point. This is
>> called ever
Hi Alex,
This is understandable. Layouts can be heavily impacted by localization
differences.
I do not know your app, but one other approach you might take would be to move
as much as possible into icon-based controls in the application in order to
avoid the delta between the localized strings
Yeah, we have string files, but we also have tons of NIBs. Since the NIBs have
varying widths and other customizations per language - I'd prefer not to have
to go this route. Its just not worth the efort.
On Jul 31, 2010, at 8:41 PM, John Joyce wrote:
> Hi Alex,
>
> You might build a few simpl
Hi Alex,
You might build a few simple strings files, and simply reference and load those
based on the stored user preference for the app.
This can be particularly convenient for apps that need the ability to load
various languages.
Beyond that, you may want to clearly identify the use-case and n
Right - honestly its just a few people here and there who ask for it for
business reasons. If there was an easy way - such as NSUserDefault we could set
that would tell the OS - use our English NIBs and strings - that's what we'd be
looking for. Without that, its just not worth it.
On Mac OS X
Hi Alex,
In this case, are they requiring the OS language be in English?
If the OS is in French, or another language, it is still possible to change
your app's UI labels to any string you desire.
It is a bit more work for you to implement.
However, OS supplied services, such as copy/paste will sti
I'm trying to create an NSPathControl where there are several items
(components) within the row and each item (component) is a popup menu.
And then I would populate each of those popups w/ items. But I'm
having a problem in understanding if that's how it really works.
I'm playing around w/ the fol
Matthew,
I believe that the zoom button being referred to by this method is the zoom
button on the QuickTime VR movie Controller. Is the movie being displayed in
your QTMovieView linear or a VR movie?
If your movie is linear, then you can scale it using one of the following:
- use a layer-bac
Well there are a couple reasons on the iPhone in our case. First, some users
have devices that are set to languages like French or German, but they want to
run the app in English. Why? I'm told it has to do with some business
preferences or something. On iPhone its all or nothing.
So at least
> You're missing -framework AppKit here. I believe there's something in the
> Xcode 4 release notes about specifying linked frameworks that might explain
> why this flag has gone missing.
Thanks, I'll go looking for that.
>
> But the fact that you're trying to use NSPathControl in a Spotlight i
On Jul 31, 2010, at 2:03 PM, Shane
wrote:
> Ld "/Users/srd/Projects/shared_builds/myapp.build/Release/myapp
> Spotlight Importer.build/Objects-normal/x86_64/myapp" normal x86_64
> cd /Users/srd/Projects/myapp
> setenv MACOSX_DEPLOYMENT_TARGET 10.6
> /Developer/usr/bin/gcc-4.2 -arch x86_64 -bundl
On Jul 31, 2010, at 1:15 PM, cocoa learner wrote:
> True. That can be done. But I am looking for standard way of doing instead
> of creating a Dictionary from the strings file. And at the same time I would
> like to change keyboard input (from English to French based on the option
> chosen from m
I'm having trouble getting my app to build again. For some reason,
when I add a file subclassed from NSView, like say an NSPathControl,
it doesn't seem to be able to find these classes. This problem started
happening after I loaded my application in a certain "preview release"
of a future xcode ide
On Jul 31, 2010, at 12:03, Chris Tracewell wrote:
> I have two arrays, A and B, that each contain objects that have a myTotal
> property. In IB I use an array controller for each and show their contents in
> separate NSTableview's and then display the sum for each by binding to
> respective NST
Hi All,
Is there any way to create 3d Cube effect in Core Animation using public
API. After searching in net I found some links but those are talking about
using Private Apis. Which I do not want. My target machine is Mac OS X 10.5
(Leopard).
Regards
Cocoa.learner
True. That can be done. But I am looking for standard way of doing instead
of creating a Dictionary from the strings file. And at the same time I would
like to change keyboard input (from English to French based on the option
chosen from my App radio button).
On Fri, Jul 23, 2010 at 10:57 PM, Doug
I have two arrays, A and B, that each contain objects that have a myTotal
property. In IB I use an array controller for each and show their contents in
separate NSTableview's and then display the sum for each by binding to
respective NSTextField's using the @sum array operator on their arrangedO
I'm using a QTMovieView in my project and a user would like be able to zoom in.
Looking at the API there seems to be a
setZoomButtonsVisible: selector, but it doesn't seem to work on my set up. Does
this only work if they have bought QT Pro? I'm on the latest snow leopard, and
I notice it says
On Sat, 31 Jul 2010 09:39:12 -0500, Fritz Anderson
said:
>There are three ways to access the contents of a NIB.
>
>1. Via -[UIViewController initWithNibName:bundle:], which connects the
references to outlets in File's Owner (the view controller itself). If a root
object in the NIB doesn't have a l
On Jul 31, 2010, at 8:31 AM, Tony Romano wrote:
> Here is one additional thing I discovered. I have an outlet to the
> NSTextField that contains the cell so I can write text to it. This is the
> only connection to my application. If I remove the outlet, the
> drawingRectForBounds: is called
Hi!
The Atlanta CocoaHeads and Atlanta iOS Developers are organizing the first
Cocoa
Camp, September 25, 2010, from 8am to 2pm.
Aaron Hillegass, of 'Cocoa Programming for Mac OS X', will be giving the
opening
keynote.
Directions and other information can be found here: http://cocoacamp.org
Here is one additional thing I discovered. I have an outlet to the NSTextField
that contains the cell so I can write text to it. This is the only connection
to my application. If I remove the outlet, the drawingRectForBounds: is
called. If I add it back, it won't get called. Why should havin
On 30 Jul 2010, at 4:15 PM, Chris Goedde wrote:
> On Jul 30, 2010, at 12:27 PM, Sherm Pendley wrote:
...
>> Remember, Objective-C *is* C. The easiest thing to do IMHO would be to
>> simply call the C functions.
>
> That's what I was originally hoping to do, but I don't think it's that
> simple.
On 30 Jul 2010, at 3:36 PM, Development wrote:
> I have a nib with two views in it. however the only view that loads is the
> one connected to the view outlet in the view controller. How can I get the
> second view to load?
What do you mean that the other view doesn't "load?" How do you know?
On Jul 30, 2010, at 2:23 PM, Quincey Morris wrote:
> Unlike with most frameworks, the API isn't really a contract with the
> developer, but more a series of "Push Here For A Chance To Win" buttons.
Well put.
Bill___
Cocoa-dev mailing list (Cocoa-de
On Jul 31, 2010, at 2:24 AM, Michael Thon wrote:
> I am indexing a large set of files using Search Kit. I find that memory
> usage (reported by Activity Monitor) keeps growing in my app, as it indexes
> more documents. I don't find any memory leaks. In Instruments, I find that
> there can so
It seems there are questions periodically about printing table data that pop
up, so here is a class that takes care of a lot of the grunt work, MSTablePrint.
http://themikeswan.wordpress.com/2010/07/31/printing-tabular-data/
Mike Swan
ETCP Certified Entertainment Electrician
http://www.michaelss
I am indexing a large set of files using Search Kit. I find that memory usage
(reported by Activity Monitor) keeps growing in my app, as it indexes more
documents. I don't find any memory leaks. In Instruments, I find that there
can sometimes be hundreds of SKDocumentRef objects marked as liv
41 matches
Mail list logo