Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7065351
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T04:56:44+00:00 2026-05-28T04:56:44+00:00

Recently I downloaded the open source project zbar , the project itself it not

  • 0

Recently I downloaded the open source project zbar, the project itself it not really relevant to my question, what I still can’t figure out is how in his viewcontroller he is able to do this:

//
//  EmbedReaderViewController.h
//  EmbedReader
//
//  Created by spadix on 5/2/11.
//

#import <UIKit/UIKit.h>

@interface EmbedReaderViewController
    : UIViewController
    < ZBarReaderViewDelegate >
{
    ZBarReaderView *readerView;
    UITextView *resultText;
    ZBarCameraSimulator *cameraSim;
}

@property (nonatomic, retain) IBOutlet ZBarReaderView *readerView;
@property (nonatomic, retain) IBOutlet UITextView *resultText;

@end

That is it, that is the whole file, how can he see the delegate and the ZBarReaderView and ZBarCameraSimulator, without importing anything???.

My implementation is working, but I of course have to import the files, and as I was looking at the example, it really caught my attention that he was not importing anything… how is that possible??

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T04:56:45+00:00Added an answer on May 28, 2026 at 4:56 am

    Projects usually have a pch file (pre-compiled/prefix header) in them; this file is automatically included in every other code file of the project. If the pch file contains an #import to the protocol file, then every file in the project will be aware of it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

recently I downloaded this open source project and I am trying to compile it.
I recently downloaded ndepend and ran an analysis on an open source project I
Recently downloaded some code for a minor open-source project related to a small webgame
I recently downloaded the Open Flash Chart source code and I have intergrated it
I recently downloaded Mono 2 for my new MacBook. I'm trying to figure out
I have an open source project hosted on Google Code and I recently added
I just recently downloaded sIFR and cannot get the fla source file to open
My boss was in the past not really interested in Open-Source. He always was
I recently downloaded PLT Scheme and DrScheme. When I open DrScheme, I am told
I recently downloaded the source tarball for a GTK application that I'd like to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.