Hello All!
I need to implement NSTextView descendant similar to one used in Mac iMessages
App.
I have implemented live resizing, but how to set resizable image as its custom
shape?
Thanks.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Some parts of the UI of an application I'm working on are WebViews. When the
mouse is over html/text displayed in these web views the user can display the
inline word / dictionary popup by pressing command-control-d (or by using a 3
finger gesture).
Is there a way to prevent the dictionary
Also, Xcode's built-in Analyze menu item might catch some of those.
Cheers,
-- Uli Kusterer
The Witnesses of TeachText are everywhere...
http://www.zathras.de
On Feb 13, 2013, at 10:36 PM, Sean McBride s...@rogue-research.com wrote:
On Wed, 13 Feb 2013 19:50:29 +0800, anni saini said:
Can
I wrote a -deepCopy method as part of a protocol on the common collection
classes. It does a respondsToSelector: and calls -copy if it doesn't. So as
long as my collection views cover all collection classes to create a new
NSArray etc. containing copies of the same objects, it mostly works.
What NSKeyedArchiver probably does is have a dictionary that maps the original
object pointer values to the copied objects. So instead of just straight-out
copying an object, it does:
NSString* theKey = [NSString stringWithFormat: @%p, theOriginal];
id theCopy = [objectCopies objectForKey:
On 14 Feb 2013, at 02:07, James Maxwell jbmaxw...@rubato-music.com wrote:
I've run into a situation where I really need a deep copy of an object. I've
implemented this using Apple's recommended approach with
NSKeyedArchiver/Unarchiver, and it's nice, simple, and functional. But it's
also
On Feb 14, 2013, at 8:30 AM, Uli Kusterer wrote:
On Feb 14, 2013, at 3:57 AM, Ken Thomases k...@codeweavers.com wrote:
Your question prompted me to try to design an analog of NSKeyedArchiver,
NSCode, and NSCoding that would generate the new object graph on the fly as
it went instead of
On Feb 14, 2013, at 4:11 AM, Vyacheslav Karamov wrote:
I need to implement NSTextView descendant similar to one used in Mac
iMessages App.
I have implemented live resizing, but how to set resizable image as its
custom shape?
AFAIK, custom text box geometry is really a function of
I've used Core Data a ton in apps since it was introduced on iOS. I've also
used NSFetchedResultsController quite a bit and I've helped others with their
Core Data code.
One thing to keep in mind is that Core Data uses exceptions internally as part
of its normal operation. If you break on
On Feb 14, 2013, at 3:11 AM, Vyacheslav Karamov ubuntul...@yandex.ru wrote:
Hello All!
I need to implement NSTextView descendant similar to one used in Mac
iMessages App.
I have implemented live resizing, but how to set resizable image as its
custom shape?
Messages doesn't use
I've taken the plunge and written a mutable deep copy method for NSObject in my
applications.
So far, I've used it only to add interesting arbitrary objects to NSError
userInfo dictionaries. Unliike Ken and Uli, I'd never thought about the
circular references in object trees, but I ran into a
On Feb 14, 2013, at 9:03 AM, Hunter Hillegas li...@lastonepicked.com wrote:
One thing to keep in mind is that Core Data uses exceptions internally as
part of its normal operation. If you break on exceptions, you'll end up in
the debugger quite a bit but it's not because anything is broken,
One more question I hope. I've got the below working great, so I started using
it in other places within my code - specifically for some sub-classed
UITableViewCells:
//appearance settings
@property (nonatomic, assign) NSInteger showDateLabel UI_APPEARANCE_SELECTOR;
@property (nonatomic,
Thanks, Hunter. I'll consider the newer option.
-Laurent.
--
Laurent Daudelin
AIM/iChat/Skype:LaurentDaudelin
http://www.nemesys-soft.com/
Logiciels Nemesys Software
laur...@nemesys-soft.com
On Feb 14, 2013, at 09:03, Hunter
On Feb 13, 2013, at 6:30 PM, Jerry Krinock je...@ieee.org wrote:
But I'm only writing as an iPad user.
FYI:
Document Interaction Programming Topics for iOS
Registering the File Types Your App Supports
If your app is capable of opening specific types of files, you should register
that
Hi all,
Anyone tried using NSNetService and NSNetServiceBrowser on non-main threads on
OS X?
- the 'Thread Safety Summary' document does not mention these classes.
- NSNetServices.h says NSNetService instances may be scheduled on NSRunLoops
to operate in different modes, or in other threads.
OK I think I figured it out. There are several layout calls to the
UITableViewCell (the parent view controller is doing a reload on certain rows
on a data change), and those first 2 or so layout calls the appearance proxy is
nil, but on the third its there and gives me the correct info. I had
No, I have already implemented bubbles. It is just NSTableView descendant.
14.02.2013 19:13, Kyle Sluder пишет:
On Feb 14, 2013, at 3:11 AM, Vyacheslav Karamov ubuntul...@yandex.ru wrote:
Hello All!
I need to implement NSTextView descendant similar to one used in Mac iMessages
App.
I have
I know how to implement custom text layout. Good example of this I have
found in Cocoa Programming Developer's Handbook by David Chisnall.
This book gives an example how to implement custo text layout, but I
don't understand how to implement custom shape of NSTextView. Because my
widget grow
On Thu, Feb 14, 2013, at 12:00 PM, Vyacheslav Karamov wrote:
I know how to implement custom text layout. Good example of this I have
found in Cocoa Programming Developer's Handbook by David Chisnall.
This book gives an example how to implement custo text layout, but I
don't understand how
I want the same text view as Apple iMessages has.
I have such bullet image and I plan to use it as textview's shape.
Actually this one
http://i.piccy.info/i7/e52f246522784139d1c75bf53bb466e6/4-55-1897/58781878/iMessages.png
14.02.2013 22:18, Kyle Sluder пишет:
On Thu, Feb 14, 2013, at 12:00
On 14 Feb 2013, at 11:26 AM, Sean McBride s...@rogue-research.com wrote:
Anyone tried using NSNetService and NSNetServiceBrowser on non-main threads
on OS X?
- the 'Thread Safety Summary' document does not mention these classes.
- NSNetServices.h says NSNetService instances may be
On Thu, 14 Feb 2013 12:47:13 -0800, Chris Parker said:
NSNetService (and NSNetServiceBrowser) automatically schedules itself on
the run loop of the thread it's being created on. If the run loop isn't
being spun (e.g. on a thread created by detaching a pthread or an
NSThread) then you won't get
I was trying to answer a question for a Cocoa beginner today and realized it's
been a long time since I looked at the Apple docs from the point of view of
someone new to Objective-C. What happened to The Objective-C Programming
Language? As I recall that was *the* place to get someone started
On Feb 14, 2013, at 2:40 PM, Andy Lee ag...@mac.com wrote:
I was trying to answer a question for a Cocoa beginner today and realized
it's been a long time since I looked at the Apple docs from the point of view
of someone new to Objective-C. What happened to The Objective-C Programming
On 14/02/2013, at 1:07 PM, James Maxwell jbmaxw...@rubato-music.com wrote:
I've run into a situation where I really need a deep copy of an object.
My question would be: are you really sure?
Yes, there are times you need a deep copy, but surprisingly few. Often you can
redesign your code
Hi all,
I'm writing a tool that needs to copy directories with a lot of files and a
significant hierarchy (a home directory is a good analog).
I've implemented test versions of the following:
a. NSTask'ing rsync. This works but provides terrible progress, as I have to
parse the the
On 15 Feb 2013, at 01:25, Ken Thomases k...@codeweavers.com wrote:
On Feb 14, 2013, at 8:30 AM, Uli Kusterer wrote:
On Feb 14, 2013, at 3:57 AM, Ken Thomases k...@codeweavers.com wrote:
Your question prompted me to try to design an analog of NSKeyedArchiver,
NSCode, and NSCoding that
Well, yes, that's a good question.
But I spent a good deal of time trying to find a way around it and couldn't.
However, in the meantime I discovered that by using a home-spun -deepCopy
method on just a couple of classes I was able to solve my mutation problem,
without resorting to the
On 15/02/2013, at 1:55 PM, Jim Zajkowski jim.zajkow...@gmail.com wrote:
s there anything that provides the level of progress that FSCopyObjectAsync
does but gives the callback more control like copyfile() does?
You could look into NSFileManager's -copyItemAtURL:toURL:error: method which,
30 matches
Mail list logo