Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Couple of improvements #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

rafiki270
Copy link

User can also define their own service id and all NSLog's are in debug mode only (defined in the implementation file)

Good work! :) ... I am using the library on my https://github.com/rafiki270/iJenkins app project!

Ondrej Rafaj added 2 commits October 9, 2013 23:02
Signed-off-by: Ondrej Rafaj <[email protected]>
Signed-off-by: Ondrej Rafaj <[email protected]>
@@ -17,20 +17,24 @@ @implementation BonjourBuddy{

@synthesize myId, myIdKey, includeSelfInPeers, netServiceType, netServiceDomain, netServicePort, netServiceName;

- (void)setupInit {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would be better to remove this method and put it in - (id)initWithServiceId:(NSString *)serviceId instead.
From - (id)init you can then call - (id)initWithServiceId:(NSString *)serviceId with the default serviceId as parameter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants