Hi,
I've got an app that I write for myself (I am the only user). I made a mistake
when creating the datamodel in xcode 3 (targeting 10.5), I used description
as an attribute name. I have now upgraded and the current xcodes do not like
the project file at all.
I've got quite a lot of data in
Hi,
I've got an app that is a custom app for me and my home business, it's
not something commercial. It's a core data app and some of the
entities have images associated with them. The images themselves are
stored separately, and the coredata datastore stores the reference to
them.
2012, at 20:35, Jens Alfke j...@mooseyard.com wrote:
On Mar 3, 2012, at 5:17 AM, Amy Heavey wrote:
I thought I would do this by analysing each image as it is saved and
calculate the most common pixel colours, probably by analysing each pixel in
the image? and saving the most common colours
at the hillegass book there should
be a .framework file for me to link to but I can't find one. I also
can't find any documentation about how to use this. Can anyone point
me in the right direction? Either for using ConnectionKit or how else
to simply ftp a file to a server?
Many Thanks
Amy
what image has been selected?
I'd appreciate any help,
Many Thanks
Amy
On 5 Jul 2011, at 5:07PM, Jens Alfke wrote:
On Jul 4, 2011, at 10:55 PM, Amy Heavey wrote:
Is there a way to get the selected item in a webview?
I've got a webview in my app, and I'd like to select an image
Hi,
Is there a way to get the selected item in a webview?
I've got a webview in my app, and I'd like to select an image and
download it.
Many Thanks
Amy
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or
Hi,
I'm trying to acccess a decimal attribute of an entity, and I can't
work out why it's not working. I'm using the code below;
NSString *price = [[product valueForKey:@kitFee] stringValue];
and I get this error:
2011-06-21 12:43:34.666 ishop[30901:10b] *** -[NSCFArray stringValue]:
I hope this appropriate for this list, if not please accept my
apologies.
I've got a fairly basic core data app that I've written for personal
use on my iMac. I'd like to have an iPad version as it would be very
useful to have whilst I was mobile. (It's basically a customer/product
Joyce wrote:
On Jun 3, 2011, at 1:04 PM, Amy Heavey wrote:
I hope this appropriate for this list, if not please accept my
apologies.
I've got a fairly basic core data app that I've written for
personal use on my iMac. I'd like to have an iPad version as it
would be very useful to have
complicated than I'm
looking for. I'm expecting to effectively have the componant images
fan out on the canvas.
If anyone could help me with the process I'd be grateful, do I have to
create a intermediary image to make the rotated image square?
Thanks,
Amy
Many Thanks
Amy Heavey
Willow Tree
Hi Everyone,
I was wondering if anyone could point me in the right direction for my
problem?
I'm working on a core data application, and in this issue I have 2
entities, product and category. They have a many to many relationship.
In my interface I want to have a list of all the
Hi,
I've got 3 entities, Event, CustomerOrders and CustomerORderITems.
Events has a to many relationship (eventOrders) to CustomerOrders
CustomerOrders has a to many relationship (customerOrderItems) to
CustomerOrderItems
I'd like to be able to list all of the CustomerOrderItems for a
I've got the following code that is almost identical to code I've got
in another app. The other app works, this one doesn't. The only
difference between the two is the variable names;
- (IBAction)addItemsToOrder:sender;{
NSObject *order;
order = [[Orders selectedObjects]
I've got a core data app that has 2 entities, product and status, and
a relationship between them.
I'll be importing and updating some of the data in the app from csv
files supplied from an outside source. The 'status' is just given as a
string. There are 3 options, Low Stock, Out of
Thanks
Amy Heavey
___
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.apple.com
Help/Unsubscribe/Update your Subscription
= [imageLoop nextObject])) {
NSImage *img = [[NSImage alloc]initWithContentsOfFile:imgPath];
[targetImage lockFocus];
[img drawInRect:NSMakeRect(x,y,75,75) fromRect:NSMakeRect(20,20,0,0)
operation:NSCompositeCopy fraction:1];
Thanks
Amy Heavey
I've got two float values (x and y) that I'm using to change the
coordinates of a drawing action that is being looped through. I can
add a value to x and it draws the next image along, but I want to test
the value of x and if it is out of bounds I want to reset it to zero
and increase y,
I've got two float values (x and y) that I'm using to change the
coordinates of a drawing action that is being looped through. I can
add a value to x and it draws the next image along, but I want to test
the value of x and if it is out of bounds I want to reset it to zero
and increase y,
Thanks for all the help everyone, I'll take a look at it all, and
release where I need to!
Many Thanks
Amy
On 5 Oct 2010, at 4:17PM, Matt Neuburg wrote:
On Tue, 5 Oct 2010 10:17:31 +0100, Amy Heavey a...@willowtreecrafts.co.uk
said:
//select all images for kit
NSArray* kitImages
Got it working, Part of my issue seemed to be my logic.
300 is the bounds of my target image, and I have planned it so images
fit inside this, so x would end up being 300. In a stupid moment, I
set the if statement to run if x300, which initially it wouldn't be
as it would actually equal
My app has a secondary view that appears when I click a button (to do
another task) it works fine most of the time. It's a core data app
that uses an xml file store.
I've started adding data so there's now maybe 1000 instances of an
entity in it, and I've not started adding other entities
and start all over again,
Amy
On 5 Oct 2010, at 20:59, Ken Thomases wrote:
On Oct 5, 2010, at 1:55 PM, Amy Heavey wrote:
Now when I click the button the focus goes from the main window but
the second window doesn't appear. If I move the data file it works
fine. Have I just overloaded it already
in
/Users/user/yourapp/Application Support, it looks:
NSString *appSupport = NSBundle mainBundle] bundlePath]
stringByDeletingLastPathComponent] stringByAppendingPathComponent:
@Appication Support];
2010/9/29 Amy Heavey a...@willowtreecrafts.co.uk
I'm writing an app for personal use
= NSBundle mainBundle] bundlePath]
stringByDeletingLastPathComponent] stringByAppendingPathComponent:
@Appication Support];
2010/9/29 Amy Heavey a...@willowtreecrafts.co.uk
I'm writing an app for personal use, using core data.
At the moment it's set up to save the data file in the library
I'm writing an app for personal use, using core data.
At the moment it's set up to save the data file in the library/
application support/myapp folder on the machine. I also want to store
a growing number of images to use with the app, so they are set to
store in this folder as well.
Many Thanks
Amy
On 28 Aug 2010, at 4:08PM, David Duncan wrote:
On Aug 28, 2010, at 8:04 AM, Amy Heavey wrote:
Sorry duh!
2010-08-28 15:55:27.961 ishop[1920:10b] *** -[NSURL
stringByAppendingPathComponent:]: unrecognized selector sent to
instance 0x16fbe0
2010-08-28 15:55:27.961 ishop
10.5 i386,
On 29 Aug 2010, at 9:21AM, Roland King wrote:
What OS are you building for?
On 29-Aug-2010, at 4:14 PM, Amy Heavey wrote:
I still get an error:
2010-08-29 09:13:46.337 ishop[2766:10b] *** -[NSURL
URLByAppendingPathComponent:]: unrecognized selector sent to
instance 0xc6356a0
On 29 Aug 2010, at 9:30AM, Graham Cox wrote:
On 29/08/2010, at 10:14 AM, Amy Heavey wrote:
I still get an error:
On what line?
Looking at the code you have mixed string paths and URLs. Pick one
or the other and use it consistently. While string paths are
becoming deprecated in favour
]
stringByAppendingPathComponent:@images ]
stringByAppendingPathComponent:fileName ];
then just use the imagePath.
On 29-Aug-2010, at 5:23 PM, Amy Heavey wrote:
Thanks everyone, I've been looking at everything and still can't
quite get my head round it, basically all I want to do is copy a
selected file to a new
'm trying to do a fairly simple copy file process, so I select a file,
and it gets copied to a new location. I seem to be mixing up NSString
and NSURL as I keep getting an NSURL error, can anyone point me down
the right path?
This is what I've got at the moment:
-
Thanks
On 28 Aug 2010, at 4:02PM, David Duncan wrote:
On Aug 28, 2010, at 7:58 AM, Amy Heavey wrote:
'm trying to do a fairly simple copy file process, so I select a
file, and it gets copied to a new location. I seem to be mixing up
NSString and NSURL as I keep getting an NSURL error, can
Hi,
I've got a core data app that I'm working on, and I started off with
quite simple relationships. I've got a products entity, and a purchase
order entity, which had many to m any relationships between them. I
now need to be able to set a quantity for each product in each
purchase
On 4 Nov 2008, at 17:32, Benjamin Stiglitz wrote:
PurchaseOrder is an Entity, with a relationship called products to
the
PurchaseOrderItems Entity which lists the actual items on the
order. I'd
like a column in my Purchase Order tabel to display the number of
items
in the order, so I've
On 4 Nov 2008, at 17:32, Benjamin Stiglitz wrote:
On Mon, Nov 03, 2008 at 06:55:24PM +, Amy Heavey wrote:
…
How do I access the count of a to-many relationship?
You’ve got that backwards; you want [EMAIL PROTECTED]
Fantastic! Thank You,
Do you mean print out on a printer, or just
Hi,
I'm afraid I have a couple more questions :(
Key Paths Bindings
I've been quite sucessful in setting up my bindings using key paths,
but now I'm trying to use @count.
I have a table that displays a list of PurchaseOrders.
PurchaseOrder is an Entity, with a relationship called products
On 29 Oct 2008, at 14:42, I. Savant wrote:
On Wed, Oct 29, 2008 at 4:49 AM, Amy Heavey
[EMAIL PROTECTED] wrote:
The pop up has selectedObject bound to Purchase Order Array
Controller 2
selection.orderReference
...
At the moment the content Object is bound to
selection.orderReference
On 30 Oct 2008, at 14:11, I. Savant wrote:
The pop up has selectedObject bound to Purchase Order Array
Controller 2
selection.orderReference
...
At the moment the content Object is bound to
selection.orderReference of the
Purchase Order Array Controller.
If you're binding the content
On 30 Oct 2008, at 14:41, I. Savant wrote:
Is it possible for
you to post a pared-down version of your project somewhere for myself
and others on the list to take a look at?
I've uploaded the project folder to www.amygibbs.co.uk/xcode/powizard
one thing to note, is that at the moment the
On 28 Oct 2008, at 16:15, I. Savant wrote:
The pulldown is bound as follows:
content: arrangedObjects[PurchaseOrder Array Controller(NSArray
Controller)]
content values: Purchase ORder Array Controller
arrangedObjects.orderReference
These bindings seem fine. How about selection? One of
I have a pulldown button, and a tableview. They both seem to be
displaying the correct data, but I'd like to filter the content of
the tableview based on the selection in the pulldown button. I've
tried all manner of binding combinations but it doesn't seem to work.
I'm a real newbie so I
I can't work out what the controllers and key paths should be.
The pulldown is bound as follows:
content: arrangedObjects[PurchaseOrder Array Controller(NSArray
Controller)]
content values: Purchase ORder Array Controller
arrangedObjects.orderReference
The Table view has 6 columns, one of
appropriately if it doesn't. You should also,
by-the-by, be passing an NSError pointer to executeFetchRequest:
and testing that after it returns to make sure an error didn't occur.
On Sep 19, 2008, at 10:47 AM, Amy Heavey wrote:
-[NSCFArray objectAtIndex:]: index (0) beyond bounds (0
I'm trying to add new instances of some entities, I've got it adding
new objects, and I can create new relationships to new related
objects, but I can't work out how to connect a new instance to an
existing instance of an entity,
eg
I have items with relationship to upcs and categories. I
On 14 Sep 2008, at 02:51, Nathan Kinsinger wrote:
On Sep 13, 2008, at 12:50 PM, Amy Heavey wrote:
I've got an NSXMLDocument *custdoc
but I can't work out how to actually access the data in the
document, I've looked at NSXMLElement, NSXMLParser, NSXMLNode but
I just can't work out
about not accepting nested functions which is why I took
the NSXMLNode *customerNode onto it's own line, but I can't work out
why I can't use a for loop?
Many Thanks
Amy Heavey
On 14 Sep 2008, at 02:51, Nathan Kinsinger wrote:
On Sep 13, 2008, at 12:50 PM, Amy Heavey wrote:
I've got
Thanks,
I've been messing about with code all over the place, gone a little
blind I think,
however, I now get 2 errors on this line:
1 - nested functions are disabled, use -fnested-functions to renable
2 - syntax error before in
NSArray *customerArray = [custdoc nodesForXPath:@.//customer
it's to do with customerNode=[custNodes objectAtIndex:0];
but I can't work out what to use instead of objectAtIndex:0
Thank you for all your time,
Many Thanks
Amy
On 16 Sep 2008, at 21:02, Nathan Kinsinger wrote:
On Sep 16, 2008, at 1:24 PM, Amy Heavey wrote
**/user_email
/customer
How can I set an NSString *firstName to the value?
I appreciate any help,
Many Thanks
Amy Heavey
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact
Thats where i got most of the code from, and I have seen the post on
his blog, but I still can't work it out!
Many Thanks
Amy Heavey
On 13 Sep 2008, at 20:09, Hal Mueller wrote:
The Amazone example in the new edition of the Hillegass book is a
good place to start. He's also got
Hi,
Sorry for the newbie question,
I'm trying to write an app to access/edit data held in an sqlite file
generated by another coredata app. I need to be able to access the
data in ways not possible in the original app (not created by me)
Following some advice from this list, I have
the tableviewdata creating new
instances of the entity?
Many Thanks
Amy Heavey
On 11 Sep 2008, at 18:05, Jamie Hardt wrote:
How does the sqlite file relate to pulling XML from your website?
I do not follow you there.
On Sep 11, 2008, at 1:44 AM, Amy Heavey wrote:
Hi,
Sorry for the newbie
Thanks,
I have got access to the datamodel, I've imported it into my xcode
project, it's how to actually create and write the entity that i'm
stuck on, all the examples i've found seem to use bindings and add
buttons,
Many Thanks
Amy Heavey
On 11 Sep 2008, at 18:39, Jamie Hardt wrote
Also,
I don't have an array controller bound to the table view, the
tableviews datasource outlet is set to the instance of my class that
pulls the xml and processes it,
Many Thanks
Amy Heavey
On 11 Sep 2008, at 18:39, Jamie Hardt wrote:
Ah I see. XML on web - your program - sqlite
Quite possibly - off to have go,
Thank you,
Many Thanks
Amy Heavey
On 11 Sep 2008, at 19:09, Jamie Hardt wrote:
Oh... Is this what you mean?
NSArray *objectsToLoopThru =
[myArrayControllerWithRecordsFromTheWeb arrangedObjects];
foreach (id oneObjectInTable in objectsToLoopThru
/client type solution) but it
also needs to run when not connected to the internet/server.
I'm a bit stuck at the moment on how to store the data for two
situations,
Thanks,
Many Thanks
Amy Heavey
On Aug 27, 2008, at 6:30 PM, mmalc crawford wrote:
On Aug 27, 2008, at 9:33 AM, Michael Ash
Do you know where this is? I can't see it in my dev folder (10.4)
Many Thanks
Amy Heavey
On Aug 28, 2008, at 6:20 PM, Aaron Burghardt wrote:
There is a good Core Data command-line utility tutorial in the
default developer documentation that shows the details of manually
setting up
56 matches
Mail list logo