Hello,
It is rather straightforward to create a webarchive in Cocoa:
WebArchive* archive = [[[webArchive mainFrame] dataSource] webArchive]
However... Once you have this archive, there seems to be no way to load it back
into the webview.
Am I missing something??
Any guidance is very much
Hi All,
In other to write a binding for a language I need to load the Foundation
framework at run time.
So just to test I wrote a simple example:
--objc-test.c--
#include
#include
#include
void
onLoad (Class this, char* inCat)
{
printf ("Loading %s in %s\n", class_get
Hi,I have a single window with a toolbar and a custom view in my application.
Toolbar has Back and Next button on it. This is my MainMenu.xib. I have 5 more
xibs other than the MainMenu.xib in my application. Each xib contains one view
with different controls in it. On Next and Back button click
On Jan 24, 2011, at 6:02 PM, Matt Neuburg wrote:
>
> (2) A common trick is make the text file a format string (i.e., containing a
> lot of %@) and just hand it to stringWithFormat along with all the
> substitutions. Badda bing badda boom.
This is how security vulnerabilities are born. You are
On Jan 22, 2011, at 9:37 AM, cocoa-dev-requ...@lists.apple.com wrote:
> Date: Sat, 22 Jan 2011 09:19:50 -0500
> From: Jeremy Matthews
> Subject: lots of find/replace in text file
>
> So...the app I previously mentioned, ala Mad Libs...I now have lots more text
> to replace within the file (new
On Jan 24, 2011, at 12:38 PM, Markus Spoettl wrote:
> Am I dreaming this example project up?
For the record: It appears so. However, there's a topic in the NSScrollView
programming guide that talks in detail about synchronizing two scroll views:
http://developer.apple.com/library/mac/#documenta
Hello,
I have an NSOutlineView that has the delegate method
- (BOOL)outlineView:(NSOutlineView *)outlineView
shouldShowOutlineCellForItem:(id)item
implemented to return NO for some items (even though they do have subitems).
These items are expanded and collapsed programmatically using NSOut
Hello list,
I have the following view hierarchy in an iPhone test app:
window
status bar
view managed by a tab bar with 2 tabs
view for tab 0: some view, managed by some view controller
view for tab 1: one of a set of views, managed by a navigation controller
tab bar
In more detail
On 25/01/2011, at 10:09 AM, Roland King wrote:
>> That's because you have placed the format specifier inside quote marks.
>> Remove them and try again.
>>
>> --Graham
>>
>
> Don't think so - the apostrophy is exactly what he's trying to test, that's
> supposed to be the extended printf forma
On 25-Jan-2011, at 6:59 AM, Graham Cox wrote:
>
> On 25/01/2011, at 9:51 AM, Nala Gnirut wrote:
>
>> I'm getting the same results with
>>
>> NSString *test = [NSString localizedStringWithFormat:@"%'6.2f",
>> 90.55];
>> NSLog(@"Test: %@", test);
>>
>> Output is:
>>
>> Test: '6.2f
>
>
On 25/01/2011, at 9:51 AM, Nala Gnirut wrote:
> I'm getting the same results with
>
>NSString *test = [NSString localizedStringWithFormat:@"%'6.2f",
> 90.55];
>NSLog(@"Test: %@", test);
>
> Output is:
>
> Test: '6.2f
That's because you have placed the format specifier inside quot
I'm getting the same results with
NSString *test = [NSString localizedStringWithFormat:@"%'6.2f",
90.55];
NSLog(@"Test: %@", test);
Output is:
Test: '6.2f
On Fri, Jan 21, 2011 at 5:58 PM, David Duncan wrote:
> On Jan 21, 2011, at 3:21 AM, Nala Gnirut wrote:
>
> > Hi all,
> > accord
On Jan 24, 2011, at 09:46, Rajendran P wrote:
> i have a single bitmap/jpeg (no restriction on image type) of size 360*30
> consisting of 12 pictures each of size 30*30 , i need to programatically
> retrieve each of these images and display them in ui . any suggestion on how
> to
> approac
On Jan 23, 2011, at 20:26, Rita wrote:
> I also recommend "Developing Apps for IOS" series of video recordings from
> Stanford University (by Paul Hegarty) available through iTunes U at iTunes
> (in SD and HD). I found it very useful along with Apple's online library of
> documents at develo
Good Day, List:
Does anyone have any information regarding the commercial use of a Weather API
for iOS apps? I have tried contacting a few of the more popular services (such
as weather wunderground) via e-mail, but never receive a response. My
preference would be Yahoo, but I can not locate inf
hi ,
i have a single bitmap/jpeg (no restriction on image type) of size 360*30
consisting of 12 pictures each of size 30*30 , i need to programatically
retrieve each of these images and display them in ui . any suggestion on how to
approach this would be of great help
Thanks in
On Jan 24, 2011, at 8:52 AM, Bleicher Eiko wrote:
> I want to get a deeper understanding of the memory warning handling on iOS in
> UIViewControllers.
>
> It seems that the default implementation of didReceiveMemoryWarning will set
> the view to nil, and viewDidUnload gets called. *But* this is
Hello,
I could have sworn there was an example project somewhere in the
documentation that demos how to sync two outline views (or table views) but I
can't find it.
I have an application that displays different versions of the same tree
structure at the same time. I'd like to sync multiple
Deriving a class from NSButton is not a daunting task by any imagination, you
only need understand that NSButton is nothing more than a wrapper class for
NSButtonCell.
As for the HIG it is a recommendation, and it indeed serves a purpose (IE
for programmers who thing all their users are p
Hi,
I want to get a deeper understanding of the memory warning handling on iOS in
UIViewControllers.
It seems that the default implementation of didReceiveMemoryWarning will set
the view to nil, and viewDidUnload gets called. *But* this is only done when
the controller implements loadView. Eve
It's straightforward to create a mouse event using NSEvent's mouseEventWithType
method. The only question I have is what should I be passing in for the
eventNumber parameter? 0? 1? some other number? Does it
matter?___
Cocoa-dev mailing list (Cocoa-de
Hi,
How can I link to the settings app on iOS? If the user did not configure the
WiFi, I want to switch the user to the Wifi settings pane. I know it's
possible, since the app from the local railway corporation does the same thing
(except for a different page inside the app). I just can't find
22 matches
Mail list logo