Thanks. But I need help with the aesthetic perspective, not on the file
building.
Andrew
On Nov 27, 2010, at 2:17 PM, k...@highrolls.net wrote:
> / Developer / Applications / Utilities / Icon Composer
>
>
> On Nov 27, 2010, at 3:06 PM, Andrew McLaughlin wrote:
>
>> Hi all,
>>
>> Can anyone
Hi All,
Suppose I have an forum powered by Discuz. I want to write an iPhone
application which is like a portal can
access that forum, any forum operation like browsing, reply, change profile,
make it favourite post etc can
be done in that iPhone application as well.
I just wonder how to approach
I keep getting an exception from QTKit when quickly moving through a playlist
of songs. Here is the console log and the portion of my code where the
exception is thrown. I am using garbage collection on Snow Leopard.
2010-11-27 21:33:37.852 QTKitServer[15546:903] -[QTTrack_QuickTime
originalKe
On 27.11.2010, at 15:43, gMail.com wrote:
> Hi, I have set a custom cell showing icon + text on my outlineView column.
> It works well, but whenever I double click on the row to edit the text, I
> get a text field editor bigger than the cell itself and covering the left
> icon. How can I make thi
...and now it comes the hardest part of my app.
I have to decide about the structure of my document file so I ask here to
get some hint.
A) My app should download the doc file from internet and show its content.
B) The file always contains a dict.plist NSDictionary.
C) The file could contains some
On Nov 27, 2010, at 17:44, Jerry Krinock wrote:
>> I have an NSArrayController that holds a set of persons. These persons have
>> a to-many relationship of name objects. Usually they will only have one
>> name, but there may be multiple (or even no name).
>>
>> In my interface, I have an NSTabl
On 2010 Nov 27, at 08:20, Mikkel Eide Eriksen wrote:
> I have an NSArrayController that holds a set of persons. These persons have a
> to-many relationship of name objects. Usually they will only have one name,
> but there may be multiple (or even no name).
>
> In my interface, I have an NSTab
You can hit me up on Monday if you'd like, i develop and design all of the
time and perhaps i can help you out.
Sent from my iPad of doom.
On Nov 27, 2010, at 5:06 PM, Andrew McLaughlin wrote:
> Hi all,
>
> Can anyone recommend a good icon designer/illustrator? I have a good
> illustration
/ Developer / Applications / Utilities / Icon Composer
On Nov 27, 2010, at 3:06 PM, Andrew McLaughlin wrote:
Hi all,
Can anyone recommend a good icon designer/illustrator? I have a good
illustration designed for the splash screen of my app, but need help
getting an icon built. My illustra
I have two views: one displays an image created with CG calls, and in the
second one I would like to show a zoomed in version of the same image,
centered around where the user has tapped. I am using
UIGestureRecognizerDelegate to get the pan gesture, and draw into the second
view with the new zoom
Hi all,
Can anyone recommend a good icon designer/illustrator? I have a good
illustration designed for the splash screen of my app, but need help getting an
icon built. My illustrator doesn't know how to do that, and I'm all thumbs when
it comes to artwork.
TiA
Andrew
_
Ben, thank you so much! I have successfully done it.
I post the code here for anyone to use it. I love this list.
- (NSData*)UnzipFile:(NSString*)sourcePath
extractFileName:(NSString*)extractFileName
{
NSTask*unzip = [[[NSTask alloc] init] autorelease];
NSPipe*aPipe = [NSPipe p
Thank you,
My viewForAnnotation was all wrong. I was trying code from this tutorial:
http://trentkocurek.wordpress.com/2010/07/21/ios4-map-kit-draggable-annotation-views/
So, I went back and redid my code, which fixed the memory leak and alleviated
the need for a custom Annotation View.
- (MK
Something along the lines of:
NSString * tempFilePath = [NSTemporaryDirectory()
stringByAppendingPathComponent:@"myTempFile.tmp"];
if (![[NSFileManager defaultManager] fileExistsAtPath:tempFilePath]) {
[[NSFileManager defaultManager] createFileAtPath:tempFilePath contents:nil
attributes:nil];
How do you create the NSFileHandle ?
I succeeded only creating it as
NSFileHandle*theFileH = [NSFileHandle
fileHandleForWritingAtPath:tempFilePath];
and the file tempFilePath must exists.
But as I said, I would like to get rid of the temp file.
--
Leo
> Da: Dave DeLong
> Data: Sat, 2
Or I believe you can also do id< NSObject, MyProtocol > if you need
something that conforms to both. Unless you actually need something
that is only implemented in the NSObject class and not defined in the
protocol.
On Sat, Nov 27, 2010 at 11:35 AM, David Duncan wrote:
> On Nov 26, 2010, at 6:22
What Scott said. I use NSFileManager to create a file in
NSTemporaryDirectory(), then point an NSFileHandle to that file for writing.
That NSFileHandle becomes the standard out of the task, and all the output of
the task is written to the file, which I can then peruse and reuse later at my
co
On Nov 27, 2010, at 9:46 AM, Andy Lee wrote:
> AFAIK protocols don't inherit from each other but rather conform to each
> other, meaning the above should be
>
> @protocol SomeProtocol
>
> But maybe I'm just unaware of new syntax in the latest compiler?
No, your probably right. Dangers of typ
On Nov 27, 2010, at 12:35 PM, David Duncan wrote:
> fortunately you can declare that your protocol inherits from another, and
> there is also an NSObject protocol that defines the core functionality of the
> class, so you can do this when you declare your protocol and never need to
> worry ab
On Nov 26, 2010, at 6:22 PM, Dave Zwerdling wrote:
> You can implement other methods and do a single cast to NSObject
> * (or id if you don't need the NSObject
> methods)
It is often impossible to get away from needing at least some of NSObject's
functionality, but fortunately you can declare
On Nov 27, 2010, at 10:12 AM, Ben Haller wrote:
>
> NSPipe uses NSFileHandle. Does using an NSFileHandle directly change things
> somehow? If so, why?
NSPipe uses pipes, which act sort of like files, except for that buffering
thing, enough so that they can be accessed through the same interfa
Here's a post that I found useful:
http://dev.notoptimal.net/2007/04/nstasks-nspipes-and-deadlocks-when.html
Dave, not sure what you mean here. NSPipe uses NSFileHandle. Does using an
NSFileHandle directly change things somehow? If so, why? I think this is an
avenue I haven't explored;
On 27 nov 2010, at 06.33, Philip Vallone wrote:
> if ((self = [[MKPinAnnotationView alloc]
> initWithAnnotation:annotation reuseIdentifier:reuseIdentifier])) {
> [self
> performSelector:NSSelectorFromString(@"setDraggable:") withObject:[NSNumber
> numberWith
The way I get around this is to use an NSFileHandle for standard out instead of
an NSPipe. It's a bit less efficient, but slightly more convenient.
Dave
Sent from my iPhone
On Nov 27, 2010, at 7:59 AM, Ben Haller wrote:
> On 2010-11-26, at 7:33 AM, gMail.com wrote:
>
>> Hi, I can properly u
Hi
I have an NSArrayController that holds a set of persons. These persons have a
to-many relationship of name objects. Usually they will only have one name, but
there may be multiple (or even no name).
In my interface, I have an NSTableView that will display the persons. The
attributes are eas
Thanks all,
I ended up changing around my object hierarchy and casting to a superclass that
has ordinals.
Mikkel
On Nov 26, 2010, at 10:38 PM, Julien Jalon wrote:
> Z) ignore the warning
>
> On Fri, Nov 26, 2010 at 9:44 PM, Ken Thomases wrote:
> On Nov 26, 2010, at 12:27 PM, Mike Abdullah wr
On 2010-11-26, at 7:33 AM, gMail.com wrote:
> Hi, I can properly unzip a zip file launching a NSTask with /usr/bin/unzip
> The task saves the unzipped file to the disk, then a I read the unzipped
> file in a NSData. Well. My question is:
> Can I do the same job without saving the unzipped file to
Hi, I have set a custom cell showing icon + text on my outlineView column.
It works well, but whenever I double click on the row to edit the text, I
get a text field editor bigger than the cell itself and covering the left
icon. How can I make this text field editor fit the cell bounds and not
cove
Hi,
I have implemented a dragable annotation in my app. I am getting a 100% memory
leak that has me puzzled. I was hoping that someone can provide some guidance.
The leak is at:
MKAnnotationView *draggablePinView = [[[AnnotationView alloc]
initWithAnnotation:annotation reuseIdentifier:@"PinIde
Hi,
It was just I need to add header. But above code
didn't work. But following encoded to SHA-1 correctly..
I would like to know whether it encodes right ? or Not ?
+(NSString *)stringToSha1:(NSString *)hashkey{
// Using UTF8Encoding
const char *s = [hashkey cStringUsingEncoding:NSU
Hmmm... Okay, so I unchecked the iTunes U and sync'd. Video player comes up and
says there's nothing to watch. Now, rechecking and re syncing.
Question is, how could it have gotten blown?
Oh well...
Andrew
On Nov 26, 2010, at 11:56 PM, Andrew McLaughlin wrote:
> Hey list,
>
> I just updated
Hi,
In order to get this I found following code, but I need to import some
frameworks into my code. Could somebody kindly point how can achieve SHA-1
Encrypted string in iPhone. I get few errors compiling since I do not have
necessary framework to use this.. :(
+(NSString *)stringToSha1:(NSString
32 matches
Mail list logo