Using several xib files for my app with IB

Hello!
I have big problems using and understanding xibs/nibs in combination with IB. I have my MainWindow.xib and set the color of my window to red - what works. If I start my app, the window is red. good.
[window setBackgroundColor:[UIColor redColor]];
No, it gets complicated..
I have added a second xib and named it ReadGroupsTableViewController.xib. I want this xib to "use" my class:
ReadGroupsTableViewController.m
ReadGroupsTableViewController.h
which should return a cell with the name "hello". Therefore, i am setting
cell.textLabel.text = @"hello";
in the method
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
and returning 1 for the value of numbers in row.
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
return 1;
In my appDelegate Class, i am doing this:
- (void)applicationDidFinishLaunching:(UIApplication *)application {
readGroupsTableViewController = [[UITableViewController alloc] initWithNibName:@"ReadGroupsTableViewController" bundle:[NSBundle mainBundle]];
[window setBackgroundColor:[UIColor redColor]];
[window addSubview:readGroupsTableViewController.view];
[window makeKeyAndVisible];
Now, in the ReadGroupsTableViewController.xib i am adding a UITableViewController Item. In the identy tab, I am setting the class of the controller to my ReadGroupsTableViewController. The delegates and the datasource are set to the view (automatically)
2009-10-20 11:48:54.949 MapPrototype[80812:207] * Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '-[UIViewController _loadViewFromNibNamed:bundle:] loaded the "ReadGroupsTableViewController" nib but the view outlet was not set.'
any help is appreciated..

It is hard to say where a memory issue occurred. Normally usage of a memory profiler such as JRockit JRA, or JProfiler is useful in debugging such issues.
There were a couple related memory issues in previous releases, so ensure you have the latest release or patch release.
Using an isolated (shared=false) or weak cache may also help.
In general you should be able to scale to 5000 users without any issues.
James : http://www.eclipselink.org

Similar Messages

  • Saving files for metro apps in Windows 8/8.1 when printing

    Hi,
    I have a query regarding saving files for metro apps Windows 8/8.1.
    Metro apps saves the file automatically  to the Document folder when we print.
    But I would like to save the files into a recommened folder like C:\users\tmp\
    Please suggest me, is there a way to save the files to a particular folder for metro apps in Windows 8/8.1.
    Thanks in Advance
    Regards
    Toshik12

    As far as I know (and I may be wrong), there's no built-in file saving when printing documents.  How are you confirming that?
    You can save the file anywhere you want, as long as the user chooses the folder location using the FolderPicker.
    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.
    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
    objects and unknown namespaces.

  • Using CLR Swatch File in Adobe Apps?

    Hello --
    I run into this issue occasionally when working with keynote especially. Is there a way to access or use the various color swatches between adobe & apple apps? I understand that .ase swatches work accross PS and AI, but how could either use those in Keynote, or vice versa use the .clr file in Adobe apps?
    any suggestions will be much appreciated.

    Hello Patrick,
    For Photoshop, go to Preferences > General > Color Picker and choose Apple.

  • System config files for Labview App

    In Win 7, I am building a Labview project.  Where should I store the user selected system specific configuration files for the app operation?  Things like data directories, log file directories, etc

    If you mean your own build application
    WHat I do in my projects is the following :
    - LabVIEWs ini file in the same folder as exe
    - Log files in directory logfiles next to exe
    - other data files like settings, configuration etc in a datafolder next to the exe
    If you mean with your source code
    - create folders for every type of VI : globals, controls(typedef), subVI, FGLB, ...
    - create a datafolder for your datafiles your using
    - create logfolder for your logfiles
    Kind regards,
    - Bjorn -
    Have fun using LabVIEW... and if you like my answer, please pay me back in Kudo's
    LabVIEW 5.1 - LabVIEW 2012

  • I have an iPad 2 and used old Apple ID for iBook app; now it wants to upgrade but I have a new Apple ID, how can I make certain I don't lose any data in my iBooks?

    I have an iPad 2 and used old Apple ID for iBook app; now it wants to upgrade iBook but it is "stuck" on my old ID, yet I already created a new ID but it won't let me update the App.  I have everything backed up on my MacBook so if I delete iBooks on my iPad and retrieve the App under my new ID and then sync with my MacBook, will I still have all of the books, etc.?

    Your purchases are tied to your Apple ID. If you bought all of the books with the old ID then AFAIK you will have to continue to use that ID in order to continue to sync those books to the iPad.
    You have to update the app with the old ID so I don't see how you could keep the books with the new ID. Maybe I am wrong about this, but someone else will chime in I'm sure and correct me if I am wrong.

  • Using Digital Personnel File for HCM Forms & Processes

    Hi,
    We would like to use Digital Personnel File for HCM Forms & Processes to save forms and attachments using record case management. For this to be done record case management needs to be customized. Can you provide the steps for record case management customization and integrating digital personnel files with HCM forms.
    Regards,
    Amit

    http://help.sap.com/erp2005_ehp_03/helpdata/en/43/1d63953fce3566e10000000a11466f/frameset.htm
    Refer here

  • "Your bootable USB drive could not be created" "Boot Camp only supports 64-bit Windows installation on this platform. Please use an ISO file for 64-bit Windows installation."

    I try to install windows7 system on my macbook air, which version is 10.8.5. When I open the bootcamp, it let me to choose a windows ISO image, which I've already downloaded from this website: http://www.w7forums.com/threads/official-windows-7-sp1-iso-image-downloads.12325 /, it also asked me to select a USB drive, which is kingston that has 8GB. Then when I clicked "continue", it said that "Your bootable USB drive could not be created" "Boot Camp only supports 64-bit Windows installation on this platform. Please use an ISO file for 64-bit Windows installation." But actually the ISO image I downloaded is 64-bit windows7. I don't know why this would happen. Could someone help me please!!

    Thanks for your feedbakc Kiranjj!
    I identified the reason to be that the W8 installation file didn't download completely from a Mac OS-device. I downloaded from another Win-device and the moved the installation file with a USB-stick and then everything worked diectly! But thanks anyway.

  • Collecting static files for django app

    Hi there,
    I'm trying desperately to run the command 'manage.py collectstatic' to generate static files for my django application as several items are missing in my project once deployed to azure.
    Where on earth do I type this?  I'm getting nothing but syntax errors.
    Somewhere out there...

    Hi Firkinfedup,
    Welcome to MSDN forum.
    Your issue is out of support range of VS General Question forum which mainly discusses
    the usage of Visual Studio IDE such as WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System
    and Visual Studio Editor.
    Because you issue is how to collect static files for django application with command, I suggest you to consult your issue at Django community:
    https://www.djangoproject.com/community/ for better support.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Can I use my iTunes password to buy apps with another person's iPad ?

    Can I use my iTunes password to buy apps with another person's iPad ?

    You can re-download apps (re-downloading) - but if you do you will then tie that device or computer to your iTunes account for 90 days (so it's best not to do so on somebody else's device) : http://support.apple.com/kb/HT4627

  • Mobileprovision files for each app?

    Do I need to creat new mobileprovision files for each app our company creates?

    Yes, you need to create mobileprovision files for each app. The mobileprovision files include information in the App ID that you set up in the Apple iOS Developer Portal. If your app includes push notifications, you also need push certificates (.p12) for each app. But you can use the same .p12 developer and distribution certificates for all your apps.
    Here's what my certificate folder structure looks like for my apps:
    dev.bringhurst.p12
    dist.bringhurst.p12
    <DPS Tips folder>
         dev_dpstips.mobileprovision
         dist_dpstips.mobileprovision
         push_dev_dpstips.p12
         push_prod_dpstips.p12
    <NW_Scenery folder>
         dev_nws.mobileprovision
         dist_nws.mobileprovision
         push_dev_nws.p12
         push_prod_nws.p12

  • My project need to be saved as a Video_TS/Audio_TS file for burning purposes with a company that does bulk burring. how do i go by this?

    my project needs to be saved as a Video_TS/Audio_TS file for burning purposes with a company that does bulk burring. how do i go by this?

    VIDEO_TS (and an empty audio_ts) folders are part of a standardised DVD structure.  So, what you need a DVD-authoring tool.  FCPX offers to create a very simple DVD, one movie, two designs (black or white), no menu, done.  Older Macs came pre-installed with iLife/iDVD  … export your project as a 'Master', drag into iDVD, select any design template ...   Apple axed 'disk creation' about 7 years ago ... the AppStore is crowded with other, convenient, consumer, template based  tools. Professional structured DVDs are only optional with obsolete DVDSP (part of FC-suite) or Adobe Encore .....

  • I am a final cut pro user and i recently started using adobe premiere pro. for anyone firmiliar with fcp, there are interesting ways of doing introductions on it and im wondering if anyone could tell me if premiere pro has preset introductions i can use

    i am a final cut pro user and i recently started using adobe premiere pro. for anyone firmiliar with fcp, there are interesting ways of doing introductions on it and im wondering if anyone could tell me if premiere pro has preset introductions i can use.

    Singenu wrote:
    I tought about looking in Monitor Activity to see what happens...
    Well, when I start working (should I say try to work with FCPX, activity monitor in the %processor column for FCPX jumps rapidly over 100% and reaches more than 200% ??? What the **** is that ?
    200% or more is not strange. Remember that your mac has 4 cores (you say it's 3 months old, so I assume it is a new model), so 200% amounts to using 2 of these 4 cores to the max.
    Regarding the question of creating a new admin user: while it sits in the same system, it may help if the problem is caused by some user-specific preferences or settings. Not likely in your case, since you seem to have reinstalled from scratch, but still it is worth a try. It takes 5 minutes and may help pinpoint the problem.

  • [svn:osmf:] 13591: Update project files for sample apps.

    Revision: 13591
    Revision: 13591
    Author:   [email protected]
    Date:     2010-01-18 15:14:30 -0800 (Mon, 18 Jan 2010)
    Log Message:
    Update project files for sample apps.
    Modified Paths:
        osmf/trunk/apps/samples/framework/CuePointSample/.actionScriptProperties
        osmf/trunk/apps/samples/framework/CuePointSample/.flexProperties
        osmf/trunk/apps/samples/framework/DynamicStreamingSample/.actionScriptProperties
        osmf/trunk/apps/samples/framework/ExamplePlayer/.actionScriptProperties
        osmf/trunk/apps/samples/framework/ExamplePlayer/.flexProperties
        osmf/trunk/apps/samples/framework/GGTrackingPlugin/.actionScriptProperties
        osmf/trunk/apps/samples/framework/GGTrackingSample/.actionScriptProperties
        osmf/trunk/apps/samples/framework/HTMLMediaContainerSample/.actionScriptProperties
        osmf/trunk/apps/samples/framework/HelloWorld/.actionScriptProperties
        osmf/trunk/apps/samples/framework/MediaContainerSample/.actionScriptProperties
        osmf/trunk/apps/samples/framework/MetadataSample/.actionScriptProperties
        osmf/trunk/apps/samples/framework/MetadataSample/.flexProperties
        osmf/trunk/apps/samples/framework/MetadataVideoPlugin/.actionScriptProperties
        osmf/trunk/apps/samples/framework/MetadataVideoSample/.actionScriptProperties
        osmf/trunk/apps/samples/framework/MetadataVideoSample/.project
        osmf/trunk/apps/samples/framework/NestedMediaContainersSample/.actionScriptProperties
        osmf/trunk/apps/samples/framework/PluginSample/.actionScriptProperties
        osmf/trunk/apps/samples/framework/ReferenceSample/.actionScriptProperties
        osmf/trunk/apps/samples/framework/SampleLoggers/.actionScriptProperties
        osmf/trunk/apps/samples/framework/SampleLoggers/.flexLibProperties
        osmf/trunk/apps/samples/framework/SamplePlugin/.actionScriptProperties
        osmf/trunk/apps/samples/framework/WebPlayer/.actionScriptProperties
        osmf/trunk/apps/samples/libs/VASTSample/.actionScriptProperties
        osmf/trunk/apps/samples/plugins/AkamaiPluginSample/.actionScriptProperties
        osmf/trunk/apps/samples/plugins/AkamaiPluginSample/.flexProperties
        osmf/trunk/apps/samples/plugins/AkamaiPluginSample/.project
        osmf/trunk/apps/samples/plugins/CaptioningSample/.actionScriptProperties
        osmf/trunk/apps/samples/plugins/CaptioningSample/.flexProperties
        osmf/trunk/apps/samples/plugins/CaptioningSample/.project
        osmf/trunk/apps/samples/plugins/MASTSample/.actionScriptProperties
        osmf/trunk/apps/samples/plugins/MASTSample/.project
        osmf/trunk/apps/samples/plugins/SMILSample/.actionScriptProperties
        osmf/trunk/apps/samples/plugins/SMILSample/.flexProperties
        osmf/trunk/apps/samples/plugins/SMILSample/.project

  • Using PXI Star line for Sample CLK with 6551.

    Using PXI Star line for Sample CLK with 6551.
    Im trying to clock 5 6551s in a PXI-1006 chassis and a5404 in slot 2.   I have configured the 6551s to use the start line as the sample clock but I still get the error
    Possible reason(s):
    Driver Status:  (Hex 0xBFFA49B5) DAQmx Error -200586 occurred:
    Hardware clocking error occurred.
    If you are using an external sample clock, make sure it is connected and within specifications.  If you are generating your sample clock internally, please contact National Instruments Technical Support.
    Device:  PXI2Slot17
    Status Code: -200586
    Any ideas why?
    Thanks,
    Brian

    Nevermind...problem solved.  I was exporting the wrong signal to the star line.
    Brian
    Message Edited by BrianPack on 11-28-2005 12:07 PM

  • [svn:osmf:] 13602: Update build-config files for sample apps.

    Revision: 13602
    Revision: 13602
    Author:   [email protected]
    Date:     2010-01-18 17:08:30 -0800 (Mon, 18 Jan 2010)
    Log Message:
    Update build-config files for sample apps.
    Modified Paths:
        osmf/trunk/apps/samples/framework/DynamicStreamingSample/DynamicStreamingSample-build-con fig.xml
        osmf/trunk/apps/samples/framework/ExamplePlayer/ExamplePlayer-build-config.xml
        osmf/trunk/apps/samples/framework/GGTrackingPlugin/GGTrackingPlugin-build-config.xml
        osmf/trunk/apps/samples/framework/GGTrackingSample/GGTrackingSample-build-config.xml
        osmf/trunk/apps/samples/framework/MetadataSample/MetadataSample-build-config.xml
        osmf/trunk/apps/samples/framework/PluginSample/PluginSample-build-config.xml
        osmf/trunk/apps/samples/framework/ReferenceSample/ReferenceSample-build-config.xml
        osmf/trunk/apps/samples/framework/SampleLoggers/SampleLoggers-build-config.xml
        osmf/trunk/apps/samples/framework/SamplePlugin/SamplePlugin-build-config.xml
    Added Paths:
        osmf/trunk/apps/samples/framework/MediaPlayerWrapper/MediaPlayerWrapper-build-config.xml
    Removed Paths:
        osmf/trunk/apps/samples/framework/MediaPlayerWrapper/MediaPlayer-build-config.xml

Maybe you are looking for