Question about the property of the nested class.

"Nested classes may be declared static. In this case, the nested class has no reference to an enclosing instance"
Can any one demonstrate the above through an code example?? thanks

thanks jverd.
Then why dont you answer my other thread??You have several threads. I've said what I have tosay in all the ones that I know about, am interested
in, and have the time to answer. Last one I lookedat, you were in Monica's very capable hands, so I had
nothing to add.
Thanks!I may not be the sharpest knife in the drawer, but I know better than to piss of her what's gonna administer the dread Blueberry Pie Torture.

Similar Messages

  • Questions about Objects, pointers, and the memory that loves them

    Hey,
    This is all just a theoretical discussion so do understand that the code itself is not germane to the topic.
    I have been mulling over the whole object release/retain/copy thing and need to understand a bit more the real inner workings of the beast. The catalyst for this is the repetitional fervor that most books on the subject of Objective C have employed. Yet they all seem to fail in a complete explanation of the whys and wherefores so that one can determine on her own the correct implementation of this.
    Let's say I have an Object. For the fun of it it is an instance of NSObject and we'll call it myObject.
    When I "create" this object thusly:
    NSObject *myObject = [[NSObject alloc] init];
    What I, in fact get back is a pointer to the object in question, yes?
    So when I "seemingly" add this object to an array like:
    NSArray *myArray = [[NSArray alloc] initWithObject:myObject];
    What is actually placed in the array? is it another pointer to the original object created by myObject or is it a pointer to the pointer of myObject?
    The reason I ask this is because I have run into a situation where some previous instructions on the subject have caused errors. I was told that if I did something like this and then passed the array to a calling method that I could release this array and it would then be the responsibility of the calling method to handle the memory. Further more if I place an object into an array and then copy it into another object of the same type as the original then I could release the array and still have the reference to the first object in the second object. When I have done this I get unpredictable results, sometimes the original object is there and sometimes it isn't
    At what point should I release the array, after it is passed to the calling method (with the use of an autorelease) or when the class that it is encapsulated in is done?
    Sorry about the length of this but I can't believe that I would be the only one that would be helped by such a discussion.
    MM

    etresoft,
    Thanks for the detailed reply. I wish I could say that I wasn't still a bit confused by this. I thought I had this down after going through the lessons. It seems to not be working in practice the way that it works in theory.
    My current project is an example
    In a class I have declared a couple of ivars thusly:
    NSMutableString *source;
    NSMutableString *destination;
    @property (nonatomic, retain) NSMutableString *source;
    @property (nonatomic, retain) NSMutableString *destination;
    This is followed by the appropriate @synthesize directives.
    in the init method for my class I have the following:
    source = [[NSMutableString alloc] initWithString:@"customer"];
    destination = [[NSMutableString alloc] initWithString:@"home"];
    in a method triggered by a button click I have the following:
    if (sender == sourcePop){
    source = [sourcePop titleOfSelectedItem];
    }else{
    destination = [destinationPop titleOfSelectedItem];
    NSLog(@"SOURCE-%@", source);
    NSLog(@"DESTINATION-%@", destination);
    When I run the code and change the source selection the console reads the correct value for what is in the source popupbutton and "home" for the destination. If I then change the destination popupbutton I get a crash and nothing written to the console.
    Placing a breakpoint at the beginning of the "if" and running shows me that just before the crash the source ivar is reported as "out of scope." There are no release or autorelease statements for this ivar anywhere in the class. Yet if I change the line that sets the ivar to the value of the popupbutton to this:
    [source = [sourcePop titleOfSelectedItem] retain];
    The debugger will have the correct value for the ivar and when run normally there is no crash.
    I would assume that the problem is that the ivar is being released but I am not the one releasing it. Why does this behavior happen? Shouldn't the retain count still be 1 since the @property directive has it and there is no release in the code? Or is it that the statement that sets the ivar to the value of the popup really just setting it to the pointer and it is the popup that is somehow being released?
    Is there something else that I should be doing?
    MM

  • Question about Kurts comments discussing the seperation of AIA & CDP - Test Lab Guide: Deploying an AD CS Two-Tier PKI Hierarchy - Kurt L Hudson MSFT

    Question about the sentence in bold. What is the meaning behind this comment?
    How would you separate the role of the AIA and CDP from a CA subordinate server? I can see where I add a CES and CEP server which has those as well, but I don't completely understand his comment. Because in this second step, (http://technet.microsoft.com/en-us/library/tlg-key-based-renewal.aspx)
    he shows how to implement CES and CEP.
    This is from the guide located at: http://technet.microsoft.com/library/hh831348.aspx
    Step 3: Configure APP1 to distribute certificates and CRLs
    In the extensions of the root CA, it was stated that the CRL from the root CA would be available via http://www.contoso.com/pki. Currently, there is not a PKI virtual directory on APP1, so one must be created.
    In a production environment, you would typically separate the issuing CA role from the role of hosting the AIA and CDP.
    However, this lab combines both in order to reduce the number of resources needed to complete the lab.
    Thanks,
    James

    My concern is, they have a 2-3k base of xp systems, over this year they are migrating them to Windows 7. During this time they will also be upgrading hardware for the existing windows 7 machines. The turnover of certificates are going to be high, which
    from what I've read here, it worries me.
    http://blogs.technet.com/b/askds/archive/2009/06/24/implementing-an-ocsp-responder-part-i-introducing-ocsp.aspx
    The application then can go to those locations to download the CRL. There are, however, some potential issues with this scenario. CRLs over time can get rather large
    depending on the number of certificates issued and revoked. If CRLs grow to a large size, and many clients have to download CRLs, this can have a negative impact on network performance. More importantly, by
    default Windows clients will timeout after 15 seconds while trying to download a CRL. Additionally,
    CRLs have information about every currently valid certificate that has been revoked, which is an excessive amount of data given the fact that an application may only need the revocation status for a few certificates. So,
    aside from downloading the CRL, the application or the OS has to parse the CRL and find a match for the serial number of the certificate that has been revoked.
    With the above limitations, which mostly revolve around scalability, it is clear that there are some drawbacks to using CRLs. Hence, the introduction of Online Certificate
    Status Protocol (OCSP). OCSP reduces the overhead associated with CRLs. There are server/client components to OCSP: The OCSP responder, which is the server component, and the OCSP Client. The OCSP Responder accepts status
    requests from OCSP Clients. When the OCSP Responder receives the request from the client it then needs to determine the status of the certificate using the serial number presented by the client. First the OCSP Responder determines if it has any cached responses
    for the same request. If it does, it can then send that response to the client. If there is no cached response, the OCSP Responder then checks to see if it has the CRL issued by the CA cached locally on the OCSP. If it does, it can check the revocation status
    locally, and send a response to the client stating whether the certificate is valid or revoked. The response is signed by the OCSP Signing Certificate that is selected during installation. If the OCSP does not have the CRL cached locally, the OCSP Responder
    can retrieve the CRL from the CDP locations listed in the certificate. The OCSP Responder then can parse the CRL to determine the revocation status, and send the appropriate response to the client.

  • Question about limiting matches and the applicability of LimitFilter?

    We have a use-case were the GUI allows the users enter a string that we lookup against an index in the cache using a LikeFilter and by appending "%" to the string entered by the user (the index actually contains the first N characters converted to lowercase and the string entered by the user is converted to lower case and truncated to N positions before the lookup, we have additional logic to handle matching the truncated part of the search string etc but we can ignore this extra complexity for now).
    The problem is that if the user enter few (or in the worst case zero) characters the resulting search takes a very long time (since a large number of keys are collected and sent to the client) and the client is not interested (or able) to receive all the results at once.
    The LimitFilter seems useful for limiting the number of keys actually sent to the client but from what I read in other forum threads it seems like the nested filter is re-executed and the full result built on the server each time the client request a new page of say 100 keys. This sounds like it still would be time and memory consuming on the server if the underlying filter produce a HUGE number of results each time it is invoked!?
    Have I misunderstood the way the Limitfilter operates or is there some other solution you can recommend to the problem?
    Best Regards
    Magnus

    Thanks for the info!
    I do however have two specific cases in mind and would like to know more about what overhead calls to "nextPage" would result in:
    1. The LimitFilter wraps a AndFilter. The N first characters of a string atribute is indexed (ordered index) and LikeFilter is used with a "xxx%" substring as key together with a InFilter on a indexed integer attribute using a small (typically max 4 element) set of integers. The value range for the integer attribute is faily small (no more than like 10-15 values exists today) so this filter will not limit the search that much (even not sure an index makes much sense but that is how we do it today - how would the amount of re-calculations at nextPage be affected if I drop this index?).
    2. A single EqualsFilter on an indexed integer attribute (part of the composite key) using a KeyExtractor as argument.
    Ie if I for each of the cases wrap the filter in a Limitfilter (with a page size of N) how much calculations are performed the first time how much of the calculations would be repeated by Coherence each time i call nextPage?
    Best Regards
    Magnus

  • Question about Software Updates in the Netherlands

    Hello all,
    ! am new to the Netherlands and plan to buy the Lumia 1020. I have a question regarding FW updates over here:
    Which network delivers the fastest updates generally or does the un-locked (country specific) phone get it first?
    Also, if i choose to buy the phone on contract here, after the expiry of the contract, do i have to unlock the phone or will the provider do it for me? (Assuming that the phones are locked to the network in the first place, if not, please let me know!)
    PS: I come from India, where we don't have phones on contracts and also receive updates very quickly!

    hi mate,
    generally if you want to free yourself from the constraints of networks, your best bet is to purchase an unlocked, unbranded handset from in-store or online. bear in mind that if you buy a handset from origin of another country in the EU, the warranty will still apply, but buy a 1020 that has a product code from outside the EU, then the warranty won't apply. something to be careful about.
    as for operators delivering updates faster than others, this varies between updates, and really noone is able to predict this. as for the unlocking, that is between you and your network carrier, Nokia has nothing to do with this.

  • Question about filter-mappings in the web.xml

    I'm a bit new this so apologies if this is a stupid question but want to write a filter mapping that captures /image/<identifier here> and /image/<identifier here>/size/<size here>
    I would have assumed <url-pattern>/image/*</url-pattern> would do this but it doesn't. When I try a URL with /size/ in it, I get a File not found error.
    So I tried adding a second mapping that uses <url-pattern>/image/*/size/*</url-pattern> and that doesn't work either.
    What would be the best way to write a filter mapping that captures both /image/<identifier here> and /image/<identifier here>/size/<size here> ?

    Thanks for the reply.
    I did end up doing something like that in the end. I think I just couldn't get my mind into gear as usual on Monday.
    What's happening is taking a nice neat human readable URL and converting it to the horrible URL used by the system. The reason it's a filter is because someone had written a tiny filter would might only execute 20 lines of code and I think someone felt it was easier to just lump about 240 more lines to execute on each request, which, even if it isn't a huge strain on the system it's nasty and most of the code is unnecessary the vast majority of the time. I'm splitting it up the whole lot based on the various tasks.
    This particular functionality could be a servlet. I probably would have done it that if given the task from scratch but I think sometimes I put too much faith in the fact those with more experience should know better. I think I'll try it as a servlet and if someone has concerns about it then I'll ask them to explain to me why it can't be one.

  • Question about Setting Window Title/the use of AVWindowSetTitle()

    Hi everyone,
    I have a question about setting the title of the window in which the Acrobat viewer normally opens a PDF file.  The documentation states that AVWindowSetTitle() cannot be used in this case.  However, using it has worked with versions of Acrobat/Reader up until and including version 8.
    Everything breaks down starting with Acrobat 9.
    According to the documentation I am supposed to do the following: "To set the title of a window in which the Acrobat viewer opens a PDF file, you must replace AVDocOpenFromASFileWithParams() and pass the window title in tempTitle."
    Unfortunately, there are 2 problems I have with this approach:
         I do need to be able to change the document title on document Save, not only on document Open
         I do not know what AVDocOpenFromASFileWithParams() implementation has to look like if I have to replace it using HFTReplaceEntry().
    Is there a sample customized implementation of AVDocOpenFromASFileWithParams() somewhere that I could take a look at?
    Is there a way to change a document Title inside Acrobat/Reader window after a Save operation?
    Thanks a million,
      Lana2010K

         I am sorry.  I don't know how you tested this and came to conclusion that this works correctly in Acrobat X.
         I just tested our Acrobat plug-in with a trial version of Acrobat X and this did not work.
         When we open a file in Acrobat (doing it ourselves in the plug-in by adding another specialized open) we set the window title to something different from the default file name.  Then if a file gets edited and saved (File->Save), the window title gets reset to the file name. In the PDDocDidSave callback we call AVWindowSetTitle() to set it back to a more descriptive window title we need.  This has worked up until and including Acrobat 8, but does not work in either version 9.0 or 10.0.
         Also, I just modified the plug-in code to always change the Window Title of every document (even if opened through native File->Open) on document Save.  It does not work.
         Please help,
              Lana2010K

  • Question about 74GB Raptor and the ubiquitous "F6"

    Hey All,
        I just installed my raptor and Windows XP, then SP2, etc.  without any problems.  I didn't press F6 before the Windows install.  I'm rather disappointed with the speed of the Raptor given all the good reviews I've heard about its speed.  Everything works pretty well and Windows identifies the HD.  I've installed it on SATA3 in case I want to overclock.  Anyway, my question is:  Would reinstalling Windows but doing the whole "F6" SATA Driver install help to improve performance?
    Here's my speed test results from Device Manager:
    Theoretical Limit: 150
    Burst Speed: 113.4
    Sustained Speed: 71.3
    HD is listed as WDC WD740GD-00FLA2
    I have the nVidia nForce3 250 Parallel and Serial ATA Controller (v2.6) listed.  I have installed newest nForce Drivers.  Should I enable Command Queing?  Any BIOS options that would help?   Thanks!
    AMD Athlon 64 3500+  90nm Micron
    MSI K8N Neo2 Platinum
    WD Raptor 74GB
    ATI Radeon 9800 XT
    512 MB PC3200 Corsair at 2.5-3-3-6

    Anyone notice performance increase or decrease of their HD when using the nVidia IDE SW drivers?  particularly with a 74GB Raptor?  I've also heard of burner issues when installing the IDE SW but have not used my burner yet.

  • A question about thread safety and the Acrobat SDK

    Hi All,
    On page 12 of this FAQ: http://www.adobe.com/devnet/acrobat/pdfs/Acrobat_SDK_developer_faq.pdf
    It says that Use of any Acrobat product in a multithreaded way is technically impossible.
    I'm currently writing a command line application to perform some basic data gathering on a PDF file. The Application only makes use of a PDDoc object, and never calls on any other kind of object (i.e. AVDoc).
    The application itself is not multithreaded. All of the logic runs in a single thread.
    However, the application will be called (via the command line) from another application that /is/ multithreaded. I think that this might be fine, but I wasn't sure. In this case, would this count as a single thread, but spread across multiple processes? And if that is the case, would that be OK with the SDK?
    Or would having multiple invocations/calls into the Acrobat DLLs cause the same issue as a multi-threaded application?
    Unfortunately, I haven't done a lot of work with threads before. This might be a very silly question.

    The application would be called from a perl script that is used to automate several tasks. The app is a console application, written in C# w/ the Acrobat COM components, and Visual Studio 2005.
    The console application uses the Acrobat SDK to instantiate a PDDoc object, open a PDF, and get information about the document. It then returns results back to the console.
    So, the perl script just calls: "C:\pdfinfo.exe -f=myPdf.pdf" and pipes the result to a log file.
    In this case, it never creates a new instance of the Acrobat application, but it does use the SDK.
    The reason that I was concerned was that the perl script is multi-threaded. I wasn't sure if acrobat was just sensitive to multiple threads inside a single process, or if it was unable to handle multiple processes as well.
    PDL's answer suggests that I should be fine as long as a new process is started each time. This is good to hear.

  • Quick Question about Cisco 3560 and the Web Device Manager

    Alright, I have a quick question that I am curious about but I haven't found any information
    about it.
    When I log into my Cisco 3560 using the web portal to get to the Device Manager. Below the
    diagram of the switch, then under the Dashboard there is section called Switch
    Health, Port Utilization.
    Under the Switch Health there is Bandwidth Used, Packet Error. Those two options just sit
    at zero and do not move. The Port tilization graph is also sitting at zero.
    Is there a way to make them functional?

    Anyone notice performance increase or decrease of their HD when using the nVidia IDE SW drivers?  particularly with a 74GB Raptor?  I've also heard of burner issues when installing the IDE SW but have not used my burner yet.

  • Question about Removing Permissions from the System Folder with chmod

    Hi
    I have a question about the removal of permissions from the System folder (and sub directories and files).
    Background
    Since installing a new HD, clean install of 10.6, application of updates and moving over backed up user directories I have had several issues with permissions.
    I have read several threads on this and using disk warrior and other tools I have been able to fix most of the issues.
    The Problem
    The issue that remains is a permissions check using Disk Utility keeps reporting
    ACL found but not expected on "System".
    followed by an extensive list of sub directories and all.
    Attempts to repair take hours and the same errors are reported.
    Found Solutions
    I have read about changing and/or completely removing the ACL from the permissions from the System using two different commands:
    sudo chmod -R -N ./System/* ( to remove all ACLs)
    or
    sudo chmod -R -E ./System/* ( to replace all ACLs )
    My Question is ( to the UNIX gurus):
    What is the difference between the usage with -E and -R and which is the best approach for a Systems directory and (subordinates)?
    Many thanks!!

    OK
    So I misread on the your instructions about the PW reset, did it, no harm in that. I did also select the options to reset all the permissions for all the accounts and the ACL issues were not resolved. My bad, I forgot to note that.
    You do suggest getting and expert opinion but alas these are rather elusive. In most cases the Apple solutions is to do a complete reinstall... I have found that unless you completely wipe a drive and rebuild everything there are often artifacts left behind. Since I have full and redundant back-ups I would rather explore and hack a little instead of a dull old system reinstall. The irony is the system issue I had was it was the result a reinstall and combo update on a new drive. I recognize the risks of entering the realms of the System folders but I am willing to explore knowing full well that I have a path to recovery.
    Thanks again for your insights. I come to the forums looking for insights and ideas but not a lecture...

  • Question about  Load Average in the AWR report

    Hi,
    I've some database in 11.2 RAC on AIX.
    I was analyzing the root causes of eviction.
    Looking AWR Report before the reboot I see:
    DB1
    Host CPU (CPUs:    6 Cores:    3 Sockets: )
    ~~~~~~~~         Load Average
                   Begin       End     %User   %System      %WIO     %Idle
                    4.18     12.33     60.9      12.6       1.6      26.5
    Instance CPU
    ~~~~~~~~~~~~
                  % of total CPU for Instance:      27.4
                  % of busy  CPU for Instance:      37.3
    %DB time waiting for CPU - Resource Mgr:      10.6
    DB2
    Host CPU (CPUs:    6 Cores:    3 Sockets: )
    ~~~~~~~~         Load Average
                   Begin       End     %User   %System      %WIO     %Idle
                    3.77    13.93     60.7      12.5       1.6      26.7
    Instance CPU
    ~~~~~~~~~~~~
                  % of total CPU for Instance:       6.9
                  % of busy  CPU for Instance:       9.5
      %DB time waiting for CPU - Resource Mgr:       0.0
    Do you think these value ar high?
    This is vmstats at the time of reboot:
    DATA
    RUN
    BCK
    AVM
    FRE
    PRE
    PPI
    PPO
    PFR
    PSR
    PCY
    FIN
    FSY
    FCS
    CUS
    CSY
    CID
    CWA
    07/21/2013
      00:08:17
    31
    0
    7.400.345
    579.923
    0
    81
    0
    0
    0
    0
    3.292
    187.010
    19.560
    84
    16
    0
    0
    07/21/2013
      00:08:17
    17
    1
    7.390.187
    589.884
    0
    176
    0
    0
    0
    0
    3.681
    169.994
    21.482
    81
    19
    0
    0
    07/21/2013
      00:08:17
    27
    1
    7.402.121
    577.816
    0
    115
    0
    0
    0
    0
    3.150
    157.210
    18.503
    84
    16
    0
    0
    07/21/2013
      00:08:48
    19
    1
    7.422.966
    564.179
    0
    211
    0
    0
    0
    0
    2.396
    152.667
    19.368
    84
    16
    0
    0
    07/21/2013
      00:08:48
    19
    1
    7.427.693
    559.268
    0
    162
    0
    0
    0
    0
    2.990
    154.733
    19.843
    85
    15
    0
    0
    07/21/2013
      00:08:48
    23
    1
    7.441.204
    545.530
    0
    204
    0
    0
    0
    0
    2.137
    171.501
    18.151
    84
    16
    0
    0
    This is mpstat:
    DATA
    CPU
    MIN
    MAJ
    MPC
    INT
    CS
    ICS
    RQ
    MIG
    LPA
    SYSC
    US
    SY
    WT
    ID
    PC
    07/21/2013
      00:08:48
    0
    12896
    44
    0
    1279
    3030
    1362
    2
    367
    100
    27313
    86
    14
    0
    0
    0.49
    07/21/2013
      00:08:48
    1
    11055
    93
    0
    1123
    3137
    1315
    1
    222
    100
    31860
    85
    15
    0
    0
    0.51
    07/21/2013
      00:08:48
    2
    5938
    51
    0
    1465
    3840
    1294
    2
    532
    100
    29992
    85
    15
    0
    0
    0.49
    07/21/2013
      00:08:48
    3
    6266
    57
    0
    1247
    3177
    1046
    2
    511
    100
    22793
    85
    15
    0
    0
    0.51
    07/21/2013
      00:08:48
    4
    2661
    18
    0
    1729
    4087
    1707
    4
    264
    100
    24647
    85
    15
    0
    0
    0.49
    07/21/2013
      00:08:48
    5
    4211
    10
    0
    1395
    2709
    1101
    2
    209
    100
    21019
    86
    14
    0
    0
    0.51
    07/21/2013
      00:08:49
    0
    9372
    27
    0
    1150
    2583
    1219
    0
    245
    100
    47745
    82
    18
    0
    0
    0.47
    07/21/2013
      00:08:49
    1
    11327
    13
    0
    726
    1803
    794
    1
    130
    100
    25239
    87
    13
    0
    0
    0.52
    07/21/2013
      00:08:49
    2
    8970
    118
    0
    1459
    4396
    1517
    0
    602
    100
    24833
    81
    19
    0
    0
    0.49
    07/21/2013
      00:08:49
    3
    7328
    267
    0
    1329
    4136
    1273
    2
    586
    100
    25385
    81
    19
    0
    0
    0.51
    07/21/2013
      00:08:49
    4
    8793
    19
    0
    1133
    2583
    1036
    1
    235
    100
    24327
    86
    14
    0
    0
    0.50
    07/21/2013
      00:08:49
    5
    8239
    12
    0
    1309
    2846
    1165
    1
    277
    100
    18513
    86
    14
    0
    0
    0.50
    Thank you

    Thank you Jonathan,
    i'm looking ASH, 15 minutes before the crash.
    I've 13% of buffer busy waits and 13% of cpu quantum
                                                                   Avg Active
    Event                               Event Class        % Event   Sessions
    CPU + Wait for CPU                  CPU                  59.09       0.15
    buffer busy waits                   Concurrency          13.64       0.04
    resmgr:cpu quantum                  Scheduler            13.64       0.04
    The buffer busy waits was caused by an update of a table.
    There are ETL jobs that runs every nigth.
    Looking IO stats I notice a change in the use of the swap:
    before the crash:
    hdisk66        xfer:  %tm_act      bps      tps      bread      bwrtn   
                             1.0      8.2K     2.0        8.2K       0.0
                   read:      rps  avgserv  minserv  maxserv   timeouts      fails
                             2.0      6.7      3.8      9.6           0          0
                  write:      wps  avgserv  minserv  maxserv   timeouts      fails
                             0.0      0.0      0.0      0.0           0          0
                  queue:  avgtime  mintime  maxtime  avgwqsz    avgsqsz     sqfull
                             0.0      0.0      0.0      0.0        0.0         0.0
    near the crash:
    hdisk66        xfer:  %tm_act      bps      tps      bread      bwrtn   
                            71.0    241.7K    59.0      241.7K       0.0
                   read:      rps  avgserv  minserv  maxserv   timeouts      fails
                            59.0     12.1      0.2    183.5           0          0
                  write:      wps  avgserv  minserv  maxserv   timeouts      fails
                             0.0      0.0      0.0      0.0           0          0
                  queue:  avgtime  mintime  maxtime  avgwqsz    avgsqsz     sqfull
                             0.0      0.0      0.0      0.0        0.0         0.0

  • A question about backend of creating the app with Xcode

    Hi,
    I'm a new iphone developer who just started to learn how to create iphone apps.
    I just started to learn about view-based applications.
    When I select view-based applications, XCode will automatically generate some files for me.
    For example, if a create a new project called "A", XCode will generate files like "AViewController.m", "AAppDelegate.m", and "main.m".
    but I don't see anywhere in those files where it's actually creating the instance of "AViewController" or "AAppDelegate".
    So at where and at which file are the instances of "AViewController" and "AAppDelegate" created?
    Also where is the instance of the main application created?(not A.app if you know what I mean)

    I hope I can add to the correct answer posted by J D McIninch since the solution to this thread might provide a good example of how xib objects work--i.e. what I tried to explain in your [previous thread|http://discussions.apple.com/message.jspa?messageID=11479911#11479911].
    Daviiidddd wrote:
    So at where and at which file are the instances of "AViewController" and "AAppDelegate" created?
    Open MainWindow.xib and make sure the xib window is visible by selecting Document from the Windows menu. You should see a solid orange cube labeled "A App Delegate", and a circular icon labeled "A View Controller". These icons represent IB objects. The objects are described by xml elements in the xib file, and that xml will direct the system to create the real objects in memory when the xib is loaded. While it's not technically correct to say the real objects are "created by IB", we can say that the specification for the real objects is built in IB. In other words, the xib file which results from an IB editing session contains a tree of specifications which will be used to create real objects at runtime.
    Btw, to graphically see the tree of xib objects (the "view hierarchy", find the +View Mode+ switch in the upper-left corner of the xib window. Select the Center position of that switch so the window displays a two column table with a tree of small icons to the left. This is the xib view I recommend for all your work.
    Also where is the instance of the main application created?(not A.app if you know what I mean)
    The Application object is created by the [UIApplicationMain()|http://developer.apple.com/iPhone/library/documentation/UI Kit/Reference/UIKitFunctionReference/Reference/reference.html#//apple_ref/doc/ui d/TP40006894-CH3-SW7] function called by main() in main.m. The MainWindow.xib is then loaded, and the Application object is given ownership of that xib. This means that the File's Owner proxy object represents the real Application object, so all connections to File's Owner become connections to the real Application object.
    Note that the File's Owner cube is transparent. This is IB's way of denoting a proxy object. The First Responder is actually a proxy of a different kind, but let's not go there now.
    \- Ray

  • Question about centering webpage in the browser

    Hi,
    My page is left justified right now.
    I have everything located inside of a div called container. I have a CSS rule as well. What do I need to add to the CSS rule to make the page center in the browser? Thanks.
    <div class="container">stuff</div>
    .container {
    background-image: url(images/HOME-PAGE-BOAT.jpg);
    background-repeat: no-repeat;
    background-position: center top;
    height: 900px;
    width: 1260px;

    For reference, margin:0 auto; is shorthand for
         margin-top:0;
         margin-right:auto;
         margin-bottom:0;
         margin-left:auto;
    Not quite sure why it pushed it to the right.
    EDIT:// Re:Background image. I would put the image on the <body> or <html> tag which won't have this problem. This link might offer some guidance for a possible solution.

  • Question about Correcting Errors in the Converted Model

    Hi,
    I've used SQL Developer (v1.5.1) to capture (offline) the DDL from a Sybase 12 DB and have converted this to Oracle, which all seemed to run ok. However, I noticed some errors in the Migration Log. None of them have the prefix 'Parse Exception' so, according to the online help, no manual intervention is required to resolve them.
    I don't even know if the contents of the migration log are a problem, generally they can be grouped under one of the three headings below.
    "*Multiple Limitations for Stored Procedure* extUpdateExtSuccess 03-SEP-08-16:09:41"
    "*Translation limitation* '@@ERROR' encountered on Stored Procedure CorporateActions.dbo.extBMDeleteBatchSchedule line 14 column 4 03-SEP-08-14:53:23"
    "*Index* 'XPKSpinOffExt' on table 'SpinOffExt' *has been dropped as it is a duplicate of a constraint* 03-SEP-08-14:39:26"
    Are these errors something I need to do something about before I try generating the DDL? Are they related to Sybase (which I know very little about).
    Online help is not very helpful on this subject.
    Thanks,
    Antony

    Hi, Hareesh
    I agree. But that is how it is defined now by someone else. It is hard to change it as he defines the same structure on the receiving side. I didn't want to change the receiving structure as it touches the proxy code too. So I want to make something short and sweet.
    Basically the data looks like this:
    11,222
    55,666
    The result xml should be something like:
    <JOB>
      <Msg>
         <Transaction>
            <DATA>
               11
               222
            </DATA>
         </Transaction>
         <Transaction>
            <DATA>
              55
              666
            </DATA>
          </Transaction>
      </MSG>
    </JOB>
    I know either the DATA has no meaning and it's giving me a headache ... but that's how it's done and I don't want to rock the boat too much. There are lots of mapping that I have changed otherwise.
    Thanks,
    Jonathan.

Maybe you are looking for

  • 3G drops to one bar accessing internet

    Hi all,      I posted this in another forum but thought I would post here to see if someone from Verizon might be monitoring and could help us.  We got our Fascinate in December and we have always seemed to have a buggy 3G connection.  A few things g

  • Solaris 10 X86 kernel patch 118844-30 ... probably bad

    I installed the patch on some Dells. Seemed to run fine. Actually, I installed 121127-01, 113000-07, and 118344-06 first since they were required by 118844-30. Some problems have now turned up. 1. When you power cycle one of the patched machines they

  • Anyone else seeing things like this in their logs?

    Anyone seen anything like this?  Should I be worried?  Been having some stability issues, recently brought to Apple store to get hard drive replaced.  Is a new iMac less than 3 months old. 11/11/11 6:14:28.000 PM kernel: tCaad h bBoitadotrch hitrBooa

  • File Format in MDM.

    Would like to know what format the MDM file is sent in when syndicating a Flat File. Some data stored in MDM does have special characters, so wanted to know if the format is UTF8. If not in what way can this be set, is this option available in MDM an

  • Budget check in PR/PO for Raw Materials

    Hello We have requirement that there should be a Budget check even for Raw Materials before PR /PO is created. We have observed that Budget check is done if Account Assignment Category "F" is used.But for procuring Raw Materials is there any way we c