Hi All,
Not sure if this is the right place (I am sure someone will let me
know if it is not) I have a iPhone application that has a UITable
view that is backed by core data. I want to perform a reducing search
so that only the items starting with the characters entered into the
search b
Tharindu,
I did this by subclassing UITableView and overriding - (void)
setBackgroundImage:(UIImage*)image
This gives me a static background that the tableView will scroll over
the top.
Next you need to create a custom cell for your messages and pop them
into the UItableView subclass in t
Hi all,
I may be way off but in my iPhone game I used SystemSoundID and
AudioServicesCreateSystemSoundID I am not sure if that is helpful at
all but it did not seem to have a delay but it does not support many
formats either. So if you are happy to convert your format this may
be an optio
Hi all,
Here is the dumb question for the day.
I have a coredata backed UITableView. I populate a NSFetchedResultsController
and use that to source the rows and sections etc. All works well.
That is until I go to delete an item from the table.
- (void)tableView:(UITableView *)tableView
commi
All,
I am building a library to be used by other apps. I have included the
json-framework in the library project and used the -ljson flag as directed. Now
this all works fine, until my app uses one of the JSON categories that the
library implements. if I add the json-framework to the app it wo
Hi All,
I have a problem with core data. Probably caused by my lack of understanding.
Below is the header file for the attribute I am bringing in from core data. I
want to add a convenience method to this class indicated as -
(ADDITIVE_WARNING_TYPE)returnAdditiveWarningByType below.
The issu
John,
I had a similar issue. For me the problem turned out to be that the
reusableId was not being set as it was imported from the nib. Thus the
call dequeue one was always retuning nil. I solved this by building
the cell by hand and calling the correct init method so the reusableid
was
Hi All,
I have a solution for this problem that I am not at all happy with. I have
appended all of my html form variables into a single variable using ||| as the
field separators. This is a rubbish solution. I am looking for a more elegant
solution that is less like a dodgy hack.
Here is the
Thanks Jason,
I knew it would be simple. Thank you so much.
Regards
Damien
On 10/01/2010, at 2:35 PM, Jason Foreman wrote:
>
> On Jan 9, 2010, at 9:31 PM, Damien Cooke wrote:
>
>> here is my code to send this data
>>
>
>> [appendedData appendData:[[
Hi All,
I have got a very frustrating problem. I am trying to upload video to youtube
using GData APIs and am having significant issues. I am sure one of you will
have done this previously and I hope you can assist me.
I have copied the cocoa sample and just put it in my code to get something
Hi All,
I have a situation where I am using a 3rd party library to manage content on
their service. When I delete an entry the method requires a call back all
good. Now I need to wait for that call back to be called to know if it was
successful or not. In the call back I can set a boolean to i
Hi all,
I have been deleting objects with code similar to this.
NSManagedObjectContext *context = [[self fetchedResultsController]
managedObjectContext];
[context deleteObject:videoEntity];
[managedObjectContext processPendingChanges];
//commit th
an you tell us
> whether the second cause for this error (not propagating the deletion into
> relationships) fits your case?
>
> — F
>
>
>
> On 30 Aug 2010, at 4:40 PM, Damien Cooke wrote:
>
>> I have been deleting objects with code similar to this
Hi All,
I have a perplexing yet, probably, very simple problem. I have a tableView
that when a cell is selected I pop in a different cell background (just a
little pizzazz) only problem is that it is all backfiring on me as my
willSelectRowAtIndexPath gets called fine and my funky image gets p
HI All,
I am attempting to write out an image as a movie well, it will be an array of
images but to start with I can't even get one in there. Any help diagnosing my
problem would be greatly appreciated.
Here is what I am doing:
//here is the image
NSString *path = [NSString
stringWithFormat:
Hi all,
I have a perplexing issue where I think I know the answer but can not make it
work
I have a custom UINavigation controller with a custom titlebar
This is achieved in the UINavigationController subclass in the -
(void)viewDidLoad
UIImageView *imageView = [[UIImageView alloc]
initWithF
All,
I am trying to put a public key into the ios keychain so I can get a SecKeyRef
to use to verify a signature.
Now the key loos like this:
-BEGIN PUBLIC KEY-
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqE28o7Rhg36oaTGpHgIY
n1OcRpwFaznSUriAxmvLymRvoVllB/Rbbd7Ap2ALg4hr8i+lZU9bBND9YYbJbp
t 1:31 PM, Damien Cooke wrote:
>
>> I am trying to put a public key into the ios keychain so I can get a
>> SecKeyRef to use to verify a signature.
>
> Oh dear. Any time I have to deal with the iOS keychain APIs I get either
> enraged or sick to my stomach or both. S
Hi all,
I am pulling my hair out here trying to replace the unicode (r) symbol with
\\00ea in a string. Is there a way of doing this as the NSString is a unicode
String so it is interpreting it. As convenient that might be to most people it
is killing me here.
Any suggestions?
Damien
I am a newbe to Cocoa so please be gentle, I have a NSTableView that
displays a list of books when clicked I capture the index and
determine which book has been selected, I have the cover images in a
database. To the right of the NSTableView I have an NSImageView, how
do I tell the NSImage
Hi all,
I need to be able to display either one or two images on the screen
and the choice is made by the user via a button. So I have built my
interface with three ImageWells one large ImageWell and also two 1/2
the size I want to be able to turn them on and off with a button but I
can f
ageView to change the images being displayed.
Mark Munz
On 6/1/08, Hamish Allan <[EMAIL PROTECTED]> wrote:
On Sun, Jun 1, 2008 at 11:07 PM, Damien Cooke
<[EMAIL PROTECTED]> wrote:
finding any other way of hiding them is eluding me.
NSImageView derives from NSView, which has a &quo
Hi,
Here is a dumb question for you :) It is actually more of an XCode
question so feel free to let me know if this is the wrong place. I
have built a project it has 2 targets one an executable and one a
dylib. They both compile fine. I need to link the executable against
the dylib but
Hi all,
When creating a splash screen what condition do you use to decide when
to close your splash screen? Is there some obvious event that is
triggered that I can use? do I use [window orderOut:self] to close it?
Or is there a better way?
Thanks and Regards
Damien
__
:
On 20 Jun '08, at 4:13 PM, Damien Cooke wrote:
When creating a splash screen what condition do you use to decide
when to close your splash screen? Is there some obvious event that
is triggered that I can use?
Your app delegate's -applicationDidFinishLaunching: method is
pr
I am getting the following error from this line NSData *data =
[NSArchiver archivedDataWithRootObject:viewItem];
-[DCOViewItem encodeWithCoder:]: unrecognized selector sent to
instance 0x17fa00
do I need to override this method below for my class DCOViewItem to
use the NSArchiver class?
(v
Hi all,
I have a window that has a custom NSTableView and an image cell. I
have used this [tableView setDoubleAction: @selector(doubleAction:)];
to set the double action. The issue is that I have a method in the
tableview that the window controller can use to determine if a double
click h
Hi All,
I want to be able to determine the value of the NSSlider whilst
sliding it. I am guessing I will have to subclass NSSliderCell but if
anyone has an example or some direction as to which methods I need to
override I would really appreciate it.
Regards
Damien
"We act as though c
value change while sliding "live". Did you mean
something else?
Graham
On 14 Jul 2008, at 9:02 pm, Damien Cooke wrote:
Hi All,
I want to be able to determine the value of the NSSlider whilst
sliding it. I am guessing I will have to subclass NSSliderCell but
if anyone has an
Hi all,
I have an NSTableView that lists names of images. I want to pop up a
thumbnail image as I roll the mouse over the cells. I thought I could
do this by sub-classing the NSTextFieldCell. However I am stumped as
to how to get it to acknowledge mouse events obviously I have not
enab
You could return like this
return [myWorkingMutableString copy];
This makes a immutable copy returning an NSString.
Regards
Damien
On 23/07/2008, at 2:24 PM, Steve Cronin wrote:
Folks;
I find if I have a method which returns an NSString for example,
that often, in the interior of that met
I am porting a tool from Java to Cocoa. I am reasonably new to XML
and I am having some difficulties.
my Items in the XML look like this:
Region="South Australia" MediaType="Photo">
multi-laned
non-water-based
I can easily get the keywords out but have found no wa
Hi all,
I have the following code:
typedef enum _DCDBTypes
{
DCOItemType = 0,
DCOCategoryType = 1,
DCORegionType = 2
}DCDBTypes;
It gives me this error message.
error: expected specifier-qualifier-list before 'typedef'
If I try to use it like this
- (void)setItemType
Hi all,
I have the following code:
typedef enum _DCDBTypes
{
DCOItemType = 0,
DCOCategoryType = 1,
DCORegionType = 2
}DCDBTypes;
It gives me this error message.
error: expected specifier-qualifier-list before 'typedef'
If I try to use it like this
- (void)setItemType
simple C program and it compiled no
problem. Is it possible that the error is in the previous
declaration to the typedef? Bear in mind it might be a problem in a
header file.
On 5 Jan 2009, at 10:49, Damien Cooke wrote:
Hi all,
I have the following code:
typedef enum _DCDBTypes
Hi All,
I have what is probably a stupid problem. In my window I have a
background NSImageView and I want to pop another much smaller one on
top. The one I am putting on top is a png with transparencies. When
I do this I get a rectangular image over my background but what I want
to see i
I create a new NSImageView and load it with the image then display the
NSImageView
Damien
On 06/02/2009, at 9:13 AM, Randall Meadows wrote:
On Feb 5, 2009, at 3:28 PM, Damien Cooke wrote:
Hi All,
I have what is probably a stupid problem. In my window I have a
background NSImageView and
only difference I think is
UIGraphicsGetCurrentContext)
On Feb 5, 2009, at 3:28 PM, Damien Cooke wrote:
Hi All,
I have what is probably a stupid problem. In my window I have a
background NSImageView and I want to pop another much smaller one
on top. The one I am putting on top is a png
Hi All,
I have a NSTableView in a dialogue box (NSPanel subclass) I am passing
in a value that I want to be the item that is selected when the
dialogue opens.
I fully populate the Datasource Array then I do this
//select the item passed in
for(unsigned arrayCounter = 0; arrayCounter < [diaM
Thanks Nick,
I moved all of my tableview population code to AwakeFromNib and it is
all working fine. Thanks so much.
Regards
Damien
On 16/02/2009, at 1:18 PM, Nick Zitzmann wrote:
On Feb 15, 2009, at 2:27 PM, Damien Cooke wrote:
This does not work and I was wondering if
1: can I
All,
I need to send email from my app. I have chosen EDMessage and added
the frameworks to my project but it fails with error 5 can not find
the EDCommon image. So I am told this is because the frameworks are
designed to be embedded within the project.
This is what I need some help with.
Hi all,
I have an arrangement of windows that I do not want the user to move.
What is the best way of doing this. There are several ways I thought
of but they are not very elegant. Can someone point me in the right
direction?
Regards
Damien
If you can't be kind, at least have the dec
Hi all,
In my application I have a main window with a few controls and 4 child
windows each contain an image.
When I maximise one of the child windows to full screen (depending on
which one) one or more of the other three stay in front. This is
clearly a window order issue. Is there a w
Hi All I resolved this by using:
[window setLevel: NSWindowLevel];
I hope this helps someone else out there.
Damien
On 06/12/2008, at 9:05 AM, Damien Cooke wrote:
Hi all,
In my application I have a main window with a few controls and 4
child windows each contain an image.
When I
Jushin,
What I have done in the past with these sort of issues is either load
the nib in the button pushed action or depending on how complicated
your secondary window is, you could programatically create it like this.
myWindow = [[NSWindow alloc] initWithContentRect:myRect
styleMask:NSTi
[myNewWindow makeKeyAndOrderFront:nil];
}
On 10/12/2008, at 12:16 PM, Damien Cooke wrote:
Jushin,
What I have done in the past with these sort of issues is either
load the nib in the button pushed action or depending on how
complicated your secondary window is, you could programatically
create it l
Hi All,
I am taking video on in my iPhone app at 1280x720 this turns out at about
40Mb/min What I want is to drop the bit rate not the size using
AVAssetWriter/AVAssetReader, is this possible or even the right way of doing
this?
I am able to get what I want by dropping the bit rate in an exter
Hi All,
I write a video app for the auto industry basically, you shoot several short
“segments” of your car and combine them then add a tune in the background. I
take them in 1280X720 and then resize them and add the audio using
AVFoundation. I store all the files I save into Documents/video a
23 Feb, 2014, at 7:19 am, Jens Alfke wrote:
>
>>
>> On Feb 22, 2014, at 2:07 PM, Damien Cooke wrote:
>>
>>> The problem is the app is gaining about 200Mb after each movie and the only
>>> cure is to delete the app. Where is this all going if I write al
Hi All,
In our specific market video app we take videos and merge them together and
they are used for advertising. We can add music or a voice over to the video
before publishing. Now we have a way of adding a intro to the video that was
previously kept in the photo roll.
The issue is if we h
50 matches
Mail list logo