Setting (not saving) NSPersistentDocument Metadata changes file Modification Date

2010-11-03 Thread Jerry Krinock
In Core Data Programming Guide ▸ Using Persistent Stores ▸ Store Metadata, I read: "Note that setting the metadata for a store does not change the information on disk until the store is actually saved." And indeed that is true. So I add my metadata, in my document-saving method, *before* invo

Re: CALayer renderInContext: performance

2010-11-03 Thread Gideon King
I haven't done any testing on performance, but are you using the "opaque" property of CALayer? Does that speed it up at all? On 04/11/2010, at 2:36 PM, Seth Willits wrote: > > renderInContext: can be rally slow (2 seconds to draw a tree into a > context). It seems that every CALayer is ren

CALayer renderInContext: performance

2010-11-03 Thread Seth Willits
renderInContext: can be rally slow (2 seconds to draw a tree into a context). It seems that every CALayer is rendered using a Quartz transparency layer, and I know they're slow from past experience. I'm basically just firing off this email to ask if there's a method to make it a lot faster,

won't work call from uitableview cell

2010-11-03 Thread Субач Павел Витальевич
Need some help, i want call from choose cell in my table with phone number: - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { NSString *phoneString = [NSString stringWithFormat:@"tel://%@", [dataArray objectAtIndex:indexPath.row]]; [[U

iPad frame-by-frame animation

2010-11-03 Thread Leon Qiao
Hi everyone, I got some problems on showing a frame-by-frame animations. I use some png files in quite a big size(1024* 768). The frame rate I required is near 1/24. I used to put all the images in one file, and then load a atlas texture. But the loading action still need more time when the image

Re: [iPhone] HTTPS / client Certificate / configuration profile

2010-11-03 Thread Sandro Noël
As i replied earlier, it works just fin in Safari for the iphone . as i mentioned, the problem lies in getting the certificate out of the configuration profile, from the within application. > Historically, client certificates haven't really worked properly in Secure > Transport, and therefore

Layout vs. Frame Rectangle

2010-11-03 Thread Eric Gorr
I am pretty sure the answer is no, but I was wondering if it was possible to programmatically obtain the layout rectangle as shown in Interface Builder in my own code outside of IB? I couldn't find anything, except for: http://developer.apple.com/library/mac/#documentation/DeveloperTools/Refere

Re: Notifications on main thread

2010-11-03 Thread James Bucanek
Jonny Taylor wrote (Wednesday, November 3, 2010 9:05 AM -): OK, I think I have managed to read the release note again using your interpretation, but I think I will follow your suggestion of filing a documentation enhancement request. However, I think their

Re: Set Icon For Document-Based Files

2010-11-03 Thread Sherm Pendley
On Wed, Nov 3, 2010 at 11:50 AM, PJBorges wrote: > Some things to check: >> >> Second, did you forget to include the extension, or was that >> just a typo in your email? >         I haven't included the extentions, icns, since the > documentation says that it is not necessary. I double-checked th

Re: Set Icon For Document-Based Files

2010-11-03 Thread Reinhard Segeler
You have to register it by adding the document (type and icon name) for the document in the target's "Properties" pane and it must be part of your project, as well. -- Reinhard Am 03.11.2010 um 15:17 schrieb PJBorges: Hi, I've made a core data document-based application that works fi

Re: [iPhone] HTTPS / client Certificate / configuration profile

2010-11-03 Thread Alastair Houghton
On 3 Nov 2010, at 13:58, Sandro Noël wrote: > Our application accesses the content of a secure web server, the server is > configured to ask the client for a certificate. Historically, client certificates haven't really worked properly in Secure Transport, and therefore also not from Safari or

Re: FastEnumeration for TWO kinds of objects in class.

2010-11-03 Thread Ruslan Zasukhin
On 11/3/10 7:02 PM, "Christiaan Hofman" wrote: > On Nov 3, 2010, at 16:09, Sherm Pendley wrote: > >> On Wed, Nov 3, 2010 at 8:58 AM, Ruslan Zasukhin >> wrote: >>> >>> I wonder if this is possible? >>> >>> Let we have class Vdatabase, which have few kinds of sub-elements >>>Tables >>>L

Re: [iPhone] HTTPS / client Certificate / configuration profile

2010-11-03 Thread Sandro Noël
Yes it works. Thanks for the hint. Safari first asks me to accept the server certificate. second step it warns me that the web site demands a client certificate and asks me to choose one from a list. once selected i am prompted for user name and password from the server. Which is the intended pr

Re: UITouch's function locationInView not working with iOS4.2

2010-11-03 Thread David Duncan
On Nov 3, 2010, at 12:01 AM, Angelica Grace Tanchico wrote: > Why is it that UITouch's function locationInView not working with iOS4.2? What is not working? How is the code you posted failing? All we can tell from what you've sent us is that you are potentially not getting the location you expe

Re: Notifications on main thread

2010-11-03 Thread Jonny Taylor
OK, I think I have managed to read the release note again using your interpretation, but I think I will follow your suggestion of filing a documentation enhancement request. However, I think their second bullet point "Notifications posted through a queue might not ever be posted" is still an im

Re: [iPhone] HTTPS / client Certificate / configuration profile

2010-11-03 Thread Sandro Noël
> > When you tell "Install certificate", I guess you mean "Certificate and > private key" isn't it ? Yes the p12. > > Does it works if you try to log using Safari ? I'm using it to access https > with cert based auth, and don't get any problem. Will try that and get back with the report. S

Re: Set Icon For Document-Based Files

2010-11-03 Thread PJBorges
Some things to check: > > First, make sure that your icon is in .icns format - you should use > /Developer/Applications/Utilities/Icon Composer.app to convert it if > it isn't. I've done that and copied it to all sizes. Second, did you forget to include the extension, or was that > just a t

Re: [iPhone] HTTPS / client Certificate / configuration profile

2010-11-03 Thread Jean-Daniel Dupas
Le 3 nov. 2010 à 14:58, Sandro Noël a écrit : > Greetings. > > Scenario: > > Our application accesses the content of a secure web server, the server is > configured to ask the client for a certificate. > and other security features. > > HTTPS > 1: SSL connection to server with server certific

Re: UITouch's function locationInView not working with iOS4.2‏ (cont)

2010-11-03 Thread Roland King
Reminding people that something is under NDA has never before been an issue in this forum (although Scott may also on occasion reply to the thread with that reminder personally to drive the point home officially). If it's not released software then basically it can't be discussed here, I would

Re: UITouch's function locationInView not working with iOS4.2‏ (cont)

2010-11-03 Thread Robert Claeson
On 3 Nov 2010, at 15:24, Kyle Sluder wrote: > 2010/11/3 Angelica Grace Tanchico : >> Why is it that UITouch's function locationInView not working with iOS4.2? > > iOS 4.2 is still under NDA. > > Apple provides NDA discussion forums at http://devforums.apple.com. I'm actually not sure that we (

Re: UITouch's function locationInView not working with iOS4.2‏ (cont)

2010-11-03 Thread Kyle Sluder
2010/11/3 Angelica Grace Tanchico : > Why is it that UITouch's function locationInView not working with iOS4.2? iOS 4.2 is still under NDA. Apple provides NDA discussion forums at http://devforums.apple.com. --Kyle Sluder ___ Cocoa-dev mailing list (C

Re: Set Icon For Document-Based Files

2010-11-03 Thread Sherm Pendley
On Wed, Nov 3, 2010 at 10:17 AM, PJBorges wrote: > > How do I change that standard icon into a custom one? > > I've tried to add this to the Info.plist file, according to apple's > documentation: > > CFBundleTypeIconFile > myCustomIcon Some things to check: First, make sure that your icon is in

Set Icon For Document-Based Files

2010-11-03 Thread PJBorges
Hi, I've made a core data document-based application that works fine. When you save the data to a file cocoa adds the standard plain white icon representing the data file. How do I change that standard icon into a custom one? I've tried to add this to the Info.plist file, according to apple's do

[iPhone] HTTPS / client Certificate / configuration profile

2010-11-03 Thread Sandro Noël
Greetings. Scenario: Our application accesses the content of a secure web server, the server is configured to ask the client for a certificate. and other security features. HTTPS 1: SSL connection to server with server certificate 2: SSL Client certificate (different cert issued for every user)

Re: 2 Beginner Bindings Questions

2010-11-03 Thread Peter Zegelin
On 03/11/2010, at 8:02 PM, Peter Zegelin wrote: >>> >>> My other question is related. I would like to enable the delete button only >>> if there is a selection in the table. Again, I have tried binding the >>> enabled property of the button to the controller with various combinations >>> of C

Re: 2 Beginner Bindings Questions

2010-11-03 Thread Peter Zegelin
On 03/11/2010, at 5:49 PM, Quincey Morris wrote: > On Nov 2, 2010, at 23:08, Peter Zegelin wrote: > >> I am having great difficulty showing the same selection of items using >> bindings. I would basically like to select rows in one table and have the >> selection updated in the other. >> >> P

Re: Writing an Uninstaller

2010-11-03 Thread Uli Kusterer
On 27.10.2010, at 15:52, Angus Hardie wrote: > Have you considered just killing the background process and then > automatically moving your app to the trash before quitting? Ugh. Bad idea. We actually had to change Sparkle to use a little helper app to do the delete-old-binary-copy-in-new-one d

UITouch's function locationInView not working with iOS4.2‏ (cont)

2010-11-03 Thread Angelica Grace Tanchico
Hello, Why is it that UITouch's function locationInView not working with iOS4.2? I have a table view with a UISwitch on each cell and added an action for a value change event. It was successfully running with iOS4.1 and below but with iOS4.2, it is not working. According to logs, indexPath.r

UITouch's function locationInView not working with iOS4.2

2010-11-03 Thread Angelica Grace Tanchico
Hello, Why is it that UITouch's function locationInView not working with iOS4.2? I have a table view with a UISwitch on each cell and added an action for a value change event. It was successfully running with iOS4.1 and below but with iOS4.2, it is not working. Do you have any suggestion how