Depends. Why are you “fighting” Core Data?
Mike
On Apr 8, 2014, 3:13:12 PM, Rick Mann wrote: This may
prove to be an unproductive question to pose, so I apologize in advance.
I'm generally a big fan of Core Data, but I'm developing a moderately
complicated CAD app with libraries and desig
Wow. Awesome. There should be a web page filled with these somewhere.
On Aug 24, 2012, at 9:28 AM, Alex Zavatone wrote:
> This is very eye opening and likely to be hugely time saving, especially with
> those storyboard crashes where you're not in code.
>
> http://www.fruitstandsoftware.com/blo
I've also used SBJSON successfully.
Mike
Sent whilst mobile.
On Sep 8, 2011, at 10:25 AM, Tom Hohensee wrote:
> I have recently come across the need to handle JSON in an application I am
> working on for 10.6 and 10.7. After googling for a parser I came across
> several of them but some
ence.html#//apple_ref/c/func/dispatch_release
>
> Dave
>
> On Sep 1, 2010, at 9:54 AM, Mike Manzano wrote:
>
>> This is probably a stupid question, but after I
>>
>> dispatch_queue_create()
>>
>> how do I clean up the q
This is probably a stupid question, but after I
dispatch_queue_create()
how do I clean up the queue when I'm done with it?
Thanks!
Mike
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to
Good stuff. Thanks guys, looks like that's exactly what I was looking for.
Mike
On Aug 4, 2010, at 5:36 PM, Ken Thomases wrote:
> On Aug 4, 2010, at 7:31 PM, Nick Zitzmann wrote:
>
>> On Aug 4, 2010, at 6:24 PM, Mike Manzano wrote:
>>
>>> How would one go abou
How would one go about getting a list of web browsers on the system? I'd like
to implement a pull down menu similar to Safari's "Default web browser:" field.
Thanks,
Mike
@instantvoodoo___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do
I see that NSAttributedString is in iOS 4, but both UITextView nor
UITextField's text property takes an NSString. Does that mean these views are
off limits if I want to use an attributed string?
Thanks,
Mike___
Cocoa-dev mailing list (Cocoa-dev@lists
Hello,
Is there a way to get a UITabBarItem's frame? I'd like to implement a
popover-like menu whose "arrow" points to a particular UITabBarItem (on the
iPhone, not iPad). However, UITabBarItems are not views and have no frame
property. I noticed in the iPad API that the equivalent UIPopoverCon
reserve my "view". The text stays
the same size, there's just more of the web page visible to the side.
How do I get UIWebView to act like Safari?
Thanks,
Mike Manzano
mike (at) instantvoodoomagic (dot) com
@instantvoodoo
(206) 462-2966
_
dView by Buzz Andersen (http://github.com/ldandersen/scifihifi-iphone/blob/master/UI/SFHFHUDView.h
)
Saurabh
On Tue, Oct 20, 2009 at 5:26 PM, Mike Manzano > wrote:
Hi,
I'd like to display a busy indicator view (HUD) regardless of
whatever view is currently at the top of the view st
ions? I'd
like to have some confirmation before I invest a bunch of time only to
find out it's the wrong method.
Thanks,
Mike Manzano
mike (at) instantvoodoomagic (dot) com
http://instantvoodoomagic.com
@instantvoodoo
Oh BTW, the first reply that gets me closer to a solution gets a fr
Hi all,
Quite a few of my beta testers are sending in crash reports where the
crash is occurring in webView:didCommitLoadForFrame:
Here's the whole stack trace:
0 libobjc.A.dylib 0x30011944 objc_msgSend + 24
1 UIKit 0x30af8900 -
[UIWebVi
Has anyone been able to successfully get the URL loading system on
iPhone to pay attention to custom versions of NSURLCache? It seems to
me that it's being ignored. More info here:
http://stackoverflow.com/questions/1246420/need-content-in-uiwebview-to-display-quickly
(See the second "answer
The RedLaser app overlays a display on the 3GS' video capture screen,
and seems to be able to react to the video in real time. Are they
using public APIs to do this? If so, I can't find them.
Mike
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.c
How do you get the thin-style bars in landscape like Mail has? Mine
doesn't do that automatically. I haven't been able to find an API or
developer doc that mentions it.
Mike Manzano
Sent while mobile
___
Cocoa-dev mailing list
How is your init defined?
Mike Manzano
Sent while mobile
On May 28, 2009, at 4:34 PM, Erg Consultant
wrote:
I have an object which I initialize like this:
gReg = [ [ Registry alloc ] init ];
Problem is, my init method never receives any message.
Does anyone know what can cause this
Hi all,
I have some animation code that looks like this:
CABasicAnimation *theAnimation = [CABasicAnimation
animationWithKeyPath:@"position.x"] ;
NSLog( @"ANIMATION: started %x" , theAnimation ) ;
theAnimation.removedOnCompletion = YES ;
theAnimation.duration = 0.125f
that NSIndexPath is currently visible and you can also
retrieve the UITableViewCell that goes with that by calling
cellForRowAtIndexPath:
Luke
On May 15, 2009, at 1:33 PM, Mike Manzano wrote:
Okay, so each row is its own cell instance, and when a cell goes
off-screen UITableView re-queu
ry
footprint down.
Dave
On May 15, 2009, at 8:52 AM, Mike Manzano wrote:
In the template UITableViewController that instantiates cells by
first attempting to dequeue them, is that same dequeued cell used
to draw all visible rows, or is there a separate cell used for each
row? The docs I
it's obvious in that case that the cells are different.
If it's the case that only one cell is used, then how do you handle
the state related to, e.g., animating or touch tracking?
Mike Manzano
Sent while mobile
___
Cocoa-dev mailing
s there, please file a bug report.
Luke
On May 6, 2009, at 12:00 AM, Mike Manzano wrote:
Regardless of whether I supply YES or NO for the animated:
parameter, the toolbar doesn't animate the change in items.
Is this broken? If so, what's the workaround (I know I've seen th
Regardless of whether I supply YES or NO for the animated: parameter,
the toolbar doesn't animate the change in items.
Is this broken? If so, what's the workaround (I know I've seen this
implemented in other apps).
Thanks,
Mike
smime.p7s
Description: S/MIME cryptographic signature
___
It's inverted because of differences in coordinate systems between the
image and the view it's being draw into.
Before you draw the image, invert it:
[[self image] setInverted:YES] ;
On May 4, 2009, at 12:25 PM, Livio Isaia wrote:
I have a custom NSButtonCell named MyButtonCell with a drawi
ick the release there.
Thank you all for the responses!
Mike
On Apr 30, 2009, at 11:59 PM, Mike Manzano wrote:
Hi Folks,
I have an NSXMLParser doing parsing the contents of a URL. It is
allocated like this:
_showsParser = [[NSXMLParser alloc] initWithContentsOfURL:url];
Given
Is it possible to have a web view that doesn't scroll? I'd like to
embed a web view in a table cell and have the table view machinery
take care of the scrolling. The effect I'm after is for the user to
touch a cell in a table, and have that table visually expand to show a
rendered HTML page
Hi Folks,
I have an NSXMLParser doing parsing the contents of a URL. It is
allocated like this:
_showsParser = [[NSXMLParser alloc] initWithContentsOfURL:url];
Given a good URL to a parsable XML document, its parserDidEndDocument:
method calls this method:
- (void) cleanupShowPar
That did it. Thanks!
One last question. If I supply my own layer, is it legal to add
subviews to the view that's hosting my layer?
On Apr 16, 2009, at 6:46 PM, Kyle Sluder wrote:
On Thu, Apr 16, 2009 at 9:17 PM, Mike Manzano
wrote:
[theView setLayer: theRootLayer];
[th
o the view after I
call -setWantsLayer on it. How is this layer different from
theRootLayer in the example?
Thanks,
Mike
On Apr 16, 2009, at 5:33 PM, Kyle Sluder wrote:
On Thu, Apr 16, 2009 at 7:14 PM, Mike Manzano
wrote:
Is there a way to stop an NSView from modifying its CALayer's
Is there a way to stop an NSView from modifying its CALayer's
masksToBounds property?
It looks like it's making the change during a frame resize. It's
making a call to some internal selector called
_updateLayerMasksToBoundsFromView. AFAIK, there's no way to turn on or
off masking from the
Doh!
On Mar 30, 2009, at 1:00 PM, Corbin Dunn wrote:
On Mar 30, 2009, at 12:16 PM, Mike Manzano wrote:
Hello,
I have a table view whose delegate's -
tableView:objectValueForTableColumn:row: returns an NSDictionary
with key value pairs that look like this for each of its columns
Hello,
I have a table view whose delegate's -
tableView:objectValueForTableColumn:row: returns an NSDictionary with
key value pairs that look like this for each of its columns (the
columns' cells are responsible for extracting some subset of this
dictionary to display to the user):
{
tract from the other -- maintaining constant total width.
--Andy
On Mar 11, 2009, at 2:17 PM, Mike Manzano wrote:
Well, I just rewrote it, and it's doing exactly the same thing. You
can see this from the debug output:
2009-03-11 11:15:50.092 SkootUI[13145:10b] Will Set To: {{0, 0},
romView:nil].x :
[self convertPoint:[theEvent locationInWindow] fromView:nil].x ;
}
On Mar 11, 2009, at 10:52 AM, Mike Manzano wrote:
Nope that didn't do it. Same symptoms. Any other ideas before I
throw in the gauntlet and rewrite it?
On Mar 10, 2009, at 5:41 PM, Jesper St
ustom sub-class).
Jesper Storm Bache
On Mar 10, 2009, at 2:51 PM, Mike Manzano wrote:
Hi,
I am tracking the mouse pointer to dynamically resize a splitter as a
separate drag handle is dragged. This is done in mouseDown: of the
drag handle with a custom event loop. The loop looks like this:
able to simply listen for mouseDragged, mouseDown, and
mouseUp on your split view (if this is a custom sub-class).
Jesper Storm Bache
On Mar 10, 2009, at 2:51 PM, Mike Manzano wrote:
Hi,
I am tracking the mouse pointer to dynamically resize a splitter as a
separate drag handle is dragged.
Hi,
I am tracking the mouse pointer to dynamically resize a splitter as a
separate drag handle is dragged. This is done in mouseDown: of the
drag handle with a custom event loop. The loop looks like this:
while (keepOn)
{
NSAutoreleasePool *pool = [[NSAutoreleasePool all
Hi all,
I'm doing some MDQuery stuff in my application, and it's working to
the point where I'm getting the appropriate notifications for
additions and removals to the subset of files that satisfy my query.
When I get these notifications, there's a list of MDItemRefs in the
notification'
The docs say that NSApplicationMain:
"Creates the application, loads the main nib file from the
application’s main bundle, and runs the application."
Who is responsible for releasing the objects in the main bundle when
the app quits? Is it safe to not release them since the application is
Forgive me if this is not quite on topic.
Is there a Windows library that allows Windows programs to vend
objects in the same way they can be vended on a Mac?
Thanks,
Mike
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post
Let's say that I have a vended object that has a method that returns
an NSArray whose contents are large. Let's say that I'm calling this
method from another application over a network. As the transfer of the
NSArray over the network might take a while, I'd like to display a
progress bar. C
messages manually if you access the instance variable directly (not
through a property). The only place you would typically need to do
that would be in your dealloc method.
Jon Hess
On Aug 4, 2008, at 8:51 PM, Mike Manzano wrote:
Hi,
Sorry about this cross-post, but the obj-c language
Hi,
Sorry about this cross-post, but the obj-c language list seems sort of
dead.
If I have a property:
@property( retain ) NSString *blah ;
and in my code I assign it:
myObj.blah = @"woot!" ;
and then I want to reassign it, do I have to release it?
[myObj.blah release] ;
myObj.blah = @"n
Try posting some code.
On Jun 13, 2008, at 1:54 PM, Bart Beulen wrote:
Hi All
I'm new to cocoa and working on an xml parser.
I would like to parse xml files like the following example
bla bla
imag1
http://www.blabla.com
bla bla2
imag2
http://
, 2008, at 4:09 PM, Ken Thomases wrote:
On Jun 11, 2008, at 6:05 PM, Mike Manzano wrote:
Does anyone know how to unvend an object? I found this thread on
the list:
http://lists.apple.com/archives/Cocoa-dev/2002/Mar/msg00710.html
but it didn't seem to have any definitive answer.
Am
Hello,
Does anyone know how to unvend an object? I found this thread on the
list:
http://lists.apple.com/archives/Cocoa-dev/2002/Mar/msg00710.html
but it didn't seem to have any definitive answer.
Am I missing something obvious?
Thanks,
Mike
___
After playing with it some more I think it might be a floating point
precision error.
On May 29, 2008, at 9:40 PM, Uli Kusterer wrote:
Am 29.05.2008 um 23:17 schrieb Mike Manzano:
I just tried running it on an old PowerBook, and I get the same
results. Do you know for sure that ColorSync
I just tried running it on an old PowerBook, and I get the same
results. Do you know for sure that ColorSync is in play here?
Thanks,
Mike
On May 29, 2008, at 2:40 AM, Uli Kusterer wrote:
Am 29.05.2008 um 09:21 schrieb Mike Manzano:
Regardless of what I set the red component to, the value
Hi there,
I have this code:
CGContextSetRGBFillColor(cref, 0xaa/255.0, 0xb0/255.0,0xc0/255.0, 1) ;
CGContextFillRect(cref, CGRectMake(0, 0, w, h)) ;
CGContextFlush(cref) ;
Later on, I get the image buffer to print out the contents of the
first pixel:
unsigne
rner wrote:
When you say you are "ending editing" what do you mean? Are you
using commitEditing?
Wil
On Apr 22, 2008, at 12:26 PM, Mike Manzano wrote:
I have an application that periodically needs to save content
contained in an NSTextView. The text view is bound to a Core Data
manag
I have an application that periodically needs to save content
contained in an NSTextView. The text view is bound to a Core Data
managed object. Currently, I am ending editing on the text view to
force it to save its contents into the store. However, since I'm doing
it automatically on a tim
NSTableView:
tableView:heightOfRow:
Returns the height of row in tableView.
- (CGFloat)tableView:(NSTableView *)tableView heightOfRow:(NSInteger)row
Discussion
You should implement this method if your table supports varying row
heights. The height returned should not include intercell spacing
Is there an easy way to change the duration of an implicit animation--
the kind you get when you do something like this?
[[myWindow animator] setFrame:newFrame display:NO] ;
Thanks,
Mike
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please
Unless you perform [blisterModelClass release] in your NSView's -
dealloc, you are still potentially leaking.
Mike
On Apr 15, 2008, at 5:17 PM, Mario Gajardo Tassara wrote:
El 15-04-2008, a las 14:21, [EMAIL PROTECTED]
escribió:
I have a nasty leak problem when i realloc several methods of
54 matches
Mail list logo