I am trying to capture live video. For displaying live video i am
using QTCaptureLayer. It works fine with a USB Camera but as soon as
Firewire camera is use flickering starts happening. When i use the
QTCaptureView it works fine. Any suggestion where i am going wrong or
its a bug with QTC
On Jan 21, 2009, at 1:59 PM, Keith Blount wrote:
So, my question is: is there a way of telling the Help menu to
ignore certain menus when it does this search each time it is
clicked on?
No, there's no way to avoid indexing of your menus, sorry. Please file
a feature request describing wh
On Wed, Jan 21, 2009 at 6:30 PM, David Blanton wrote:
> On Jan 21, 2009, at 3:15 PM, David Blanton wrote:
>
>> Are distributed objects analogous to OCX in Windows?
>
> Of couse they are you idiot!
>
> In fact, since the Objective-c runtime is what supports distributed objects
> and since Objective
So, I still haven't had any luck figuring this problem out. However,
upon reading through the code of the Source View example, I'm
wondering if it has something to do with the fact that I'm using an
NSTreeController bound to a Core Data structure with
ImageAndTextCell. Source View uses an
Can a custom NSControl/NSCell combo be used in a normal NSView?
Paul Franz
Scott Ribe wrote:
You probably need a custom NSCell subclass, and you'll set that to be the
cell class used by the browser.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple
Add _tableScrollView to _browserScrollView
Gah! Why?
Why not?
Because a scroll view only has one view you should be manipulating,
the scroll view's document view:
"NSScrollView instances provide scrolling services to its document
view. This is the only view that an application must
One possibility that answers the following question which is similar
to yours:
"When I drag the scroll bar, the view scrolls appropriately. When I
click in the empty space
beside the scroll bar, the view scrolls appropriately. When I click
on the scroll arrows, they highlight, but the view d
On 21-Jan-09, at 6:23 PM, David LeBer wrote:
I have a sign in window that implements a simple CAKeyframeAnimation
to perform a shake if the sign in fails using the NSWindow's
animator proxy object.
i.e.
[self setAnimations:[NSDictionary dictionaryWithObject:[self
shakeAnimationWithNumb
Hey Kyle,
Thanks for the suggestion. Can you tell me more about this idea. It
doesn't look like I can set an NSButton's NSButtonCell and
NSButtonCell isn't a child of NSView so I can't draw it directly as a
sub view. Once I have my sub class of NSButtonCell how do I render
into onto the screen.
T
Michael,
two things:
1) Check out the Quartz Composer Programming Guide. The section
"Publishing Ports and Binding Them to Controls" takes about QC ports
and how your program can communicate with active compositions
2) Check out the doc for the QCComposition class. One of the
standar
I tried searching the archives, and did see a few people asking
something similar, but they were using an NSScroller without an
NSScrollView. I am using an NSScroller inside a plain NSScrollView
created using IB, and the scroll buttons highlight when clicked, but
for some reason, the view d
Of couse they are you idiot!
In fact, since the Objective-c runtime is what supports distributed
objects and since Objective-c runtime was around before OCX it is
actually true that OCX is analogous to distributed objects!
Voila! Another smash for NeXT / Apple against Windows!
On Jan 21,
I have a sign in window that implements a simple CAKeyframeAnimation
to perform a shake if the sign in fails using the NSWindow's animator
proxy object.
i.e.
[self setAnimations:[NSDictionary dictionaryWithObject:[self
shakeAnimationWithNumber:4 duration:0.5f vigour:0.03f]
forKey:@"fram
On Wed, Jan 21, 2009 at 1:15 PM, Kyle Sluder wrote:
> On Wed, Jan 21, 2009 at 2:58 PM, Robert Kukuchka wrote:
>>I'm looking into logging frameworks and see references to this
>> project. Does anyone know if this project is still running? I was hoping to
>> find some examples of how to get
Hey
Thanks Jean-Daniel Dupas, your 'untested' code works brilliantly!
Really appreciate it man. Thanks to everyone else who helped with this topic.
Cheers
Alex Mills
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requ
Apparently this Log4Cocoa project is based off of a Java project which
is highly configurable. I'm trying to do an evaluation on the code
from SF: http://sourceforge.net/projects/log4cocoa/
Files were updated in 08, but mailing list last updated in 06. Not
sure if it's dead or what...
On 2
Are distributed objects analogous to OCX in Windows?
David Blanton
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.app
Hi,
I've looked in the docs but I can't find the answer to this; I've also searched
the archives but I may be using the wrong search terms.
Under Leopard, when you click on the Help menu, before appearing it seems to
search through all the menus of the app to see if any items match the term on
On Wed, 21 Jan 2009 14:56:34 -0600 Alex Kac wrote:
> Use the delegate I gave you and format it there. UITextField does not
> accept formatters. Look at the docs - all the answers are right there.
> Here is how I do it:
>
> Type in the class in the dev doc window. Set it to only show the
> iPhone O
On 21 Jan 2009, at 21:40, Robert Kukuchka wrote:
I was hoping to find something with built in log level support and
non-recompile options to turn logging modules on / off
On .NET you can accomplish this with the Enterprise Library Logging
Application Block, which is very highly configurabl
It's better than NSLog(), but as I replied previously was looking for
something with built in log level and ways to reconfigure logging
without recompile
On 21-Jan-09, at 1:23 PM, jonat...@mugginsoft.com wrote:
On 21 Jan 2009, at 21:15, Kyle Sluder wrote:
On Wed, Jan 21, 2009 at 2:58 PM, R
I was hoping to find something with built in log level support and non-
recompile options to turn logging modules on / off
On 21-Jan-09, at 1:15 PM, Kyle Sluder wrote:
On Wed, Jan 21, 2009 at 2:58 PM, Robert Kukuchka
wrote:
I'm looking into logging frameworks and see references to this
I don't know for sure the answer to whether or not the Quartz Composer
filters are the same as what Core Image gives you, but I would bet
they are. Have you seen this reference?
http://developer.apple.com/DOCUMENTATION/GraphicsImaging/Reference/CoreImageFilterReference/Reference/reference.htm
On 21 Jan 2009, at 21:15, Kyle Sluder wrote:
On Wed, Jan 21, 2009 at 2:58 PM, Robert Kukuchka
wrote:
I'm looking into logging frameworks and see references to this
project. Does anyone know if this project is still running? I was
hoping to
find some examples of how to get things setu
On Wed, Jan 21, 2009 at 2:58 PM, Robert Kukuchka wrote:
>I'm looking into logging frameworks and see references to this
> project. Does anyone know if this project is still running? I was hoping to
> find some examples of how to get things setup. Anyone here use it within a
> commercial ap
Use the delegate I gave you and format it there. UITextField does not
accept formatters. Look at the docs - all the answers are right there.
Here is how I do it:
Type in the class in the dev doc window. Set it to only show the
iPhone OS 2.2 docs. Contains. Full Text. It shows me immediately
On Jan 21, 2009, at 3:48 PM, Brooke Gravitt wrote:
This was what I was thinking I might do.
Glen is correct, though; I was wrong about there being a formatter
property on UITextField. You can still do this, but you'll have to
apply the formatter manually using the
UITextFieldTextDidChan
It shouldn't be necessary to do any cursorRects management if you're
not using them yourself. Something is calling resetCursorRects (or a
similar method), and NSScrollView is dutifully paying attention.
I've played with subclassing NSScrollView and NSClipView, so as to
suppress resetCurso
On Wed, Jan 21, 2009 at 3:31 PM, Nick Zitzmann wrote:
>
> You could always attach the formatter manually, like this: (written in Mail,
> untested, use at your own risk, and all that)
>
> - (void)awakeFromNib
> {
>NSNumberFormatter *formatter = [[[NSNumberFormatter alloc] init]
> autoreleas
On Jan 21, 2009, at 10:34 AM, Chunk 1978 wrote:
what is the proper way to update the menu bar after switching the view
of the app's menu bar extension? force quit the SystemUIServer? or
actually just quit the SystemUIServer? or is there a more common
method to updating the menu bar?
I thin
On Jan 21, 2009, at 2:31 PM, Nick Zitzmann wrote:
On Jan 21, 2009, at 3:06 PM, Brooke Gravitt wrote:
The good news is I'm not a *complete* idiot, as it appears the option
just isn't there for the iPhone/iTouch.
Bad news is I *still* have no clue how to do what I'd like to.
I'm going to dig
On Jan 21, 2009, at 10:34 AM, Chunk 1978 wrote:
what is the proper way to update the menu bar after switching the view
of the app's menu bar extension? force quit the SystemUIServer? or
actually just quit the SystemUIServer? or is there a more common
method to updating the menu bar?
Do what
On Jan 21, 2009, at 3:06 PM, Brooke Gravitt wrote:
The good news is I'm not a *complete* idiot, as it appears the option
just isn't there for the iPhone/iTouch.
Bad news is I *still* have no clue how to do what I'd like to.
I'm going to dig into the docs again, but if anyone can clue-bat me
i
Ah, I was thinnking of Number Pad. But if you need Numbers and
Punctuation, just implement the delegate
textField:shouldChangeCharactersInRange:replacementString: and make
sure the only characters are numbers.
On Jan 21, 2009, at 2:13 PM, Brooke Gravitt wrote:
On Wed, Jan 21, 2009 at 3:0
On 21 Jan 2009, at 1:34 PM, jonat...@mugginsoft.com wrote:
Googling with search terms of - NSDocument tabs site:www.cocoabuilder.com
109 hits, item 13 looks promising:
Cocoabuilder - (Jacob Lukas) multiple documents, single window
which in turn references
CocoaDev: DocumentBasedAppWithOneWin
On Wed, Jan 21, 2009 at 3:04 PM, Alex Kac wrote:
> Check the Numbers only flag in the IB palette.
>
So my options are ( if I'm looking in the right place ) on the Text
Field Attributes tab on the inspector, Text Input Traits panel
Keyboard Type:
Default
ASCII Capable
On Wed, Jan 21, 2009 at 2:58 PM, Andy Lee wrote:
> 3.1.2. But Alex Kac just posted a relevant note... I had no idea IB was
> different for the iPhone/Touch.
>
> --Andy
The good news is I'm not a *complete* idiot, as it appears the option
just isn't there for the iPhone/iTouch.
Bad news is I *s
Check the Numbers only flag in the IB palette.
On Jan 21, 2009, at 1:57 PM, Brooke Gravitt wrote:
On Wed, Jan 21, 2009 at 2:50 PM, Alex Kac wrote:
If you're on the iPhone, there is no IB formatters. I only mention
that
because of your comment about touch input.
There we go! So any idea ho
Hello,
I'm looking into logging frameworks and see references to this
project. Does anyone know if this project is still running? I was
hoping to find some examples of how to get things setup. Anyone here
use it within a commercial application? Our Mac team is small, so if I
don't have to
If you're on the iPhone, there is no IB formatters. I only mention
that because of your comment about touch input.
On Jan 21, 2009, at 1:21 PM, Brooke Gravitt wrote:
On Wed, Jan 21, 2009 at 12:44 PM, Peter Hudson wrote:
In IB in the Library panel, just below half way down there is a
sym
On Jan 21, 2009, at 2:03 AM, Martin F. Carianni wrote:
Now, this prints the PDFVIEW without the subview, prints just the
model from the PDFDocument.
As you observe, calling the print method in PDFView renders the PDF
document ... not the PDFView content.
If the PDF is a single page you ca
On Jan 21, 2009, at 10:49, Luke Evans wrote:
I tried the trojan horse NSCursor subclass. The backtrace is:
(gdb) backtrace
#0 -[TraceCursor set] (self=0x13b5a0, _cmd=0x96c69d34) at /Users/
luke/Projects/TableTester/TraceCursor.m:24
#1 0x911d85ce in _handleInvalidCursorRectsNote ()
#2 0x93
On 21 Jan 2009, at 18:38, Fritz Anderson wrote:
On 21 Jan 2009, at 9:42 AM, Ross Carter wrote:
Can someone give me a hint how can I switch one window per
document model (that currently works as expected thanks to
NSDocument) to one tab per document, same window?
This is answered in the a
On Wed, Jan 21, 2009 at 12:44 PM, Peter Hudson wrote:
> In IB in the Library panel, just below half way down there is a symbol
> on the left hand side which is a dollar sign ( and a calendar symbol
> next to it ) which is the number formatter. Click this and drag it
> to the text field - and d
Hi Ken,
On 17.01.2009, at 17:51, Ken Thomases wrote:
On Jan 16, 2009, at 2:06 AM, Alexander Reichstadt wrote:
@implementation KSingleItemSelectorController
#pragma mark -
#pragma mark Init+Dealloc
+ (id)selectItemUsingFenstertyp:(NSString *)aFenstertyp
withComposition:(NSString *)aKomposit
If you're devious enough, you might be able to set a breakpoint
where NSScrollView is setting the cursor. (You could try, for
example, to subclass NSCursor using an image you supply, with an
override of setCursor: that just calls super. Then pass a cursor of
your subclass to setDocumentCu
On Jan 20, 2009, at 2:08 AM, Kishore Gedela wrote:
Hi All,
I'm working on a presentation application which will animate given
images with a specified transition. I'm using CALayer to animate/
display the images.
When animating/displaying large sized images I'm getting a white
screen with
I also just found this bit in the docs:
http://developer.apple.com/documentation/Cocoa/Conceptual/LoadingResources/CocoaNibs/chapter_3_section_4.html#//apple_ref/doc/uid/1051i-CH4-SW18
Nib Object Retention
iPhone OS - managed memory model
Objects in the nib file are created with a retain cou
On 21 Jan 2009, at 9:42 AM, Ross Carter wrote:
Can someone give me a hint how can I switch one window per document
model (that currently works as expected thanks to NSDocument) to
one tab per document, same window?
This is answered in the archives. Search cocoabuilder.com for
document win
what is the proper way to update the menu bar after switching the view
of the app's menu bar extension? force quit the SystemUIServer? or
actually just quit the SystemUIServer? or is there a more common
method to updating the menu bar?
___
Cocoa-dev m
On Jan 21, 2009, at 11:25 AM, Adam Venturella
wrote:
I have seen this same behavior too, creating @properties for IBOutlets
on the iPhone. I have yet to run into a problem not
@property/@synthsizeing my Outlets on the iPhone, everything seems to
work just fine if you don't. So am I missing
On Tue, Jan 20, 2009 at 9:17 PM, Michael Vannorsdel wrote:
> I've looked into this quite some time ago and have seen NSURLConnection
> keep FTP and HTTP connections open even after the originating
> NSURLConnection had been deallocated. The same connection was reused for
> subsequent NSURLConnect
Answered my own question re the dealloc here:
Important: You are responsible for releasing the top-level objects of
any nib files you load when you are finished with those objects.
Failure to do so is a cause of memory leaks in many applications.
After releasing the top-level objects, it is a good
I have seen this same behavior too, creating @properties for IBOutlets
on the iPhone. I have yet to run into a problem not
@property/@synthsizeing my Outlets on the iPhone, everything seems to
work just fine if you don't. So am I missing something? And am I
correct in assuming you would then be
On Jan 21, 2009, at 1:12 PM, Shawn Erickson wrote:
On Wed, Jan 21, 2009 at 10:04 AM, Matt Gough
wrote:
Are there any notifications that get sent when a window is ordered
out (as
opposed to closing)? I have a button subclass that needs to know
when its
parent window is hidden. I was hoping
On Jan 21, 2009, at 9:27 AM, Kenneth Bruno II wrote:
On Jan 21, 2009, at 12:04 PM, mmalc Crawford wrote:
When I no longer need it I'll just call release on the object,
this would most likely be done in the dealloc method of the class
in which I initialized my object.
As a general statement
I'd like to access programmatically the quartz composer image
filters(just like it's done in the Automator script "Apply Quartz
Composition Filter to Image Files). How do I do this? Are they really
just CIFilters of a particular category?
Michael
___
Co
On Wed, Jan 21, 2009 at 1:04 PM, Matt Gough wrote:
> Are there any notifications that get sent when a window is ordered out (as
> opposed to closing)? I have a button subclass that needs to know when its
> parent window is hidden. I was hoping that a [MyButton viewDidHide] override
> would catch t
On Wed, Jan 21, 2009 at 10:04 AM, Matt Gough wrote:
> Are there any notifications that get sent when a window is ordered out (as
> opposed to closing)? I have a button subclass that needs to know when its
> parent window is hidden. I was hoping that a [MyButton viewDidHide] override
> would catch
Why not?
On Jan 21, 2009, at 10:54 AM, Kyle Sluder wrote:
On Wed, Jan 21, 2009 at 11:48 AM, David Blanton
wrote:
Add _tableScrollView to _browserScrollView
Gah! Why?
--Kyle Sluder
David Blanton
___
Cocoa-dev mailing list (Cocoa-dev@l
Are there any notifications that get sent when a window is ordered out
(as opposed to closing)? I have a button subclass that needs to know
when its parent window is hidden. I was hoping that a [MyButton
viewDidHide] override would catch these, but that isn't getting called
when the window
On Tue, Jan 20, 2009 at 5:30 PM, Graham Cox wrote:
> When the nib is loaded, the accessor is used rather than setting the ivar
> directly (as per Mac)
To be clear NIB loading on Mac OS X will use a setter if one exists
(assuming a name match)...
Outlet connections
In Mac OS X, the nib-loading
I have an NSButton subclass which sets the cursor to the
pointingHandCursor whenever the mouse is over it. This button is in an
NSPanel (Utility-styled).
@implementation PointingHandButton
-(void)resetCursorRects
{
[self addCursorRect:[self bounds] cursor:[NSCursor
pointingHandCursor]];
On Wed, Jan 21, 2009 at 11:48 AM, David Blanton wrote:
> Add _tableScrollView to _browserScrollView
Gah! Why?
--Kyle Sluder
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Not in the sense you get from the Windows platform whereby setting a flag on
the parent window causes everything to automatically jump to the opposite
side of the window and lay itself out right-to-left. Such alignment
requires a different layout (NIB/code/etc.), although with controls like
check
In IB in the Library panel, just below half way down there is a symbol
on the left hand side which is a dollar sign ( and a calendar symbol
next to it ) which is the number formatter. Click this and drag it
to the text field - and drop it on it. Once the formatter is applied
to the text
Mike,
On Tue, Jan 20, 2009 at 8:45 PM, Michael Ash wrote:
> On Tue, Jan 20, 2009 at 7:49 PM, Mohan Parthasarathy
> wrote:
> >> Is there a way to not to allocate the connection everytime i need to
> send
> > a new request ?
> >
>
> Yes. I'm pretty sure that the URL loading fr
On Jan 21, 2009, at 12:04 PM, mmalc Crawford wrote:
On Jan 21, 2009, at 7:07 AM, Kenneth Bruno II wrote:
When I no longer need it I'll just call release on the object, this
would most likely be done in the dealloc method of the class in
which I initialized my object.
As a general stat
Search for http://h4xr.org/59qy and drag-drop the left one into your
NSTextField.
Jelle
On 21 Jan 2009, at 17:14, Brooke Gravitt wrote:
On Wed, Jan 21, 2009 at 11:07 AM, I. Savant
wrote:
See NSNumberFormatter.
Thanks for the RTFM.
It looks like you can no longer get an NSNumberFormat
I haven't used a formatter myself, but I typed "formatter" in the
search field of the Library window in IB, and it gave me three kinds
of formatter object I could drag and drop, including NSNumberFormatter.
--Andy
On Jan 21, 2009, at 11:14 AM, Brooke Gravitt wrote:
On Wed, Jan 21, 2009 at 1
On Jan 21, 2009, at 7:07 AM, Kenneth Bruno II wrote:
On Jan 21, 2009, at 9:23 AM, James Cicenia wrote:
First of all, you probably should just use the localized list of
month names that you can get through NSDateFormatter:
NSDateFormatter *aFormatter = [NSDateFormatter new];
NSAr
Gami,
To handle two input devices separately, as long as at least one of tehm is a
tablet type of device (such as a Wacom tablet), you can etst the value of
deviceId in the NSEvent that accompanies the mouseDragged, mouseDragged and
mouseUp methods you override in your NSView subclass (assuming th
Tharindu,
you need to look at NSNumberFormatter in Cocoa, which will be able to
do this for you.
Sanjay Samani
DayTime Software
http://daytimesoftware.com
On 21 Jan 2009, at 11:59, Tharindu Madushanka wrote:
Hi
I have float variables that stores my currency values, I want to
display
thes
Hi all,
I have a UITableView where, sublcassing UITableViewCell, I made a
custom cell. This custom cell is made of a UIImageView and some
UILabel. This UITableView it's made with IB in a specific .xib with a
custom UITableViewController as File's owner.
I also need to make cell height custom so I'
Given an NSMatrix enclosing scroll view, _browserScrollView
Given an NSTableView enclosing scroll view, _tableScrollView
Add _tableScrollView to _browserScrollView
[_browserScrollView addSubview:_tableScrollView];
When the user switches from NSMatrix to NSTableView run this code:
Hello the list,
The idea is to use an application who needs RTL ( e.g. arabic or
hebrew) and the question is : is there any mirroring in the UI ?
After searching a while, we found no mention of that in the Aqua
Human Interface Guideline.
Thanks in advance for any hint :-)
Eric Bachard
On Jan 21, 2009, at 2:30 AM, Quincey Morris wrote:
So this is not the only place that really needs just a little bit of
clarifying wording.
So just copy and paste what you just wrote into a bug report.
mmalc
___
Cocoa-dev mailing list (Cocoa-de
On Wed, Jan 21, 2009 at 11:07 AM, I. Savant wrote:
> See NSNumberFormatter.
Thanks for the RTFM.
It looks like you can no longer get an NSNumberFormatter from the
Views pane in Interface Builder & wire it up as was ( recent? )
convention. Is there still a way to do this? I'm not even sure how
On Wed, Jan 21, 2009 at 10:40 AM, Brooke Gravitt wrote:
> How do you prevent an NSTextField from accepting anything aside from
> numbers? Or will I need to code up a solution to remove text from the
> field automatically? Display a dialog & clear the contents?
See NSNumberFormatter.
--
I.S.
__
On Jan 21, 2009, at 9:07 AM, Kenneth Bruno II wrote:
NSDateFormatter *aFormatter = [NSDateFormatter new];
NSArray *listOfMonthNames = [[aFormatter standaloneMonthSymbols]
retain];
One small error here, I should have added this line after these two in
order to properly release
Can someone give me a hint how can I switch one window per document
model (that currently works as expected thanks to NSDocument) to one
tab per document, same window?
This is answered in the archives. Search cocoabuilder.com for document
window tabs
___
How do you prevent an NSTextField from accepting anything aside from
numbers? Or will I need to code up a solution to remove text from the
field automatically? Display a dialog & clear the contents?
Thanks,
Brooke
___
Cocoa-dev mailing list (Cocoa-dev@l
WebKit has a full Obj-C DOM API which you can access starting at -
[WebFrame DOMDocument]
From there it should be fairly easy to locate your iframe and grab
it's inner HTML.
Mike.
On 21 Jan 2009, at 13:56, Alex Mills wrote:
Hey,
The Javascript based editor is here
http://www.alexmillsdesi
You just need to know basic C and follow the very simple rules and not
needlessly complicate things.
- initWithObjects gives a perfectly good (and already retained)
array--there's no need to put it into a temp variable and then try to copy
it
- if listOfMonthNames is nil, then you would need to a
Thanks that helped a lot and clarified something I suspected.
James
On Jan 21, 2009, at 9:07 AM, Kenneth Bruno II wrote:
On Jan 21, 2009, at 9:23 AM, James Cicenia wrote:
Here is some code I wrote for the appdelegate to initialize some
dictionaries and arrays:
My main question has to do wit
In addition to Kenneth Bruno's suggestion, there is also the Data
Formatting guide:
http://developer.apple.com/documentation/Cocoa/Conceptual/DataFormatting/DataFormatting.html
hth,
Rob
On Jan 21, 2009, at 12:59 PM, Tharindu Madushanka wrote:
Hi
I have float variables that sto
On Jan 21, 2009, at 9:23 AM, James Cicenia wrote:
Here is some code I wrote for the appdelegate to initialize some
dictionaries and arrays:
My main question has to do with memory and releasing it. In my app
I will need listOfMonthNames for my popups
and will also need dictionaryOfProduceType
Hello -
I am new to iphone and objective-c etc.
Here is some code I wrote for the appdelegate to initialize some
dictionaries and arrays:
My main question has to do with memory and releasing it. In my app I
will need listOfMonthNames for my popups
and will also need dictionaryOfProduceTypes
Completly untested:
NSString *content = [[myWebView windowScriptObject]
evaluateWebScript
:@"document.getElementById('box').contentDocument.body.innerHTML"];
And more info about Obj-C/JS integration at:
http://developer.apple.com/documentation/Cocoa/Conceptual/DisplayWebContent/Tasks/JavaSc
Hey,
The Javascript based editor is here
http://www.alexmillsdesign.com/Developer/FernEngine/Default.htm
>From Cocoa I want to get the 'innerHTML' from the iFrame and store it in a
>NSString.
What would be the best way of accomplishing this?
Cheers Guys, very much appreciated your help so fa
All,
I'm having trouble getting a CALayer to resize automatically to fill
its superlayer. I have the following code snippet:
layer = [CALayer layer];
layer.layoutManager = [CAConstraintLayoutManager layoutManager];
layer.autoresizingMask = kCALayerWidthSizable |
kCALayerHeightS
On Jan 21, 2009, at 6:59 AM, Tharindu Madushanka wrote:
I have float variables that stores my currency values, I want to
display
these values in a string with commas at each 3 digits, can I do it
with
Objective C. I am new to the language. Please help me to solve this.
For example, float ft
Hi
I have float variables that stores my currency values, I want to display
these values in a string with commas at each 3 digits, can I do it with
Objective C. I am new to the language. Please help me to solve this.
For example, float ft = 12333.8905;
NSString *strFloat = [NSString stringWithForma
Well, pretty much as the message says, a colour object is unsuitable
for inclusion in a property list. I suggest you instead serialise it
to an NSData object using NSKeyedArchiver/Unarchive.
Mike.
On 21 Jan 2009, at 09:31, Jonathan Selander wrote:
I use a QCCompositionParameterView to manip
Hi all,
I have a NSDocument based application, that seem to work ok for a case
of one-two opened documents. However common usage pattern means, that
an user would have 4-5 documents open at the same time requiring often
use. I consider switching to tabbed interface model, but I'm somewhat
I've a PDFView (built in IB) with a loaded PDFDocument containing a
form. I want to compile the form with a bunch of textfields already
populated.
PDFDocument *model = [[PDFDocument alloc] initWithData:[NSData
dataWithContentsOfFile:@"/Users/neospiez/Desktop/model.pdf"]];
NSTextF
I'm writing a pyobjc document-based cocoa application, but i think my
question relates to cocoa framework rather than on programming language, so
i post it here.
The application is a digital signature client that should be able to sign
any file type producing a .p7m file.
Apllication will support
I am trying to capture live video through a fire wire camera. and for
displaying live video i am using QCCaptureLayer. it works fine with a
USB Camera but as soon as Firewire camera is use flickering starts
happening. Any suggestion where i am going wrong or its a bug with
QCCaptureLayer..
On Jan 21, 2009, at 01:11, mmalc Crawford wrote:
It's not clear why this is any more satisfactory than the previous...
It's just that the previous one appeared to be talking about what to
implement, not what to call. *That* is only an issue because the main
text at
http://developer.appl
On 21 Jan 2009, at 08:50, Jean-Daniel Dupas wrote:
iTunes contains a full list of iPod icon (in iTunes.rsrc). Could it
be responsible to set the iPod icon ?
A convenient way to browse this resource is with ThemePark. Goto menu
File - Open Special - iTunes.rsrc
http://www.geekspiff.com/so
1 - 100 of 111 matches
Mail list logo