iOS: String Drawing

2011-07-11 Thread Development
Among the myriad of problems I'm having with this application a new one developed when I began adding a shadow to text. The default text shadows look terrible on iPhone. This I subclassed UILabel and did an override of drawTextInRect Well in order to draw with the correct colors I have had to do

Re: IOS graphics

2011-07-11 Thread Development
I was afraid of that… The only thing I found that gave me a clue on how to do that specifically, did a hard freeze on the phone when I attempted to implement it. On Jul 11, 2011, at 5:30 PM, Steve Christensen wrote: > The first thing I notice is that none of the CGContext* calls after > UIGrap

Re: Adding Spotlight comment data to folder/file

2011-07-11 Thread Greg Guerin
Kevin Muldoon wrote: Well, as I indicated, it's only a bit of icing on the cake. I'm just a bit shocked such an trivial task in a scripting language requires such heavy lifting in Obj-C (or more accurately, C). The Finder's "spotlight comment" is stored as an xattr attached to the file.

Re: Adding Spotlight comment data to folder/file

2011-07-11 Thread James Merkel
On Mon, 11 Jul 2011 19:51:28 -0700 Kyle Sluder wrote: Like I said, Apple designed that field for the sole use of the user. Not that your intended feature wouldn't be helpful, but a user who stumbled upon the output of your program occupying that slot might wrongly conclude that it exists for

Re: NSTextFieldCell Action Method Not Reaching Delegate?

2011-07-11 Thread Kyle Sluder
On Sat, Jul 9, 2011 at 1:14 AM, Vik Rubenfeld wrote: > I have an NSOutlineView with five columns.  I need to know which column > contains the NSTextFieldCell which is currently being edited.  To do that, I > thought I would connect the action method of the NSTextFieldCell to a method > in the N

Re: NSTextFieldCell Action Method Not Reaching Delegate?

2011-07-11 Thread Jens Alfke
On Jul 9, 2011, at 1:14 AM, Vik Rubenfeld wrote: > I have an NSOutlineView with five columns. I need to know which column > contains the NSTextFieldCell which is currently being edited. To do that, I > thought I would connect the action method of the NSTextFieldCell to a method > in the NSOu

Re: Gdata Google calander

2011-07-11 Thread Kyle Sluder
On Mon, Jul 11, 2011 at 3:20 AM, N@NDS.. wrote: > How to add GGdata Google calender to iphone project step by step This mailing list doesn't exist to do your work for you. If you'd like to ask questions, describe what your goals are and what you have tried, and subscribers may be able to poi

Gdata Google calander

2011-07-11 Thread N
How to add GGdata Google calender to iphone project step by step -- * Thanks & Regards, Anand Kr Yadav +91-8019768123  iPhone Developer * ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator commen

NSTextFieldCell Action Method Not Reaching Delegate?

2011-07-11 Thread Vik Rubenfeld
I have an NSOutlineView with five columns. I need to know which column contains the NSTextFieldCell which is currently being edited. To do that, I thought I would connect the action method of the NSTextFieldCell to a method in the NSOutlineView's delegate, which could check the Tag of the NSTe

CAOpenGLLayer content size

2011-07-11 Thread Takashi Mochizuki
How can I set static content size to CAOpenGLLayer? // Default CAOpenGLLayer keeps initial buffer size when addSubLayer: is called. And it does not update back buffer size even when layer is resized like: 1. addSubLayer to 200x200 2. resize layer to 400x400 3. layer only shows 200x200 area (kee

Re: Adding Spotlight comment data to folder/file

2011-07-11 Thread Kyle Sluder
On Mon, Jul 11, 2011 at 6:31 PM, Kevin Muldoon wrote: > Program is a drag/drop app that asks user for the work order number and > creates a directory structure customized for the client.  Submitted files > are copied into a date stamped folder within that job 'Supplied Folder'. > I thought it woul

Re: Adding Spotlight comment data to folder/file

2011-07-11 Thread Kevin Muldoon
Program is a drag/drop app that asks user for the work order number and creates a directory structure customized for the client. Submitted files are copied into a date stamped folder within that job 'Supplied Folder'. I thought it would be handy to place user name/computer name which used the

Re: IOS graphics

2011-07-11 Thread Steve Christensen
The first thing I notice is that none of the CGContext* calls after UIGraphicsBeginImageContext is referring to that image context so they are having no effect on it. You should move the UIGraphicsGetCurrentContext down after the [drawImage...] call. If you are still not able to get the desired

Re: Adding Spotlight comment data to folder/file

2011-07-11 Thread Kyle Sluder
On Mon, Jul 11, 2011 at 5:07 PM, Kevin Muldoon wrote: > Oh my dear lord above. I think I'll one line it with a scripting bridge call. > If it works. The bigger question is why you want to put stuff in this field? It's intended for the user. If you want to generate additional Spotlight data, you

Re: Adding Spotlight comment data to folder/file

