Hi,
I want to resize the guide box visible in Camera or Albums app launched
using UIImagePickerViewController. Is there a way to get custom Crop rect
and Crop Box.
Looking forward for quick reply.
Regards
symadept
___
Cocoa-dev mailing list (Cocoa-dev@
Le 6 juil. 2011 à 18:10, Douglas Davidson a écrit :
> It isn't necessary to use @"." here; you should be able to pass nil for that
> argument if the resources in question are not in a subdirectory. From the
> header comments: "subpath is a relative path to a subdirectory inside the
> relevant
When attempting to use CFLocaleGetSystem() as a parameter to
CFDateFormatterCreate(), a call to
CFDateFormatterGetAbsoluteTimeFromString() using the created
CFDateFormatterRef seemed to always return false. However, when I changed
the code to use a locale created by CFLocaleCopyCurrent, formatting
Lion is still under non-disclosure.
Discussion is available at devforums.apple.com, but it is not appropriate here.
Scott
moderator
On Jul 5, 2011, at 4:24 PM, Brad Stone wrote:
> I'm testing my app in Lion with 4.1 and I'd like to play around with Auto
> Save and Versions
> (http://develope
Hi all,
I have a Core Data object model that I'm trying to write a fetch predicate for
(to use for search). Quick explanation of the model:
We'll call the main entity "Book". There's also a "Keyword" entity. The Book
entity has a to-many relationship with the Keyword entity called "keywords".
> On Wed, Jul 6, 2011 at 7:11 AM, Fritz Anderson
> wrote:
>> On 6 Jul 2011, at 12:16 AM, Trygve Inda wrote:
>>
>>> It seems that NSDateFormatters instantiated in my nibs get their zone set to
>>> PDT (because of my time settings), despite having called
>>>
>>> [NSTimeZone setDefaultTimeZone:[NST
Thanks for the help.
I don't know Quartz Composer yet, but I'll take a look at the documentation and
see if it fits my needs for the current program. I've been mulling it over,
and may create a git branch to try Core Animation. First, it may facilitate
future alternative animated displays such
On 6 Jul 2011, at 2:43 PM, Kevin Muldoon wrote:
> I'm seeking to do a copyObject class that has it's own progress window. So,
> I'm doing my research and I see a technique for loading a nib with an object,
> like so...
>
> MyDocument *myDocument = [[MyDocument alloc] init];
> [NSBundle loadNibN
On Jul 6, 2011, at 2:43 PM, Kevin Muldoon wrote:
> MyDocument *myDocument = [[MyDocument alloc] init];
> [NSBundle loadNibNamed:@"MyDocument" owner:myDocument];
> [owner:myDocument doAnInterestingMethodToTheWindow];
> Now, this looks like it's the compartmentalization I want when building UI!
I
Hi All,
I am trying to set a particular font for the NSBrowserCell. Basically i want
some of the cells in the Browser to Appear in bold. I tried the following in
the browser willDisplayCell method but with no success. can some one please let
me know what is the correct approach
- (void) browse
Funny - I bolted in a Metaphone2 class I found online eariler. Face becomes
fs and place becomes pls.
Then Levenstein comes pretty close.
Thanks!
Google Voice: (508) 656-0622
Twitter: eric_dolecki XBoxLive: edolecki PSN: eric_dolecki
http://blog.ericd.net
On Wed, Jul 6, 2011
On Jul 6, 2011, at 12:23 PM, Eric E. Dolecki wrote:
> It would seem something is off to get negatives on Place, Ace & Mace.
That's Soundex. First character is matched literally.
You might want to look at Metaphone, rather than using an algorithm that was
designed in the 19th century for calcula
I'm seeking to do a copyObject class that has it's own progress window. So,
I'm doing my research and I see a technique for loading a nib with an object,
like so...
MyDocument *myDocument = [[MyDocument alloc] init];
[NSBundle loadNibNamed:@"MyDocument" owner:myDocument];
[owner:myDocument doAn
NSString *z = [NSString stringWithFormat:@"#%@",stringValue];
NSLog(@"soundexString: %@", [z soundexString]);
NSLog(@"soundexString2: %@", [stringValue soundexString]);
NSLog(@"soundexString3: %@", [@"#Face" soundexString]);
NSLog(@"soundexString4: %@", [@"Face" soundexString]);
Eric E. Dolecki wrote:
http://www.cocoadev.com/index.pl?NSStringSoundex
However, when I tried it out I get strange results...
//someString is set to different strings each time tested
BOOL test = [someString soundsLikeString:@"Face"];
NSLog(@"sounds like Face: %d",test);
Place = 0
Ace = 0
Mac
Thanks for the feedback. I now see how this works.
I am using the Nuance iOS SDK to verbally search an iPhone's music
library and play music based on what the user asked for (with and
without keywords). The Levenstein stuff sometimes works, now going to
add this to see if it can fill in some of th
Am 06.07.2011 um 20:23 schrieb Eric E. Dolecki:
> I found a Soundex NSString category here:
>
> http://www.cocoadev.com/index.pl?NSStringSoundex
>
> However, when I tried it out I get strange results...
>
> //someString is set to different strings each time tested
> BOOL test = [someString sou
On 6 Jul 2011, at 11:23 AM, Eric E. Dolecki wrote:
> However, when I tried it out I get strange results...
>
> //someString is set to different strings each time tested
> BOOL test = [someString soundsLikeString:@"Face"];
> NSLog(@"sounds like Face: %d",test);
>
> Place = 0
> Ace = 0
> Mace = 0
On Jul 6, 2011, at 1:23 PM, Eric E. Dolecki wrote:
> I found a Soundex NSString category here:
>
> http://www.cocoadev.com/index.pl?NSStringSoundex
>
> However, when I tried it out I get strange results...
>
> //someString is set to different strings each time tested
> BOOL test = [someString
On Jul 6, 2011, at 11:23 AM, Eric E. Dolecki wrote:
> I found a Soundex NSString category here:
>
> http://www.cocoadev.com/index.pl?NSStringSoundex
>
> However, when I tried it out I get strange results...
>
> //someString is set to different strings each time tested
> BOOL test = [someString
I found a Soundex NSString category here:
http://www.cocoadev.com/index.pl?NSStringSoundex
However, when I tried it out I get strange results...
//someString is set to different strings each time tested
BOOL test = [someString soundsLikeString:@"Face"];
NSLog(@"sounds like Face: %d",test);
Plac
I'm pretty sure someone else on the list tried exactly that, and it didn't work.
-Heath Borders
heath.bord...@gmail.com
Twitter: heathborders
http://heath-tech.blogspot.com
On Wed, Jul 6, 2011 at 11:40 AM, Steve Christensen wrote:
> With the caveat that I haven't actually tried it, would it ma
With the caveat that I haven't actually tried it, would it make more sense to
be streaming the movie data to a local file, then specifying the URL/path to
the file in the initializer method of one of the movie player classes? If the
player can handle the case where not all the movie data is pres
This conversation started about NSDatePicker. Now you are referring to
NSDateFormatter. Which one are you dealing with? My test shows that a nib
instantiated NSDatePicker has a nil timeZone value.
-raleigh
On Jul 6, 2011, at 8:05 AM, Kyle Sluder wrote:
> On Wed, Jul 6, 2011 at 7:11 AM, Fritz A
On Jul 6, 2011, at 5:27 AM, Alexander Reichstadt wrote:
> NSArray *sometest = [[NSBundle mainBundle] pathsForResourcesOfType:@"nib"
> inDirectory:@"."];
It isn't necessary to use @"." here; you should be able to pass nil for that
argument if the resources in question are not in a subdirectory.
I don’t think the cookie storage is guaranteed to be 100% in sync across apps
all the time. WebKit is probably batching up changes in memory before writing
them out to disk. You should probably find a different way to do what you’re
doing.
Also, launching an applet to launch your app seems cumb
Le 6 juil. 2011 à 17:09, Kyle Sluder a écrit :
> On Wed, Jul 6, 2011 at 7:08 AM, Vincent Habchi wrote:
>> However, I end up in a cycle, whereby the call to [NSBundle
>> loadNibNamed:name owner:self] generates a (unexpected) callback to
>> -awakeFromNib. How come? Is this normal behavior?
>
> T
On Wed, Jul 6, 2011 at 7:08 AM, Vincent Habchi wrote:
> However, I end up in a cycle, whereby the call to [NSBundle loadNibNamed:name
> owner:self] generates a (unexpected) callback to -awakeFromNib. How come? Is
> this normal behavior?
This is normal behavior on Mac OS X. It is not normal beha
On Wed, Jul 6, 2011 at 7:11 AM, Fritz Anderson wrote:
> On 6 Jul 2011, at 12:16 AM, Trygve Inda wrote:
>
>> It seems that NSDateFormatters instantiated in my nibs get their zone set to
>> PDT (because of my time settings), despite having called
>>
>> [NSTimeZone setDefaultTimeZone:[NSTimeZone
>> t
Thanks for your answer - I'll check it out.
Eric
On Wed, Jul 6, 2011 at 10:54 AM, Fritz Anderson wrote:
> On 6 Jul 2011, at 7:38 AM, Eric E. Dolecki wrote:
>
>> I am wondering if I need to recreate MPMediaQuery each time I want to
>> use it and am changing grouping type and filter predicates...
On 6 Jul 2011, at 7:38 AM, Eric E. Dolecki wrote:
> I am wondering if I need to recreate MPMediaQuery each time I want to
> use it and am changing grouping type and filter predicates... or can I
> simply create that once and then change filters, etc. on it. Wondering
> if it would speed my code up
On 5 Jul 2011, at 7:57 AM, Hirendra Rathor wrote:
> I experimented further and waited for few seconds after the 'alert' dialog
> box was displayed. Since I did not dismiss the dialog box, my application was
> also not launched. After a while I saw the content of the cookie in
> Cookies.plist ch
On Jul 6, 2011, at 9:08 AM, Vincent Habchi wrote:
> implementing Alexander's idea, I wrote this code to load Nibs ending with
> "Connector":
>
> - (void)fetchAndInitializeConnectors {
> // Search all NIB files ending with "connector" and load them
> for (NSString * path in [[NSBundle
On 6 Jul 2011, at 12:16 AM, Trygve Inda wrote:
> It seems that NSDateFormatters instantiated in my nibs get their zone set to
> PDT (because of my time settings), despite having called
>
> [NSTimeZone setDefaultTimeZone:[NSTimeZone
> timeZoneWithAbbreviation:@"GMT"]];
>
> Before any nibs are loa
Re-hi,
implementing Alexander's idea, I wrote this code to load Nibs ending with
"Connector":
- (void)fetchAndInitializeConnectors {
// Search all NIB files ending with "connector" and load them
for (NSString * path in [[NSBundle mainBundle]
pathsForResourcesOfType:@"nib" inDire
You mentioned switching between debug and release configurations, so that would
be a good first place to look since individual build settings can be set on a
per-configuration basis.
On Jul 5, 2011, at 3:59 PM, arri wrote:
> Hi Steve,
>
> Thanks for your reply! Usually i would be tempted to g
Le 6 juil. 2011 à 14:27, Alexander Reichstadt a écrit :
> Try:
> NSArray *sometest = [[NSBundle mainBundle] pathsForResourcesOfType:@"nib"
> inDirectory:@"."];
> for (id thisOne in sometest){
> NSLog(@"This is a path:%@",thisOne);
> }
Thanks for the hint, I'll do that right away.
Viel Da
I am wondering if I need to recreate MPMediaQuery each time I want to
use it and am changing grouping type and filter predicates... or can I
simply create that once and then change filters, etc. on it. Wondering
if it would speed my code up.
Thanks,
Eric
___
Have you looked at using Quartz Composer as a solution to accomplish this?
On Jul 4, 2011, at 2:31 PM, Dr. Scott Steinman wrote:
> My program needs to display counterphase flickering test, i.e., one display
> is white text on a black background, and the other is black text on a white
> backgrou
Try:
NSArray *sometest = [[NSBundle mainBundle] pathsForResourcesOfType:@"nib"
inDirectory:@"."];
for (id thisOne in sometest){
NSLog(@"This is a path:%@",thisOne);
}
Am 06.07.2011 um 14:04 schrieb Vincent Habchi:
> Hi there,
>
> I'm, as we say in French, tearing my hair away with this
On Jul 4, 2011, at 4:21 AM, Paolo Franzetti wrote:
> - (IBAction) playButtonClicked: (id) sender
> {
> MoviePlayerController *moviePlayerWindow = [[MoviePlayerController alloc]
> initWithWindowNibName:@"MoviePlayer"];
> [moviePlayerWindow showWindow:self];
>
> NSError *error;
> NSString *mov
Hi there,
I'm, as we say in French, tearing my hair away with this little problem:
Briefly, I have an object in a NIB file, and I'd like it to load further NIB
files (through +[NSBundle loadNibNamed:owner:] calls), all of them ending with
the same suffix (ex: onefoo, twofoo, threefoo).
I just
same problem exists in NSPopUpButtonCell, it is changing the value in list
which appears on clicking it, as shown -
Original list: http://dl.dropbox.com/u/259/unique%20data.png
Changed list: http://dl.dropbox.com/u/259/redundant%20data.png
Bindings used in case of NSPopUpButtonCell are:
> As everyone else has been saying, NSWorkspace image for
> type/file APIs and +[NSImage imageNamed:] are the API, and if it isn't
> there, you can file a bug but should use your own artwork. (As it says in
> the NSImage header.)
Even if it isn't available via imageNamed, you might still be able
44 matches
Mail list logo