On Nov 14, 2013, at 23:41 , Jerry Krinock wrote:
> this cell would receive -drawWithFrame:inView:, but the value of self is
> *different* than the original value of self, which I'd stored in an instance
> variable during the -init of this instance.
> Can anyone suggest how ’self’ could be chan
On 15 Nov 2013, at 07:41, Jerry Krinock wrote:
> Several years ago, I subclassed NSPopUpButtonCell and am using it as a table
> header cell, so the user can select which attribute is displayed in the
> column. Maybe this was not a good idea, but anyhow…
>
> A few years ago, I noticed a rare,
On 15 Nov 2013, at 08:41, Jerry Krinock wrote:
> Several years ago, I subclassed NSPopUpButtonCell and am using it as a table
> header cell, so the user can select which attribute is displayed in the
> column. Maybe this was not a good idea, but anyhow…
>
> A few years ago, I noticed a rare,
I'm returning to a project after having upgraded to Xcode 5 a couple of
weeks ago and I'm getting this error:
"iCloud sync fails with CoreData: Ubiquity: Invalid option: the value for
NSPersistentStoreUbiquitousContentNameKey should not contain periods"
I never saw this in later versions of Xcod
Thank you three guys for straightening me out on this.
Indeed, a couple years ago, when I crazily added “self” as an ivar to try and
diagnose something, this was the first ivar, and I neglected to override
-copyWithZone:.
So I’ve now eliminated all of that crap, found and fixed a real problem,
On 15 Nov 2013, at 19:59, Jerry Krinock wrote:
> The copying of that header cell does require you to say “implementation
> detail” and close your eyes, though. It seems the cell is only copied in a
> table view, not an outline view, and only when the width is reduced, and
> further this is new
On Nov 14, 2013, at 7:09 AM, Martin Hewitson wrote:
> Continuing the discussion with only myself, so far….
>
> I had the idea to make a trivial test app which just has a PDFView and a
> “Load” button.
>
> So I created the app on 10.9 with Xcode 5.0.2. It’s just a vanilla NSDocument
> app wit
In my iphone app, I am displaying information of files added to documents
directory, in a table view, as soon as those are added. For this I am using
DirectoryWatcher class provided in one of the sample codes by apple.
Below is the block of code showing its use:
- (void)viewDidLoad
{
// start
In my iPhone app, I am downloading files from server and storing them
locally (user's document directory). The path of each file downloaded is
subsequently updated in database.
If user tries to delete a file, first the file is deleted from local path
using removeItemAtPath: (NSFileManager), then c
On Nov 15, 2013, at 1:28 PM, Devarshi Kulshreshtha
wrote:
> When I am trying to add a large file, such as a movie file, then as soon as
> transfer starts (copy or move operation) it invokes directoryDidChange:
> immediately. It did not wait unless the transfer is complete. So I always
> get siz
Hi Jens,
Regarding:
You haven’t stated where these files are coming from. Is this a network
download? In that case you can use NSURLConnection’s delegate methods to
find the size of the file and watch the download progress. If it’s some
other API, check whether it has progress monitoring.
>> use
On Nov 15, 2013, at 3:37 PM, Devarshi Kulshreshtha
wrote:
> In my iPhone app, I am downloading files from server and storing them
> locally (user's document directory).
That’s probably going to get a red flag from Apple when they review the app.
They are pretty strict about enforcing that onl
On Nov 15, 2013, at 4:10 PM, Devarshi Kulshreshtha
wrote:
> >> user will be copying these files directly through iTunes.
You’ll just have to poll the files, then. When a new file appears, monitor its
size every second or so. When the size hasn’t increased in the last, say, 10
seconds, assume
How can I poll the files? Is their any cocoa API to do so?
On Fri, Nov 15, 2013 at 6:21 PM, Jens Alfke wrote:
>
> On Nov 15, 2013, at 4:10 PM, Devarshi Kulshreshtha <
> devarshi.bluec...@gmail.com> wrote:
>
> > >> user will be copying these files directly through iTunes.
>
> You’ll just have to
On 16 Nov, 2013, at 8:18 am, Jens Alfke wrote:
>
>
> As for the deletion, I don’t know how long deleting 20,000 files will take;
> you’d need to experiment. The OS only gives your process a limited amount of
> time to respond to the enter-background (or terminate) notification before
> kill
On Nov 15, 2013, at 4:33 PM, Devarshi Kulshreshtha
wrote:
> How can I poll the files? Is their any cocoa API to do so?
“Polling” just means “doing something periodically”. So use an NSTimer or
something like that, and in its action method use NSFileManager to get the
file’s info.
—Jens
On 16 Nov, 2013, at 8:10 am, Devarshi Kulshreshtha
wrote:
> Hi Jens,
>
> Regarding:
>
> You haven’t stated where these files are coming from. Is this a network
> download? In that case you can use NSURLConnection’s delegate methods to
> find the size of the file and watch the download progres
On Nov 15, 2013, at 4:37 PM, Roland King wrote:
> If you put all the files in a subdirectory and delete the subdirectory, I've
> found that to be pretty quick.
All that will do is have NSFileManager loop over all the files deleting them.
(There is no system call to delete a directory tree.) I
Can anyone explain why, when navigating between Status Items in the menu bar
with the right and left arrow keys, the loop wraps on the left when you get to
the first non-Apple status item, and wraps on the right with the Fast User
Switching menu?
The Spotlight menu, Notification Center, and al
Michael,
Thanks for the clue. On closer inspection, I do indeed get those warnings, so I
deselected those 'base' localisations, and will try this again as soon as I
have access to a 10.6.8 machine. I’m really hoping that this test app shows
that the PDFView problem is somehow a bug, because I t
On 16 Nov 2013, at 07:12 am, Jerry Krinock wrote:
> Can anyone explain why, when navigating between Status Items in the menu bar
> with the right and left arrow keys, the loop wraps on the left when you get
> to the first non-Apple status item, and wraps on the right with the Fast User
> Swit
21 matches
Mail list logo