2011-07-11 Thread Kevin Muldoon
Oh my dear lord above. I think I'll one line it with a scripting bridge call. If it works. On Jul 11, 2011, at 7:57 PM, Wim Lewis wrote: > > On 11 Jul 2011, at 12:05 PM, Kevin Muldoon wrote: >> Would like to get/set Spotlight comments into directories and files. I >> thought this would have be

Re: Adding Spotlight comment data to folder/file

2011-07-11 Thread Wim Lewis
On 11 Jul 2011, at 12:05 PM, Kevin Muldoon wrote: > Would like to get/set Spotlight comments into directories and files. I > thought this would have been the easy part. IIRC you can read them pretty easily as the kMDItemFinderComment metadata attribute. Setting them is harder. The comments are

Adding Spotlight comment data to folder/file

2011-07-11 Thread Kevin Muldoon
Would like to get/set Spotlight comments into directories and files. I thought this would have been the easy part. Kevin Muldoon e: caoimgh...@gmail.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or mod

Custom crop rect box in UIImagePickerViewController

2011-07-11 Thread Symadept
Hi, When choosing the image either through Camera or Saved Albums, there will a Squared rectangle of height 320x320. Is it possible for me to define the custom dimensions of this Box. I tried using overLayView. But that happens only for Camera and above 3.1 not for Saved Album photos. Regards sym

RE: Can we get command line arguments in applicationShouldHandleReopen?

2011-07-11 Thread Hirendra Rathor
OK, I will use apple events for this. Thanks Hirendra From: Jens Alfke [mailto:j...@mooseyard.com] Sent: Friday, July 08, 2011 9:28 PM To: Hirendra Rathor Cc: cocoa-dev@lists.apple.com Subject: Re: Can we get command line arguments in applicationShouldHandleReopen? On Jul 8, 2011, at 7:13 AM, H

Re: How to disable double tap on UIWebView

2011-07-11 Thread Stephane Sudre
Is it to disable zooming? Because there's apparently a property for that. On Mon, Jul 11, 2011 at 2:27 PM, Symadept wrote: > Hi, > > How can I disabe double tap on UIWebView. I tried to override touchesBegan > but it is not invoked. Any idea how can I fix this. ___

Re: IOS graphics

2011-07-11 Thread Development
Sorry I figured since it was only a sudo change anyway it wouldn't matter. UIImage * drawImage = rotatingView.image; CGContextRef context = UIGraphicsGetCurrentContext(); CGRect newRect = CGRectMake(0.0, 0.0, rotatingView.frame.size.width, rotatingView.frame.size.height); UIGra

Re: Help finding documentation about printing

2011-07-11 Thread Roland King
On 11-Jul-2011, at 11:05 PM, Christopher Henrich wrote: > > On Jul 10, 2011, at 12:48 PM, Joel Norvell wrote: > >> Hi Christopher, >> >> The documentation set on >> >> http://developer.apple.com/devcenter/mac/index.action >> >> has Apple's printing giude. >> >> The full URL to the printing

Re: Help finding documentation about printing

2011-07-11 Thread Christopher Henrich
On Jul 10, 2011, at 12:48 PM, Joel Norvell wrote: > Hi Christopher, > > The documentation set on > > http://developer.apple.com/devcenter/mac/index.action > > has Apple's printing giude. > > The full URL to the printing section is: > > http://developer.apple.com/library/mac/#documentation/C

Re: How to disable double tap on UIWebView

2011-07-11 Thread Evadne Wu
The best thing is to inject some JavaScript event handlers and prevent default actions. This is the cleanest way but I don’t know what happens if your user disables JavaScript. Again the web view wraps around a scroll view, so enumerating thru the view hierarchy and finding all the gesture rec

Re: On tapping Status bar scrolls to top in UIWebView content

2011-07-11 Thread Evadne Wu
Since the web view wraps around an UIScrollView, you might have luck finding that scroll view, then disabling the scrolling gesture from there. -ev On Jul 11, 2011, at 20:24, Symadept wrote: > Hi, > > I am facing an issue where once I tap on Status bar, scrolls my UIWebView > content to top. H

How to disable double tap on UIWebView

2011-07-11 Thread Symadept
Hi, How can I disabe double tap on UIWebView. I tried to override touchesBegan but it is not invoked. Any idea how can I fix this. Regards symadept ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderato

On tapping Status bar scrolls to top in UIWebView content

2011-07-11 Thread Symadept
Hi, I am facing an issue where once I tap on Status bar, scrolls my UIWebView content to top. How can I disable it. Regards symadept ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to t

Re: IOS graphics

2011-07-11 Thread Mike Abdullah
Giving us a link to the example code would be a big help in understanding what you're trying. On 11 Jul 2011, at 02:06, Development wrote: > Im having a problem with adjusting the color values of a UIImage. > > How does one adjust levels and color values of a UIImage. > The example code I found

HICocoaView and iTunes

2011-07-11 Thread Graham Cox
What's the current state of play regarding HICocoaView and so on? I'm looking to update an older iTunes visualizer project, which is written in C++ and uses Carbon APIs exclusively. iTunes is still a Carbon app isn't it? If that's still the case, what's the recommended way to allow the graphic a